Definition:
Inference by enumeration:
- We have a joint distribution of a joint distribution and wish to find P(Q∣e1,e2,...)
- Evidence variables are variables in that help to query
- Query variables are variables we wish to learn out
- Hiddent variables are variables that are not in question
- O(dn) time complexity to find probability
Discrete case:
- pX∣Y(x∣y)=P(X=x∣Y=y)=P(Y=y)P(X=x,Y=y)=pY(y)p(x,y)
- for all y such that pY(y)>0
- FX∣Y(x∣y)=P(X≤x∣Y≤y)=a≤x∑pX∣Y(a∣y)
Continuous case:
- fX∣Y(x∣y)=P(X=x∣Y=y)=P(Y=y)P(X=x,Y=y)=fY(y)f(x,y)
- for all y such that fY(y)>0
- If X and Y are jointly continuous then the Joint cumulative distribution function:
- P(X∈A∣Y=y)=∫AfX∣Y(x∣y)dx
- FX∣Y(a∣y)=P(X≤a∣Y=y)=∫−∞afX∣Y(x∣y)dx
- contains y after integration, otherwise independent