The comparison is deeply flawed. Psychoanalysis is
not good at explaining what has already happened. It only seems good if you don't know that those "explanations" have no actual basis in reality. Psychoanalysis is mostly based on completely made up "facts", not just on badly interpreted facts. This is a big difference if we're talking about philosophy of science (which we are if we're discussing Popper's views on what is science). By the way, Marxism
can make testable statements about the world ("prediction" is a too strong requirement for this domain of reality, it's too complex; fluid mechanics can't make any predictions about turbulent flows, but that doesn't mean it's not science).
This is why my stomach turns when Popper is mentioned. The idea of falsifiability and testable statements being the essence of science is the best known guiding principle in scientific methodology. Having articulated this wonderful idea, he just couldn't help but muddy the water and misuse it to peddle his political and social views.
EDIT: I forgot to give an example of a falsifiable prediction in Marxism: the outcome of the "dictatorship of the proletariat" and the transitional socialist state leading to communism. It was actually falsified successfully by Soviet Union et al.