Content deleted Content added
No edit summary |
"Put period at the end of formula if formula is at the end of sentence. This is semi-automatic update. Software suggests changes, and user decides." |
||
Line 3:
For [[discrete random variable]]s, the [[conditional probability]] mass function can be written as ''P''(''Y'' = ''y'' | ''X'' = ''x''). From the definition of [[conditional probability]], this is
:<math>P(Y=y|X=x) = \frac{P(X=x,Y=y)}{P(X=x)}= \frac{P(X=x|Y=y) P(Y=y)}{P(X=x)}.</math>
Similarly for [[continuous random variable]]s, the conditional [[probability density function]] can be written as ''p''<sub>''Y''|''X''</sub>(''y'' | ''x'') and this is
|