How to generate conditional probability from a algebric equation ?

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
7 replies · 3K views
viperkill
Messages
4
Reaction score
0
How can I find the conditional probability density function of a dependent variable given the independent variable set. Say, Y is some deterministic function of a set of variables X , or Y=f(X)+e.

How can I fine the conditional pdf or P(Y|X) ?
 
on Phys.org
If [tex]\mathbf{X}[/tex] a set of constants? Then, assuming [tex]e[/tex] has distribution function [tex]G[/tex],

[tex] H(y) \equiv \Pr(Y \le y) = \Pr(e \le y - f(\mathbf{X})) = G(y-f(\mathbf{X})[/tex]

If [tex]G[/tex] has a density then

[tex] h(y) = g(y-f(\mathbf{X}))[/tex]

If [tex]\mathbf{X}[/tex] is random with joint distribution function [tex]W[/tex], as long as they are independent of [tex]e[/tex], you can argue this way. If the [tex]\mathbf{X}[/tex]
are given (fixed), then you are in the case discussed above, and

[tex] H(y \mid \mathbf{X}) = G(y - \mathbf{X}), \quad h(y-\mathbf{X}) = h(y- \mathbf{X})[/tex]
 
Thank you for your reply. Can you exemplify your explanation.

Suppose, y=0.25x1+5.32x2+0.356x3+e.
where e is normally distributed or poisson distributed.
What will be the pdf of Y|X ?

if X has some probability distribution, then what will be the solution?
 
if X were ordinary variables then what will be the solutions and what if X are random variable ?
 
If Xi are ordinary variables, like y=0.25x1+5.32x2+0.356x3+e. then what will be the solution ??

if Xi are mutually independent and identically distributed (iid) random variables. Then what will be the P(Y|X) for both cases ?
 
Let's say that e is independent of the [tex]X_i[/tex] and has density [tex]f(e)[/tex]. I'll interpret [tex]P(y|x)[/tex] to mean the density of [tex]y[/tex]. For given numerical values of the [tex]X_i[/tex], the density of [tex]y[/tex] is [tex]f( y - (0.25 x_1 + 5.32 x_2 + 0.356 x_3) )[/tex].

A density [tex]f(e)[/tex] is sometimes given by formula that only applies on some subset of the real numbers (e.g. the poission). It is understood that on numbers outside of this subset, the density is defined to be zero So if you are writing a computer program, you should test whether the value y - (0.25 x_1 + 5.32 x_2 + 0.356 x_3) is in the subset where the formula applies.