fbpx
Wikipedia

Conditional probability distribution

In probability theory and statistics, given two jointly distributed random variables and , the conditional probability distribution of given is the probability distribution of when is known to be a particular value; in some cases the conditional probabilities may be expressed as functions containing the unspecified value of as a parameter. When both and are categorical variables, a conditional probability table is typically used to represent the conditional probability. The conditional distribution contrasts with the marginal distribution of a random variable, which is its distribution without reference to the value of the other variable.

If the conditional distribution of given is a continuous distribution, then its probability density function is known as the conditional density function.[1] The properties of a conditional distribution, such as the moments, are often referred to by corresponding names such as the conditional mean and conditional variance.

More generally, one can refer to the conditional distribution of a subset of a set of more than two variables; this conditional distribution is contingent on the values of all the remaining variables, and if more than one variable is included in the subset then this conditional distribution is the conditional joint distribution of the included variables.

Conditional discrete distributions

For discrete random variables, the conditional probability mass function of   given   can be written according to its definition as:

 

Due to the occurrence of   in the denominator, this is defined only for non-zero (hence strictly positive)  

The relation with the probability distribution of   given   is:

 

Example

Consider the roll of a fair die and let   if the number is even (i.e., 2, 4, or 6) and   otherwise. Furthermore, let   if the number is prime (i.e., 2, 3, or 5) and   otherwise.

D 1 2 3 4 5 6
X 0 1 0 1 0 1
Y 0 1 1 0 1 0

Then the unconditional probability that   is 3/6 = 1/2 (since there are six possible rolls of the dice, of which three are even), whereas the probability that   conditional on   is 1/3 (since there are three possible prime number rolls—2, 3, and 5—of which one is even).

Conditional continuous distributions

Similarly for continuous random variables, the conditional probability density function of   given the occurrence of the value   of   can be written as[2]: p. 99 

 

where   gives the joint density of   and  , while   gives the marginal density for  . Also in this case it is necessary that  .

The relation with the probability distribution of   given   is given by:

 

The concept of the conditional distribution of a continuous random variable is not as intuitive as it might seem: Borel's paradox shows that conditional probability density functions need not be invariant under coordinate transformations.

Example

 
Bivariate normal joint density

The graph shows a bivariate normal joint density for random variables   and  . To see the distribution of   conditional on  , one can first visualize the line   in the   plane, and then visualize the plane containing that line and perpendicular to the   plane. The intersection of that plane with the joint normal density, once rescaled to give unit area under the intersection, is the relevant conditional density of  .

 

Relation to independence

Random variables  ,   are independent if and only if the conditional distribution of   given   is, for all possible realizations of  , equal to the unconditional distribution of  . For discrete random variables this means   for all possible   and   with  . For continuous random variables   and  , having a joint density function, it means   for all possible   and   with  .

Properties

Seen as a function of   for given  ,   is a probability mass function and so the sum over all   (or integral if it is a conditional probability density) is 1. Seen as a function of   for given  , it is a likelihood function, so that the sum over all   need not be 1.

Additionally, a marginal of a joint distribution can be expressed as the expectation of the corresponding conditional distribution. For instance,  .

Measure-theoretic formulation

Let   be a probability space,   a  -field in  . Given  , the Radon-Nikodym theorem implies that there is[3] a  -measurable random variable  , called the conditional probability, such that

 
for every  , and such a random variable is uniquely defined up to sets of probability zero. A conditional probability is called regular if   is a probability measure on   for all   a.e.

Special cases:

  • For the trivial sigma algebra  , the conditional probability is the constant function  
  • If  , then  , the indicator function (defined below).

Let   be a  -valued random variable. For each  , define

 
For any  , the function   is called the conditional probability distribution of   given  . If it is a probability measure on  , then it is called regular.

For a real-valued random variable (with respect to the Borel  -field   on  ), every conditional probability distribution is regular.[4] In this case,  almost surely.

Relation to conditional expectation

For any event  , define the indicator function:

 

which is a random variable. Note that the expectation of this random variable is equal to the probability of A itself:

 

Given a  -field  , the conditional probability   is a version of the conditional expectation of the indicator function for  :

 

An expectation of a random variable with respect to a regular conditional probability is equal to its conditional expectation.

See also

References

Citations

  1. ^ Ross, Sheldon M. (1993). Introduction to Probability Models (Fifth ed.). San Diego: Academic Press. pp. 88–91. ISBN 0-12-598455-3.
  2. ^ Park,Kun Il (2018). Fundamentals of Probability and Stochastic Processes with Applications to Communications. Springer. ISBN 978-3-319-68074-3.
  3. ^ Billingsley (1995), p. 430
  4. ^ Billingsley (1995), p. 439

Sources

conditional, probability, distribution, this, article, needs, additional, citations, verification, please, help, improve, this, article, adding, citations, reliable, sources, unsourced, material, challenged, removed, find, sources, news, newspapers, books, sch. This article needs additional citations for verification Please help improve this article by adding citations to reliable sources Unsourced material may be challenged and removed Find sources Conditional probability distribution news newspapers books scholar JSTOR April 2013 Learn how and when to remove this template message In probability theory and statistics given two jointly distributed random variables X displaystyle X and Y displaystyle Y the conditional probability distribution of Y displaystyle Y given X displaystyle X is the probability distribution of Y displaystyle Y when X displaystyle X is known to be a particular value in some cases the conditional probabilities may be expressed as functions containing the unspecified value x displaystyle x of X displaystyle X as a parameter When both X displaystyle X and Y displaystyle Y are categorical variables a conditional probability table is typically used to represent the conditional probability The conditional distribution contrasts with the marginal distribution of a random variable which is its distribution without reference to the value of the other variable If the conditional distribution of Y displaystyle Y given X displaystyle X is a continuous distribution then its probability density function is known as the conditional density function 1 The properties of a conditional distribution such as the moments are often referred to by corresponding names such as the conditional mean and conditional variance More generally one can refer to the conditional distribution of a subset of a set of more than two variables this conditional distribution is contingent on the values of all the remaining variables and if more than one variable is included in the subset then this conditional distribution is the conditional joint distribution of the included variables Contents 1 Conditional discrete distributions 1 1 Example 2 Conditional continuous distributions 2 1 Example 3 Relation to independence 4 Properties 5 Measure theoretic formulation 5 1 Relation to conditional expectation 6 See also 7 References 7 1 Citations 7 2 SourcesConditional discrete distributions EditFor discrete random variables the conditional probability mass function of Y displaystyle Y given X x displaystyle X x can be written according to its definition as p Y X y x P Y y X x P X x Y y P X x displaystyle p Y X y mid x triangleq P Y y mid X x frac P X x cap Y y P X x qquad Due to the occurrence of P X x displaystyle P X x in the denominator this is defined only for non zero hence strictly positive P X x displaystyle P X x The relation with the probability distribution of X displaystyle X given Y displaystyle Y is P Y y X x P X x P X x Y y P X x Y y P Y y displaystyle P Y y mid X x P X x P X x cap Y y P X x mid Y y P Y y Example Edit Consider the roll of a fair die and let X 1 displaystyle X 1 if the number is even i e 2 4 or 6 and X 0 displaystyle X 0 otherwise Furthermore let Y 1 displaystyle Y 1 if the number is prime i e 2 3 or 5 and Y 0 displaystyle Y 0 otherwise D 1 2 3 4 5 6X 0 1 0 1 0 1Y 0 1 1 0 1 0Then the unconditional probability that X 1 displaystyle X 1 is 3 6 1 2 since there are six possible rolls of the dice of which three are even whereas the probability that X 1 displaystyle X 1 conditional on Y 1 displaystyle Y 1 is 1 3 since there are three possible prime number rolls 2 3 and 5 of which one is even Conditional continuous distributions EditSimilarly for continuous random variables the conditional probability density function of Y displaystyle Y given the occurrence of the value x displaystyle x of X displaystyle X can be written as 2 p 99 f Y X y x f X Y x y f X x displaystyle f Y mid X y mid x frac f X Y x y f X x qquad where f X Y x y displaystyle f X Y x y gives the joint density of X displaystyle X and Y displaystyle Y while f X x displaystyle f X x gives the marginal density for X displaystyle X Also in this case it is necessary that f X x gt 0 displaystyle f X x gt 0 The relation with the probability distribution of X displaystyle X given Y displaystyle Y is given by f Y X y x f X x f X Y x y f X Y x y f Y y displaystyle f Y mid X y mid x f X x f X Y x y f X Y x mid y f Y y The concept of the conditional distribution of a continuous random variable is not as intuitive as it might seem Borel s paradox shows that conditional probability density functions need not be invariant under coordinate transformations Example Edit Bivariate normal joint density The graph shows a bivariate normal joint density for random variables X displaystyle X and Y displaystyle Y To see the distribution of Y displaystyle Y conditional on X 70 displaystyle X 70 one can first visualize the line X 70 displaystyle X 70 in the X Y displaystyle X Y plane and then visualize the plane containing that line and perpendicular to the X Y displaystyle X Y plane The intersection of that plane with the joint normal density once rescaled to give unit area under the intersection is the relevant conditional density of Y displaystyle Y Y X 70 N m 1 s 1 s 2 r 70 m 2 1 r 2 s 1 2 displaystyle Y mid X 70 sim mathcal N left mu 1 frac sigma 1 sigma 2 rho 70 mu 2 1 rho 2 sigma 1 2 right Relation to independence EditRandom variables X displaystyle X Y displaystyle Y are independent if and only if the conditional distribution of Y displaystyle Y given X displaystyle X is for all possible realizations of X displaystyle X equal to the unconditional distribution of Y displaystyle Y For discrete random variables this means P Y y X x P Y y displaystyle P Y y X x P Y y for all possible y displaystyle y and x displaystyle x with P X x gt 0 displaystyle P X x gt 0 For continuous random variables X displaystyle X and Y displaystyle Y having a joint density function it means f Y y X x f Y y displaystyle f Y y X x f Y y for all possible y displaystyle y and x displaystyle x with f X x gt 0 displaystyle f X x gt 0 Properties EditSeen as a function of y displaystyle y for given x displaystyle x P Y y X x displaystyle P Y y X x is a probability mass function and so the sum over all y displaystyle y or integral if it is a conditional probability density is 1 Seen as a function of x displaystyle x for given y displaystyle y it is a likelihood function so that the sum over all x displaystyle x need not be 1 Additionally a marginal of a joint distribution can be expressed as the expectation of the corresponding conditional distribution For instance p X x E Y p X Y X Y displaystyle p X x E Y p X Y X Y Measure theoretic formulation EditLet W F P displaystyle Omega mathcal F P be a probability space G F displaystyle mathcal G subseteq mathcal F a s displaystyle sigma field in F displaystyle mathcal F Given A F displaystyle A in mathcal F the Radon Nikodym theorem implies that there is 3 a G displaystyle mathcal G measurable random variable P A G W R displaystyle P A mid mathcal G Omega to mathbb R called the conditional probability such that G P A G w d P w P A G displaystyle int G P A mid mathcal G omega dP omega P A cap G for every G G displaystyle G in mathcal G and such a random variable is uniquely defined up to sets of probability zero A conditional probability is called regular if P G w displaystyle operatorname P cdot mid mathcal G omega is a probability measure on W F displaystyle Omega mathcal F for all w W displaystyle omega in Omega a e Special cases For the trivial sigma algebra G W displaystyle mathcal G emptyset Omega the conditional probability is the constant function P A W P A displaystyle operatorname P left A mid emptyset Omega right operatorname P A If A G displaystyle A in mathcal G then P A G 1 A displaystyle operatorname P A mid mathcal G 1 A the indicator function defined below Let X W E displaystyle X Omega to E be a E E displaystyle E mathcal E valued random variable For each B E displaystyle B in mathcal E definem X G B G P X 1 B G displaystyle mu X mathcal G B mathcal G mathrm P X 1 B mathcal G For any w W displaystyle omega in Omega the function m X G G w E R displaystyle mu X mathcal G cdot mathcal G omega mathcal E to mathbb R is called the conditional probability distribution of X displaystyle X given G displaystyle mathcal G If it is a probability measure on E E displaystyle E mathcal E then it is called regular For a real valued random variable with respect to the Borel s displaystyle sigma field R 1 displaystyle mathcal R 1 on R displaystyle mathbb R every conditional probability distribution is regular 4 In this case E X G x m d x displaystyle E X mid mathcal G int infty infty x mu dx cdot almost surely Relation to conditional expectation Edit For any event A F displaystyle A in mathcal F define the indicator function 1 A w 1 if w A 0 if w A displaystyle mathbf 1 A omega begin cases 1 amp text if omega in A 0 amp text if omega notin A end cases which is a random variable Note that the expectation of this random variable is equal to the probability of A itself E 1 A P A displaystyle operatorname E mathbf 1 A operatorname P A Given a s displaystyle sigma field G F displaystyle mathcal G subseteq mathcal F the conditional probability P A G displaystyle operatorname P A mid mathcal G is a version of the conditional expectation of the indicator function for A displaystyle A P A G E 1 A G displaystyle operatorname P A mid mathcal G operatorname E mathbf 1 A mid mathcal G An expectation of a random variable with respect to a regular conditional probability is equal to its conditional expectation See also EditConditioning probability Conditional probability Regular conditional probability Bayes theoremReferences EditCitations Edit Ross Sheldon M 1993 Introduction to Probability Models Fifth ed San Diego Academic Press pp 88 91 ISBN 0 12 598455 3 Park Kun Il 2018 Fundamentals of Probability and Stochastic Processes with Applications to Communications Springer ISBN 978 3 319 68074 3 Billingsley 1995 p 430 Billingsley 1995 p 439 Sources Edit Billingsley Patrick 1995 Probability and Measure 3rd ed New York NY John Wiley and Sons Retrieved from https en wikipedia org w index php title Conditional probability distribution amp oldid 1142648522, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.