Graphical relationship between joint probability density, marginal probability density, and conditional probability density

Graphical relationship between joint probability density, marginal probability density, and conditional probability density

Note source: L10.3 Comments on Conditional PDFs
The relationship between joint probability density and conditional probability density

Personal understanding:A conditional probability density function image is a scaled "slice" of the joint probability density function image(under the condition that y takes a certain value)
personal understanding:All CPDF images are all scaled "slices" of the JPDF image(under the condition that y takes all values)
conditional probability density = joint probability density marginal probability density\text{conditional probability density}=\frac{\text{joint probability density}}{\text{marginal probability density}}conditional probability density=marginal probability densityJoint Probability Density
f X ∣ Y ( x ∣ y ) = f X , Y ( x , y ) f Y ( y ) f_{X|Y}(x|y)=\frac{f_{X,Y}(x,y)}{f_Y(y)} fXY(xy)=fY(y)fX,Y(x,y)
The probability density function image cut out by slices does not meet the normative requirements of the probability density function (the area under the function is 1), so it needs to be scaled, and the purpose of dividing by the marginal probability is to normalize to achieve the probability density function Require

The relationship between joint probability density and marginal probability density
Personal understanding: Actuallymarginal probability density function imageActually it is"profile" of the joint probability density function image


About XXmarginal probability of X

f X ( x ) = ∫ − ∞ + ∞ f ( x , y ) d y f_X(x)=\int_{-\infty}^{+\infty}f(x,y)dy\\ fX(x)=+f(x,y ) d y
About YYMarginal probability of Y

f Y ( y ) = ∫ − ∞ + ∞ f ( x , y ) d x f_Y(y)=\int_{-\infty}^{+\infty}f(x,y)dx fY(y)=+f(x,y ) d x
As an example (because of the software itself, the function image is not fully displayed)

Now findf X ( x ) f_X(x)fX(x)
f X ( x ) = ∫ − ∞ + ∞ f ( x , y ) d y f_X(x)=\int_{-\infty}^{+\infty}f(x,y)dy\\ fX(x)=+f(x,y ) d y
Take all y in [0,1]


We can verify that when y = 1 y=1y=1时, f ( x , y ) f(x,y) f(x,y ) Whether the integral value of the lower section is the result indicated by the slash 2

∫ 0 1 f ( x , 1 ) d x = ∫ 0 1 4 x d x = 2 \int_0^1f(x,1)dx=\int_0^14xdx=2 01f(x,1)dx=014xdx=2

Guess you like

Origin blog.csdn.net/weixin_48524215/article/details/127279671