I have a situation in which I want to calculate, for a given $y$ (which I measure experimentally), the probability distribution of $x$ i.e. $p(x|y)$ (actually what I need is the value of x for which this is maximized). Using Bayes theorem I have $p(x|y) = \frac{p(y|x)p(x)}{p(y)}$. I know both...