Jump to content

Probability/Important Distributions

From Wikibooks, open books for an open world

Distributions of a discrete random variable

[edit | edit source]

Preliminary conept: Bernoulli trial

[edit | edit source]

Definition. (Bernoulli trial) A Bernoulli trial is an experiment with only two possible outcomes, namely success and failure.

Remark.

  • 'Success' and 'failure' are acting as labels only, i.e. we can define any one of two outcomes in the experiment as 'success'.

Definition. (Independence of Bernoulli trials) Let Si be the event {ith Bernoulli trial is a success},i=1,2,[1]. If S1,S2, are independent, then the corresponding Bernoulli trials is independent.

Example. If we interpret the outcomes of tossing a coin as 'head comes up' and 'tail comes up', then tossing a coin is a Bernoulli trial.

Clipboard

Exercise.

If we interpret the outcomes of tossing a coin as 'head comes up', 'tail comes up' and 'the coin lands on edge', then is tossing a coin a Bernoulli trial?

Yes.
No.



Remark.

  • We typically interpret the outcomes of tossing a coin as 'head comes up' and 'tail comes up'.

Binomial distribution

[edit | edit source]

Motivation

[edit | edit source]

Consider n independent Bernoulli trials with the same success probability p. We would like to calculate to probability ({r successes in n trials}).

Let Si be the event {ith Bernoulli trial is a success},i=1,2,, as in the previous section. Let's consider a particular sequence of outcomes such that there are r successes in n trials: SSr successesFFnr failures Its probability is (S1SrSr+1cSnc)= indpt. (S1)(Sr)(Sr+1c)(Snc)=pr(1p)nr [2] Since the probability of other sequences with some of r successes occurring in other trials is the same, and there are (nr) distinct possible sequences[3], ({r successes in n trials})=(nr)pr(1p)nr. This is the pmf of a random variable following the binomial distribution.

Definition

[edit | edit source]

Definition. (Binomial distribution)

Pmf's of Binom(20,0.5),Binom(20,0.7) and Binom(40,0.5).

A random variable X follows the binomial distribution with n independent Bernoulli trials and success probability p, denoted by XBinom(n,p), if its pmf is f(x;n,p)=(nx)px(1p)nx,xsupp(X)={0,1,2,,n}.

Cdf's of Binom(20,0.5),Binom(20,0.7) and Binom(40,0.5).

Remark.

  • The ";n,p" in the pmf emphasizes that the values of parameters of the distribution (which are quantities that describes the distribution) are n and p. We can similar notations to pdf.
  • There are some alternative notations for emphasizing the parameter values. For example, when the parameter value is θ, then the pdf/pmf can be denoted by f(|θ),fθ(),
  • Of course, it is not necessary to adding these to the pdf/pmf, but it makes the parameter values involved explicit and clear.
  • The pmf involves a binomial coefficient, and hence the name 'binomial distribution'.
  • General remark for each distribution:
  • We may also just write down the notation for the distribution to denote the distribution itself, e.g. Binom(n,p) stands for the binomial distribution.
  • We sometimes say pmf, pdf, or support of a distribution, to mean pmf, pdf or support (respectively) of a random variable following that distribution, for simplicity (it also applies for other properties of distribution (discussed in a later chapter), e.g. mean, variance, etc.).



Bernoulli distribution

[edit | edit source]

Bernoulli distribution is simply a special case of binomial distribution, as follows:

Definition. (Bernoulli distribution)

Pmf's of Ber(0.8),Ber(0.2) and Ber(0.5).

A random variable X follows the Bernoulli distribution with success probability p, denoted by XBer(p), if its pmf is f(x;p)=px(1p)1x,xsupp(X)={0,1}.

Cdf's of Ber(1),Ber(0.8),Ber(0.5) and Ber(0.3).

Remark.

  • Ber(p)=Binom(1,p).
  • One Bernoulli trial is involved, and hence the name 'Bernoulli distribution'.

Poisson distribution

[edit | edit source]

Motivation

[edit | edit source]

The Poisson distribution can be viewed as the 'limit case' for the binomial distribution.

Consider n independent Bernoulli trials with success probability p=λ/n. By the binomial distribution, (r successes in n trials)=(nr)(λ/n)r(1λ/n)nr.

After that, consider an unit time interval, with (positive) occurrence rate λ of a rare event (i.e. the mean of number of occurrence of the rare event is λ). We can divide the unit time interval to n time subintervals of time length 1/n each. If n is large and p is relatively small, such that the probability for occurrence of two or more rare events at a single time interval is negligible, then the probability for occurrence of exactly one rare event for each time subinterval is p=λ/n by definition of mean. Then, we can view the unit time interval as a sequence of n Bernoulli trials [4] with success probability p=λ/n. After that, we can use Binom(n,λ/n) to model the number of occurrences of rare event. To be more precise, (r successes in n trialsr rare events in the unit time)=(nr)(λ/n)r(1λ/n)nr=n(n1)(nr+1)r!(λr/nr)(1λ/n)nr=(λr/r!)(11/n0 as n)(1(r1)/n0 as n)1 as n(1λ/n)nrn as neλ as neλλr/r! as n. This is the pmf of a random variable following the Poisson distribution, and this result is known as the Poisson limit theorem (or law of rare events). We will introduce it formally after introducing the definition of Poisson distribution.

Definition

[edit | edit source]

Definition. (Poisson distribution)

Pmf's of Pois(1),Pois(4) and Pois(10).

A random variable X follows the Poisson distribution with positive rate parameter λ, denoted by XPois(λ), if its pmf is f(x;λ)=eλλx/x!,xsupp(X)={0,1,2,}.

Cdf's of Pois(1),Pois(4) and Pois(10).

Remark.

Theorem. (Poisson limit theorem) A random variable following Binom(n,λ/n) converges in distribution to a random variable following Pois(λ) as n.

Proof. The result follows from the result proved above: the pmf of Binom(n,λ/n) approaches the pmf of Pois(λ) as n.

Remark.

  • As a result, the Poisson distribution can be used as an approximation to the binomial distributions for large n and relatively small p=λ/n.


Geometric distribution

[edit | edit source]

Motivation

[edit | edit source]

Consider a sequence of independent Bernoulli trials with success probability p. We would like to calculate the probability ({x failures before first success}). By considering this sequence of outcomes: FFx failuresS, we can calculate that ({x failures before first success})=(1p)xp,xsupp(X)={0,1,2,} [5] This is the pmf of a random variable following the geometric distribution.

Definition

[edit | edit source]

Definition. (Geometric distribution)

Pmf's of Geo(0.2),Geo(0.5) and Geo(0.8).

A random variable X follows the geometric distribution with success probability p, denoted by XGeo(p), if its pmf is f(x;p)=(1p)xp,xsupp(X)={0,1,2,}.

Cdf's of Geo(0.2),Geo(0.5) and Geo(0.8).

Remark.

  • The sequence of the probabilities starting from f(0;p), with input value x increased one by one (i.e. p,(1p)p,(1p)2p,) is a geometric sequence, and hence the name 'geometric distribution'.
  • For an alternative definition, the pmf is instead (1p)x1p, which is the proability ({x trials before first success}), with support supp(X)={1,2,}.

Proposition. (Memorylessness of geometric distribution) If XGeo(p), then (X>m+n|Xm)=(X>n) for each nonnegative integer m and n.

Proof. (X>m+n|Xm)= def (X>m+nXm)=X>m+n(Xm)= def p((1p)m+n+1+(1p)m+n+2+)p((1p)m+(1p)m+1+)=(1p)m+n+1/(1(1p))(1p)m/(1(1p))by geometric series formula=(1p)n+1pp=p(1p)n+11(1p)=p((1p)n+1+(1p)n+2+)by geometric series formula= def (X>n)since X>nX=n+1,n+2,.

  • In particular, X>m+nXm=X>m+n since X>m+nX=m+n+1,m+n+2,XmX=m,m+1,.

Remark.

  • X>m+n can be interpreted as 'there are more than m+n failures before the first success';
  • Xm can be interpreted as 'm failures have occurred, so there are more than or equal to m failures before the first success'.
  • It implies that the condition Xm does not affect the distribution of the remaining number of failures before the first success (it still follows geometric distribution with the same success probability).
  • So, we can assume the trials start afresh after an arbitrary trial for which failure occurs.
  • E.g., if failure occurs in first trial, then the distribution of the remaining number of failures before the first success is not affected.
  • Also, if success occurs in first trial, then the condition becomes X=0, instead of Xm, so the above formula cannot be applied in this situation.
  • Indeed, (X>m+n|X=0)=0, since X cannot exceed zero given that X=0.

Negative binomial distribution

[edit | edit source]

Motivation

[edit | edit source]

Consider a sequence of independent Bernoulli trials with success probability p. We would like to calculate the probability ({x failures before kth success}). By considering this sequence of outcomes: FFx1 failuresSFFx2 failuresSFFxk failuresx+k1 trialsSkth success,x1+x2++xk=x, we can calculate that ({x failures before kth success})=(1p)xpk,xsupp(X)={0,1,2,}. Since the probability of other sequences with some of x failures occurring in other trials (and some of k1 successes (excluding the kth success, which must occur in the last trial) occurring in other trials), is the same, and there are (x+k1x) (or (x+k1k1), which is the same numerically) distinct possible sequences [6], ({x failures before kth success})=(x+k1x)(1p)xpk,xsupp(X)={0,1,2,}. This is the pmf of a random variable following the negative binomial distribution.

Definition

[edit | edit source]

Definition. (Negative binomial distribution)

Pmf's of NB(10,0.9),NB(10,0.8),NB(10,0.5) and NB(10,0.3).

A random variable X follows the negative binomial distribution with success probability p, denoted by XNB(k,p), if its pmf is f(x;k,p)=(x+k1x)(1p)xpk,xsupp(X)={0,1,2,}.

Cdf's of NB(10,0.9),NB(10,0.8),NB(10,0.5) and NB(10,0.3).

Remark.

  • Negative binomial coefficient is involved and hence the name 'negative binomial distribution'.


Hypergeometric distribution

[edit | edit source]

Motivation

[edit | edit source]

Consider a sample of size n are drawn without replacement from a population size N, containing K objects of type 1 and NK of another type. Then, the probability ({k type 1 objects are found when n objects are drawn from N objects})=(Kk)type 1(NKnk)another type/(Nn)all outcomes,k{max{nN+K,0},,min{K,n}} [7].

  • (Kk): unordered selection of k objects of type 1 from K (distinguishable) objects of type 1 without replacement;
  • (NKnk): unordered selection of nk objects of another type from NK (distinguishable) objects of another type without replacement;
  • (Nn): unordered selection of n objects from N (distinguishable) objects without replacement.

This is the pmf of a random variable following the hypergeometric distribution.

Definition

[edit | edit source]

Definition. (Hypergeometric distribution)

Pmf's of HypGeo(500,50,100),HypGeo(500,60,200) and HypGeo(500,70,300).

A random variable X follows the hypergeometric distribution with n objects drawn from a collection of K objects of type 1 and NK of another type, denoted by XHypGeo(N,K,n), if its pmf is f(k;N,K,n)=(Kk)(NKnk)/(Nn),ksupp(X)={max{nN+K,0},,min{K,n}}.

Cdf's of HypGeo(500,50,100),HypGeo(500,60,200) and HypGeo(500,70,300).

Remark.

  • The pmf is sort of similar to hypergeometric series [8], and hence the name 'hypergeometric distribution'.


Finite discrete distribution

[edit | edit source]

This type of distribution is a generalization of all discrete distribution with finite support, e.g. Bernoulli distribution and hypergeometric distribution.

Another special case of this type of distribution is discrete uniform distribution, which is similar to the continuous uniform distribution (will be discussed later).

Definition. (Finite discrete distribution) A random variable X follows the finite discrete distribution with vector 𝐱=(x1,,xn)T and probability vector 𝐩=(p1,,pn)T,p1,, and pn0,p1++pn=1, denoted by XFD(𝐱,𝐩) if its pmf is f(xi;𝐩)=pi,i=1,, or n.

Remark.

  • For mean and variance, we can calculate them by definition directly. There are no special formulas for finite discrete distribution.

Definition. (Discrete uniform distribution) The discrete uniform distribution, denoted by D𝒰{x1,,xn}, is FD(𝐱,𝐩),𝐩=(1n,,1nn times)T.

Remark.

  • Its pmf is f(xi)=1n,i=1,, or n.

Example. Suppose a r.v. XFD((1,2,3)T,(0.2,0.3,0.5)T). Then, (X=1)=0.2,(X=2)=0.3, and (X=3)=0.5. Illustration of the pmf:

|
|              *
|              |
|         *    |
|    *    |    |
|    |    |    |
*----*----*----*-------
     1    2    3

Example. Suppose a r.v. XD𝒰{1,2,3}. Then, (X=1)=(X=2)=(X=3)=13. Illustration of the pmf:

|
|               
|               
|    *    *    *
|    |    |    |
|    |    |    |
*----*----*----*-------
     1    2    3

Exercises

[edit | edit source]
Clipboard

Exercise.

  

1

Which of the following distributions should be used for modeling the number of car accidents in a day at a town?

Binomial distribution.
Poisson distribution.
Geometric distribution.
Negative binomial distribution.
Hypergeometric distribution.

2

Among 200 people, each of them has probability 0.1 to be a smoker independently. We select one person from them without replacement, until a smoker is selected. Which of the following distributions should be used for modeling the number of selection needed, just before the smoker is selected?

Binomial distribution.
Poisson distribution.
Geometric distribution.
Negative binomial distribution.
Hypergeometric distribution.

3

It is given that among 1000 taxi drivers, 80% of them are insured by an insurance company. 30 taxi drivers are chosen randomly from them without replacement. Which of the following distributions should be used for modeling the number of uninsured drivers chosen?

Binomial distribution.
Poisson distribution.
Geometric distribution.
Negative binomial distribution.
Hypergeometric distribution.

4

An insurance company has sold 500 policies. An actuary determines that for each of the policy, there is 0.1 probability that claim payment to the policyholder is needed, independently. Which of the following distributions should be used for modeling the number of policies for which claim payment to the policy holder is needed?

Binomial distribution.
Poisson distribution.
Geometric distribution.
Negative binomial distribution.
Hypergeometric distribution.

5

An insurance company has sold 500 policies. An actuary determines that for each of the policy, there is 0.1 probability that claim payment to the policyholder is needed, independently. Which of the following distributions should be used for modeling the number of policies checked just before 10 claim payments to the policy holder are made?

Binomial distribution.
Poisson distribution.
Geometric distribution.
Negative binomial distribution.
Hypergeometric distribution.

6

Which of the following distributions should be used for modeling the number of people infected by a rare disease in a town?

Binomial distribution.
Poisson distribution.
Geometric distribution.
Negative binomial distribution.
Hypergeometric distribution.

7

A box contains 100 red balls, 300 blue balls and 250 green balls. 100 balls are drawn from the box. Which distribution does the number of balls that are not blue drawn from the box follow?

HypGeo(650,100,300)
HypGeo(650,350,100)
HypGeo(650,250,100)
HypGeo(650,100,100)
HypGeo(650,100,350)

8

Which of the following distribution(s) has (have) exactly two parameters?

Binomial distribution.
Bernoulli distribution.
Poisson distribution.
Geometric distribution.
Negative binomial distribution.
Hypergeometric distribution.

9

An manufacturer sells 200 light bulbs, which costs $100 each. The manufacturer promises that a full refund will be made to the buyer if the light bulb he buys fails within first week of purchase. Given that each light bulb has a probability 0.001 to fail within the first week independently, which distribution does the number of refunds paid follow?

Binom(200,0.001)
Binom(200,0.999)
Binom(20000,0.001)
Binom(20000,0.999)
Binom(2,0.001)


Distributions of a continuous random variable

[edit | edit source]

Uniform distribution (continuous)

[edit | edit source]

The continuous uniform distribution is a model for 'no preference', i.e. all intervals of the same length on its support are equally likely [9] (it can be seen from the pdf corresponding to continuous uniform distribution). There is also discrete uniform distribution, but it is less important than continuous uniform distribution. So, from now on, simply 'uniform distribution' refers to the continuous one, instead of the discrete one.

Definition. (Uniform distribution)

Pdf's of 𝒰[a,b].

A random variable X follows the uniform distribution, denoted by X𝒰[a,b], if its pdf is f(x)=1/(ba),xsupp(X)=[a,b], and ab.

Remark.

  • The support of 𝒰[a,b] can also be alternatively [a,b),(a,b] or (a,b), without affecting the probabilities of events involved, since the probability calculated, using pdf at a single point, is zero anyways.
  • The distribution 𝒰[0,1] is the standard uniform distribution.

Proposition.

Cdf's of 𝒰[a,b].

(Cdf of uniform distribution) The cdf of 𝒰[a,b] is F(x)={0,x<a;(xa)/(ba),axb;1,x>b.

Proof. F(x)=x𝟏{axb}bady=1baax𝟏{axb}dy={0/(ba),x<a;[][y]ax/(ba),axb;[][y]ab/(ba),x>b. Then, the result follows.


Exponential distribution

[edit | edit source]

The exponential distribution with rate parameter λ is often used to describe the interarrival time of rare events with rate λ.

Comparing this with the Poisson distribution, the exponential distribution describes the interarrival time of rare events, while Poisson distribution describes the number of occurrences of rare events within a fixed time interval.

By definition of rate, when the rate , then interarrival time (i.e. frequency of the rare event ).

So, we would like the pdf to be more skewed to left when λ(i.e. the pdf has higher value for small x when λ), so that areas under the pdf for intervals involving small value of x when λ.

Also, since with a fixed rate λ, the interarrival time should be less likely of higher value. So, intuitively, we would also like the pdf to be a strictly decreasing function, so that the probability involved (area under the pdf for some interval) when x.

As we can see, the pdf of exponential distribution satisfies both of these properties.

Definition. (Exponential distribution)

Pdf's of Exp(0.5),Exp(1) and Exp(1.5).

A random variable X follows the exponential distribution with positive rate parameter λ, denoted by XExp(λ), if its pdf is f(x)=λeλx,xsupp(X)=[0,).

Proposition. (Cdf of exponential distribution)

Cdf's of Exp(0.5),Exp(1) and Exp(1.5).

The cdf of Exp(λ) is F(x)=1eλx,x0.

Proof. Suppose XExp(λ). The cdf of X is F(x)=xλeλy𝟏{y0}dy={0xλeλydy,x0;0,x<0(When x<0,xsupp(X), so F(x)=(Xx)=0)=𝟏{x0}λ0xeλydy=𝟏{x0}λλ[eλy]0x=𝟏{x0}(eλx1)=(1eλx)𝟏{x0}.

Proposition. (Memorylessness of exponential distribution) If XExp(λ), then (X>s+t|X>s)=(X>t) for each nonnegative number s and t.

Proof. (X>s+t|X>s)= def (X>s+tX>s)(X>s)=(X>s+t)(X>s)=1(1eλ(s+t))1(1eλs)=eλ(s+t)eλs=eλt=(X>t).

Remark.

  • X>s+t can be interpreted as 'the rare event will not occur within next t units of time';
  • X>s can be interpreted as 'the rare event has not occurred for past s units of time'.
  • It implies that the condition X>s does not affect the distribution of the remaining waiting time for the rare event (it still follows exponential distribution with the same parameter).
  • So, we can assume the arrival process of the event starts afresh at arbitrary time point of observation.


Gamma distribution

[edit | edit source]

Gamma distribution is a generalized exponential distribution, in the sense that we can also change the shape of the pdf of exponential distribution.

Definition. (Gamma distribution)

Pdf's of Gamma(1,1),Gamma(2,1),Gamma(3,1) and Gamma(3,0.5).

A random variable X follows the gamma distribution with positive shape parameter α and positive rate parameter λ, denoted by XGamma(α,λ), if its pdf is f(x)=λαxα1eλxΓ(α),xsupp(X)=[0,).

Cdf's of Gamma(1,1),Gamma(2,1),Gamma(3,1) and Gamma(3,0.5).

Remark.

  • Gamma(1,λ)Exp(λ), since the pdf of Gamma(1,λ)

f(x)=λx11eλΓ(1)=0!=1𝟏{x0}=λeλx,

which is the pdf of Exp(λ).

Beta distribution

[edit | edit source]

Beta distribution is a generalized 𝒰[0,1], in the sense that we can also change the shape of the pdf, using two shape parameters.

Definition. (Beta distribution)

Pdf's of Beta(0.5,0.5),Beta(5,1),Beta(1,3), Beta(2,2) and Beta(2,5).

A random variable X follows the beta distribution with positive shape parameters α and β, denoted by XBeta(α,β), if its pdf is f(x)=Γ(α+β)Γ(α)Γ(β)xα1(1x)β1,xsupp(X)=[0,1].

Cdf's of Beta(0.5,0.5),Beta(5,1),Beta(1,3), Beta(2,2) and Beta(2,5).

Remark.

  • Beta(1,1)𝒰[0,1], since the pdf of Beta(1,1) is

f(x)=Γ(2)=1!=1Γ(1)=0!=1Γ(1)x11(1x)11𝟏{0x1}=𝟏{0x1},

which is the pdf of 𝒰[0,1].

Cauchy distribution

[edit | edit source]

The Cauchy distribution is a heavy-tailed distribution [10]. As a result, it is a 'pathological' distribution, in the sense that it has some counter-intuitive properties, e.g. undefined mean and variance, despite its mean and variance seems to be defined when we look at its graph directly.

Definition. (Cauchy distribution)

Pdf and cdf of Cauchy(0).

A random variable X follows the Cauchy distribution with location parameter θ, denoted by XCauchy(θ), if its pdf is f(x)=1π(1+(xθ)2),xsupp(X)=.

Remark.

  • This definition is referring to a special case of Cauchy distribution. To be more precise, there is also the scale parameter in the complete definition of Cauchy distribution, and it is set to be one in the pdf here.
  • This definition is used here for simplicity.
  • The pdf is symmetric about θ, since f(θ+x)=f(θx).

Normal distribution (very important)

[edit | edit source]

The normal or Gaussian distribution is a thing of beauty, appearing in many places in nature. This is probably because sample means or sample sums often follow normal distributions approximately by central limit theorem. As a result, the normal distribution is important in statistics.

Definition. (Normal distribution)

Pdf's of 𝒩(0,0.2),𝒩(0,1),𝒩(0,5) and 𝒩(2,0.5).

A random variable X follows the normal distribution with mean μ and variance σ2, denoted by X𝒩(μ,σ2), if its pdf is f(x)=12πσ2exp((xμ)22σ2),xsupp(X)=.

Cdf's of 𝒩(0,0.2),𝒩(0,1),𝒩(0,5) and 𝒩(2,0.5).

Remark.

  • The distribution 𝒩(0,1) is the standard normal distribution.
  • For 𝒩(0,1), its pdf is often denoted by φ(), and its cdf is often denoted by Φ().
  • pdf of 𝒩(0,1) is φ(x)=12πex2/2.
  • It follows that the pdf of 𝒩(μ,σ2) is (1/σ)φ(xμ/σ).
  • It will be proved that μ is actually the mean, and σ is actually the variance.
  • The pdf is symmetric about μ, since f(μ+x)=f(μx).

Proposition. (Distributions for linear transformation of normally distributed random variables) If X𝒩(μ,σ2), and a and b are constants, Y=aX+b𝒩(aμ+b,a2σ2).

Proof. Assume a>0 [11]. Let FX and FY be cdf of X and Y respectively. Since FY(y)=(Yy)=(aX+by)=(X(yb)/a)=FX((yb)/a), by differentiation, fY(y)=1afX((yb)/a)=1a2πσ2exp(((yb)/aμ)2/2σ2)=12πa2σ2exp((y(aμ+b))2/2a2σ2)since a>0, which is the pdf of 𝒩(aμ+b,a2σ2).

Remark.

  • A special case is when a=1/σ and b=μ/σ, Y=aX+b=(Xμ)/σ𝒩(0,1) since
  • aμ+b=(1/σ)μμ/σ=0;
  • a2σ2=σ2/σ2=1.
  • This shows that we can transform each normally distributed r.v. to the r.v. following standard normal distribution.
  • This can ease the calculation for the probability relating the normally distributed r.v., since we have the standard normal table, in which values of Φ(x) at different x are given.
  • For some types of standard normal table, only the values of Φ(x) at different nonnegative x are given.
  • Then, we can calculate its values at different negative x using

Φ(x)=1Φ(x).

  • This formula holds since ϕ(y)=ϕ(y)xϕ(y)dy=xϕ(y)dyxϕ(u)du=Φ(x)let u=ydy=dy.[Φ(u)]x=Φ(x)Φ()=(Ω)=1Φ(x)=Φ(x).


Important distributions for statistics especially

[edit | edit source]

The following distributions are important in statistics especially, and they are all related to normal distribution. We will introduce them briefly.

Chi-squared distribution

[edit | edit source]

The chi-squared distribution is a special case of Gamma distribution, and also related to standard normal distribution.

Definition. (Chi-squared distribution)

Pdf's of χ12,χ22,χ32,χ42,χ62 and χ92.

The chi-squared distribution with positive ν degrees of freedom, denoted by χν2, is the distribution of Z12++Zν2, in which Z1,,Zν are i.i.d., and they all follow 𝒩(0,1).

Cdf's of χ12,χ22,χ32,χ42,χ62 and χ92.

Remark.

  • It can be proved that χν2Gamma(ν/2,1/2) and thus Gamma(α,λ)12λχ2α2. (Then, we can deduce the pdf of χν2 through this.)
  • This implies for the random variable Xχ2α2, X2λGamma(α,λ).
  • A random variable X follows the chi-squared distribution with ν degrees of freedom is denoted by Xχν2.

Student's t-distribution

[edit | edit source]

The Student's t-distribution is related to chi-squared distribution and normal distribution.

Definition. (Student's t-distribution)

Pdf's of t1,t2,t5 and t.

The Student's t-distribution with ν degrees of freedom, denoted by tν, is the distribution of ZY/ν in which Yχν2 and Z𝒩(0,1).

Cdf's of t1,t2,t5 and t.

Remark.

  • t1=Cauchy(0) and t=𝒩(0,1) (the is extended real number).
  • The tails of the pdf is heavier as ν.
  • A random variable X follows the (Student's )t-distribution with ν degrees of freedom is denoted by Xtν.
  • It can be proved that the pdf of tν is

f(x;ν)=Γ((ν+1)/2)νπΓ(ν/2)(νx2+ν)(ν+1)/2.

F-distribution

[edit | edit source]

The F-distribution is sort of a generalized Student's t-distribution, in the sense that it has one more changeable parameter for another degrees of freedom.

Definition. (F-distribution) The F-distribution with ν1 and ν2 degrees of freedom, denoted by Fν1,ν2, is the distribution of X1/ν1X2/ν2 in which X1χν12 and X2χν22.

Pdf's of F1,1,F2,1,F5,2,F10,1 and F100,100.
Cdf's of F1,1,F2,1,F5,2,F10,1 and F100,100.

Remark.

  • F1,ν=tν2.
  • A random variable X following the F-distribution with ν1 and ν2 degrees of freedom is denoted by XFν1,ν2.
  • It can be proved that the pdf of Fν1,ν2 is

f(x;ν1,ν2)=Γ((ν1+ν2)/2)ν1ν1/2ν2ν2/2Γ(ν1/2)Γ(ν2/2)xν1/21(ν2+ν1x)(ν1+ν2)/2.

If you are interested in knowing how chi-squared distribution, Student's t-distribution, and F-distribution are useful in statistics, then you may briefly look at, for instance, Statistics/Interval Estimation (applications in confidence interval construction) and Statistics/Hypothesis Testing (applications in hypothesis testing).

Joint distributions

[edit | edit source]

Multinomial distribution

[edit | edit source]

Motivation

[edit | edit source]

Multinomial distribution is generalized binomial distribution, in the sense that each trial has more than two outcomes.

Suppose n objects are to be allocated to k cells independently, for which each object is allocated to one and only one cell, with probability pi to be allocated to the ith cell (i=1,2,,k) [12]. Let Xi be the number of objects allocated to cell i. We would like to calculate the probability (𝐗= def (X1,,Xk)T=𝐱= def (x1,,xk)T), i.e. the probability that ith cell has xi objects.

We can regard each allocation as an independent trial with k outcomes (since it can be allocated to one and only one of k cells). We can recognize that the allocation of n objects is partition of n objects into k groups. There are hence (nx1,,xk) ways of allocation.

So, (𝐗=𝐱)=(nx1,,xk)p1x1pkxk. In particular, the probability of allocating xi objects to ith cell is pixi by independence, and so that of a particular case of allocation of n objects to k cells is p1x1pkxk by independence.

Definition

[edit | edit source]

Definition. (Multinomial distribution) A random vector 𝐗=(X1,,Xk)T follows the multinomial distribution with n trials and probability vector 𝐩=(p1,,pk)T, denoted by 𝐗Multinom(n,𝐩), if its joint pmf is f𝐗(x1,,xk;n,𝐩)=(nx1,,xk)p1x1pkxk,x1,,xk0, and x1++xk=n.

Remark.

  • Multinom(n,𝐩)Binom(n,p) if 𝐩=(p,1p)T.
  • In this case, if (X1,X2)TMultinom(n,𝐩), X1 is the number of successes for the binomial distribution (and X2(=nX1) is the number of failures).
  • Also, XiBinom(n,pi). It can be seen by regarding allocating the object into ith cell as 'success' for each allocation of single object [13]. Then, the success probability is pi.


Multivariate normal distribution

[edit | edit source]

Multivariate normal distribution is, as suggested by its name, a multivariate (and also generalized) version of the normal distribution (univariate).

Definition. (Multivariate normal distribution) A random vector 𝐗=(X1,,Xk)T follows the k-dimensional normal distribution with mean vector 𝝁 and covariance matrix 𝜮, denoted by 𝐗𝒩k(𝝁,𝜮)[14] if its joint pdf is f𝐗(x1,,xk;𝝁,𝜮)=exp((𝐱𝝁)T𝜮1(𝐱𝝁)/2)(2π)kdet𝜮,𝐱=(x1,,xk)Tk in which 𝝁=(μ1,,μk)T=(𝔼[X1],,𝔼[Xk])T is the mean vector, and 𝜮=(Cov(X1,X1)Cov(X1,Xk)Cov(Xk,X1)Cov(Xk,Xk))=(σ12Cov(X1,Xk)Cov(Xk,X1)σk2) is the covariance matrix (with size k×k).

Remark.

  • The distribution for case k=2 is more usually used, and that is called the bivariate normal distribution.
  • An alternative and equivalent definition is that 𝐗=(X1,,Xk)T𝒩k(𝝁,𝜮) if

X1=a11Z1++a1nZn+μ1;Xk=ak1Z1++aknZn+μk,

for some constants a11,,a1n,,ak1,,akn,μ1,,μk, and Z1,,Zn are n i.i.d. standard normal random variables.
  • Using the above result, the marginal distribution followed by Xi is 𝒩(μi,σi2),i=1,2,, or k, as one will expect.
  • By proposition about the sum of independent normal random variables and distribution of linear transformation of normal random variables (see Probability/Transformation of Random Variables chapter), the mean is 0++0+μi=μi, and the variance is ai12++ain2 (this equals σi2 by definition).

Proposition. (Joint pdf of the bivariate normal distribution) The joint pdf of 𝒩2(𝝁,𝜮) is f(x,y)=12πσXσY1ρ2exp(12(1ρ2)((xμXσX)22ρ(xμXσX)(yμYσY)+(yμYσY)2)),(x,y)T2

in which ρ=ρ(X,Y) and σX,σY are positive.
Graph of an example of bivariate normal distribution

Proof. For the bivariate normal distribution,

  • the mean vector is 𝝁=(μX,μY);
  • the covariance matrix is 𝜮=(Cov(X,X)Cov(X,Y)Cov(Y,X)Cov(Y,Y))=(Var(X)Cov(X,Y)Cov(X,Y)Var(Y))=(σX2ρσXσYρσXσYσY2).
  • Hence,

(𝐱𝝁)T𝜮1(𝐱𝝁)=1det𝜮((xμX,yμY)T)T(σY2ρσXσYρσXσYσX2)(xμX,yμY)T)=1det𝜮(xμXyμY)(σY2ρσXσYρσXσYσX2)(xμXyμY)=1det𝜮((xμX)σY2(yμY)ρσXσY(xμX)ρσXσY+(yμY)σX2)(xμXyμY)=1det𝜮σX2σY2(ρσXσY)2((xμX)2σY2(xμX)(yμY)ρσXσY(xμX)(yμY)ρσXσY=2ρ(xμX)(yμY)σXσY+(yμY)2σX2)=(xμX)2σY22ρ(xμX)(yμY)σXσY+(yμY)2σX2σX2σY2(1ρ)2=11ρ2((xμXσX)22ρ((xμX)(yμY)σXσY)+(yμYσY)2).

  • It follows that the joint pdf is

f(x,y)=1(2π)2det𝜮exp(1211ρ2((xμXσX)22ρ((xμX)(yμY)σXσY)+(yμYσY)2))=12πσX2σY2(1ρ2)exp(12(1ρ2)((xμXσX)22ρ((xμX)(yμY)σXσY)+(yμYσY)2))=12πσXσY1ρ2exp(12(1ρ2)((xμXσX)22ρ(xμXσX)(yμYσY)+(yμYσY)2)).


  1. Alternatively, we can define the events as {ith Bernoulli trial is a failure}.
  2. 'indpt.' stands for independence.
  3. This is because there is unordered selection of (distinguishable and ordered) r trials for 'success' without replacement from n trials (then the remaining position is for 'failure').
  4. Occurrence of the rare event is viewed as 'success' and non-occurrence of the rare event is viewed as 'failure'.
  5. Unlike the outcomes for the binomial distribution, there is only one possible sequence for each x.
  6. There is unordered selection of x trials for 'failures' (or k1 trials for 'successes') from x+k1 trials without replacement
  7. The restriction on k is imposed so that the binomial coefficients are defined, i.e. the expression 'makes sense'. In practice, we rarely use this condition directly. Instead, we usually directly determine whether a specific value of x 'makes sense'.
  8. It is out of scope for this book.
  9. The probability is 'distributed uniformly over an interval'.
  10. A random variable following the Cauchy distribution has a relatively high probability to take extreme values, compared with other light-tailed distributions (e.g. the normal distribution). Graphically, the 'tails' (i.e. left end and right end) of the pdf.
  11. The case for a<0 holds similarly (The inequality sign is in opposite direction, and eventually we will have two negative signs cancelling each other). Also when a=0, the r.v. becomes a non-random constant, and so we are not interested in this case.
  12. Then, p1+p2++pk=1.
  13. If the object is allocated to a cell other than ith cell, then it is 'failure'
  14. The subscript k for 𝒩 is to emphasize that the distribution is k-dimensional, and is optional.