Books Probability and Statistical Inference

The Normal Distribution

Random variable 𝑋𝑋 is said to have a normal distribution with parameters μ∈R\mu \in \mathbb{R} and Οƒ2>0{\sigma }^{2}>0 if its PDF is given by

𝑓(π‘₯)=12πσ2exp⁑[βˆ’(π‘₯βˆ’ΞΌ)22Οƒ2],π‘₯∈R.𝑓(π‘₯)=\frac{1}{\sqrt{2\pi {\sigma }^{2}}}\exp \left[-\frac{{(π‘₯-\mu )}^{2}}{2{\sigma }^{2}}\right],\quad π‘₯\in \mathbb{R}.
(3.6)

We write π‘‹βˆΌπ’©(ΞΌ,Οƒ2)π‘‹βˆΌπ’©(\mu ,{\sigma }^{2}). We need to verify that the PDF in (3.6) is well-defined. Clearly, 𝑓(π‘₯)β‰₯0𝑓(π‘₯)\geq 0 for all π‘₯∈Rπ‘₯\in \mathbb{R}. It remains to check that the integral of 𝑓𝑓 over R\mathbb{R} equals 11. This reduces to evaluating

βˆ«βˆ’βˆžβˆžπ‘’βˆ’π‘₯2 dπ‘₯.{\int }_{-\infty }^{\infty }{𝑒}^{-{π‘₯}^{2}}\, \mathrm{d}π‘₯.

Set 𝐼=∫0βˆžπ‘’βˆ’π‘₯2 dπ‘₯𝐼={\int }_{0}^{\infty }{𝑒}^{-{π‘₯}^{2}}\, \mathrm{d}π‘₯. We work on [0,∞)[0,\infty ) first because it makes the following polar-coordinate computation shorter. Then

𝐼2=∫0βˆžπ‘’βˆ’π‘₯2 dπ‘₯∫0βˆžπ‘’βˆ’π‘¦2 d𝑦=∫0∞∫0βˆžπ‘’βˆ’(π‘₯2+𝑦2) dπ‘₯ d𝑦,{𝐼}^{2}={\int }_{0}^{\infty }{𝑒}^{-{π‘₯}^{2}}\, \mathrm{d}π‘₯{\int }_{0}^{\infty }{𝑒}^{-{𝑦}^{2}}\, \mathrm{d}𝑦={\int }_{0}^{\infty }{\int }_{0}^{\infty }{𝑒}^{-({π‘₯}^{2}+{𝑦}^{2})}\, \mathrm{d}π‘₯\, \mathrm{d}𝑦,

the last integral being over the first quadrant of the plane. In polar coordinates π‘₯=π‘Ÿcos⁑θπ‘₯=π‘Ÿ\cos \theta and 𝑦=π‘Ÿsin⁑θ𝑦=π‘Ÿ\sin \theta , with π‘Ÿβ‰₯0π‘Ÿ\geq 0 and θ∈[0,Ο€2]\theta \in \left[0,\frac{\pi }{2}\right], the area element satisfies dπ‘₯ d𝑦=π‘Ÿβ€‰dπ‘Ÿβ€‰dΞΈ\mathrm{d}π‘₯\, \mathrm{d}𝑦=π‘Ÿ\, \mathrm{d}π‘Ÿ\, \mathrm{d}\theta . Equivalently, the Jacobian is

𝐽=∣det⁑(βˆ‚(π‘₯,𝑦)βˆ‚(π‘Ÿ,ΞΈ))∣=∣det⁑(cosβ‘ΞΈβˆ’π‘Ÿsin⁑θsinβ‘ΞΈπ‘Ÿcos⁑θ)∣=π‘Ÿ.𝐽=\left|\det \left(\frac{\partial (π‘₯,𝑦)}{\partial (π‘Ÿ,\theta )}\right)\right|=\left|\det \begin{pmatrix}\cos \theta & -π‘Ÿ\sin \theta \\ \sin \theta & π‘Ÿ\cos \theta \end{pmatrix}\right|=π‘Ÿ.

Hence

∫0∞∫0βˆžπ‘’βˆ’(π‘₯2+𝑦2) dπ‘₯ d𝑦=∫0∞∫0Ο€/2π‘’βˆ’π‘Ÿ2π‘Ÿβ€‰dθ dπ‘Ÿ=Ο€2∫0βˆžπ‘Ÿπ‘’βˆ’π‘Ÿ2 dπ‘Ÿ=Ο€2[βˆ’12π‘’βˆ’π‘Ÿ2]0∞=Ο€4.\begin{aligned}{\int }_{0}^{\infty }{\int }_{0}^{\infty }{𝑒}^{-({π‘₯}^{2}+{𝑦}^{2})}\, \mathrm{d}π‘₯\, \mathrm{d}𝑦 & ={\int }_{0}^{\infty }{\int }_{0}^{\pi /2}{𝑒}^{-{π‘Ÿ}^{2}}π‘Ÿ\, \mathrm{d}\theta \, \mathrm{d}π‘Ÿ \\ & =\frac{\pi }{2}{\int }_{0}^{\infty }π‘Ÿ{𝑒}^{-{π‘Ÿ}^{2}}\, \mathrm{d}π‘Ÿ \\ & =\frac{\pi }{2}{\left[-\frac{1}{2}{𝑒}^{-{π‘Ÿ}^{2}}\right]}_{0}^{\infty } \\ & =\frac{\pi }{4}.\end{aligned}

Therefore 𝐼=Ο€/2𝐼=\sqrt{\pi }/2 and

βˆ«βˆ’βˆžβˆžπ‘’βˆ’π‘₯2 dπ‘₯=Ο€.{\int }_{-\infty }^{\infty }{𝑒}^{-{π‘₯}^{2}}\, \mathrm{d}π‘₯=\sqrt{\pi }.
(3.7)

To normalize (3.6), substitute 𝑒=π‘₯βˆ’ΞΌ2Οƒ2𝑒=\frac{π‘₯-\mu }{\sqrt{2{\sigma }^{2}}}. Then

βˆ«βˆ’βˆžβˆž12πσ2exp⁑[βˆ’(π‘₯βˆ’ΞΌ)22Οƒ2] dπ‘₯=12πσ2βˆ«βˆ’βˆžβˆžπ‘’βˆ’π‘’22Οƒ2 d𝑒=1,{\int }_{-\infty }^{\infty }\frac{1}{\sqrt{2\pi {\sigma }^{2}}}\exp \left[-\frac{{(π‘₯-\mu )}^{2}}{2{\sigma }^{2}}\right]\, \mathrm{d}π‘₯=\frac{1}{\sqrt{2\pi {\sigma }^{2}}}{\int }_{-\infty }^{\infty }{𝑒}^{-{𝑒}^{2}}\sqrt{2{\sigma }^{2}}\, \mathrm{d}𝑒=1,
(3.8)

where the last step uses (3.7).

Next we compute the MGF of the normal distribution. We have

𝑀(𝑑)=E[𝑒𝑑𝑋]=12πσ2βˆ«βˆ’βˆžβˆžexp⁑[βˆ’(π‘₯βˆ’ΞΌ)22Οƒ2+𝑑π‘₯] dπ‘₯.𝑀(𝑑)=\mathbb{E}[{𝑒}^{𝑑𝑋}]=\frac{1}{\sqrt{2\pi {\sigma }^{2}}}{\int }_{-\infty }^{\infty }\exp \left[-\frac{{(π‘₯-\mu )}^{2}}{2{\sigma }^{2}}+𝑑π‘₯\right]\, \mathrm{d}π‘₯.
(3.9)

The idea is to complete the square in π‘₯π‘₯, writing the exponent as

βˆ’(π‘₯βˆ’π‘Ž)22Οƒ2+𝑏-\frac{{(π‘₯-π‘Ž)}^{2}}{2{\sigma }^{2}}+𝑏

for constants π‘Žπ‘Ž and 𝑏𝑏 that do not depend on π‘₯π‘₯.

Note

For any π‘ŽβˆˆRπ‘Ž\in \mathbb{R},

βˆ«βˆ’βˆžβˆžexp⁑[βˆ’(π‘₯βˆ’π‘Ž)22Οƒ2] dπ‘₯=2πσ2,{\int }_{-\infty }^{\infty }\exp \left[-\frac{{(π‘₯-π‘Ž)}^{2}}{2{\sigma }^{2}}\right]\, \mathrm{d}π‘₯=\sqrt{2\pi {\sigma }^{2}},

by (3.8) with ΞΌ\mu replaced by π‘Žπ‘Ž.

Completing the square in the exponent of (3.9) gives

βˆ’(π‘₯βˆ’ΞΌ)22Οƒ2+𝑑π‘₯=βˆ’[π‘₯βˆ’(ΞΌ+Οƒ2𝑑)]22Οƒ2+μ𝑑+Οƒ2𝑑22.-\frac{{(π‘₯-\mu )}^{2}}{2{\sigma }^{2}}+𝑑π‘₯=-\frac{{[π‘₯-(\mu +{\sigma }^{2}𝑑)]}^{2}}{2{\sigma }^{2}}+\mu 𝑑+\frac{{\sigma }^{2}{𝑑}^{2}}{2}.

Hence (3.9) becomes

𝑀(𝑑)=12πσ2exp⁑(μ𝑑+Οƒ2𝑑22)βˆ«βˆ’βˆžβˆžexp⁑[βˆ’[π‘₯βˆ’(ΞΌ+Οƒ2𝑑)]22Οƒ2] dπ‘₯=12πσ2exp⁑(μ𝑑+Οƒ2𝑑22)2πσ2=exp⁑(μ𝑑+Οƒ2𝑑22).\begin{aligned}𝑀(𝑑) & =\frac{1}{\sqrt{2\pi {\sigma }^{2}}}\exp \left(\mu 𝑑+\frac{{\sigma }^{2}{𝑑}^{2}}{2}\right){\int }_{-\infty }^{\infty }\exp \left[-\frac{{[π‘₯-(\mu +{\sigma }^{2}𝑑)]}^{2}}{2{\sigma }^{2}}\right]\, \mathrm{d}π‘₯ \\ & =\frac{1}{\sqrt{2\pi {\sigma }^{2}}}\exp \left(\mu 𝑑+\frac{{\sigma }^{2}{𝑑}^{2}}{2}\right)\sqrt{2\pi {\sigma }^{2}} \\ & =\exp \left(\mu 𝑑+\frac{{\sigma }^{2}{𝑑}^{2}}{2}\right).\end{aligned}

Thus the MGF is

𝑀(𝑑)=exp⁑(μ𝑑+Οƒ2𝑑22),π‘‘βˆˆR.𝑀(𝑑)=\exp \left(\mu 𝑑+\frac{{\sigma }^{2}{𝑑}^{2}}{2}\right),\quad 𝑑\in \mathbb{R}.

Differentiating,

𝑀′(𝑑)=(ΞΌ+Οƒ2𝑑)exp⁑(μ𝑑+Οƒ2𝑑22)𝑀′′(𝑑)=[Οƒ2+(ΞΌ+Οƒ2𝑑)2]exp⁑(μ𝑑+Οƒ2𝑑22).\begin{aligned}{𝑀}^{\prime }(𝑑) & =(\mu +{\sigma }^{2}𝑑)\exp \left(\mu 𝑑+\frac{{\sigma }^{2}{𝑑}^{2}}{2}\right) \\ {𝑀}^{\prime\prime }(𝑑) & =[{\sigma }^{2}+{(\mu +{\sigma }^{2}𝑑)}^{2}]\exp \left(\mu 𝑑+\frac{{\sigma }^{2}{𝑑}^{2}}{2}\right).\end{aligned}

At 𝑑=0𝑑=0,

𝑀′(0)=ΞΌand𝑀′′(0)=Οƒ2+ΞΌ2.{𝑀}^{\prime }(0)=\mu \quad \text{and}\quad {𝑀}^{\prime\prime }(0)={\sigma }^{2}+{\mu }^{2}.

Therefore E[𝑋]=ΞΌ\mathbb{E}[𝑋]=\mu and Var⁑(𝑋)=𝑀′′(0)βˆ’[𝑀′(0)]2=Οƒ2\operatorname{Var}(𝑋)={𝑀}^{\prime\prime }(0)-{[{𝑀}^{\prime }(0)]}^{2}={\sigma }^{2}, in agreement with the usual meaning of ΞΌ\mu and Οƒ2{\sigma }^{2} in 𝒩(ΞΌ,Οƒ2)𝒩(\mu ,{\sigma }^{2}).

Specially, if 𝑍=𝒩(0,1)𝑍=𝒩(0,1), then 𝑍𝑍 is said to have a standard normal distribution. Its PDF is given by

𝑓(𝑧)=12Ο€π‘’βˆ’π‘§22,π‘§βˆˆR.𝑓(𝑧)=\frac{1}{\sqrt{2\pi }}{𝑒}^{-\frac{{𝑧}^{2}}{2}},\quad 𝑧\in \mathbb{R}.

And its CDF is often denoted by Ξ¦(𝑧)\Phi (𝑧):

Ξ¦(𝑧)=P(𝑍≀𝑧)=βˆ«βˆ’βˆžπ‘§12Ο€π‘’βˆ’π‘‘2/2 d𝑑.\Phi (𝑧)=β„™(𝑍\leq 𝑧)={\int }_{-\infty }^{𝑧}\frac{1}{\sqrt{2\pi }}{𝑒}^{-{𝑑}^{2}/2}\, \mathrm{d}𝑑.
Note

For a general normal distribution π‘‹βˆΌπ’©(ΞΌ,Οƒ2)π‘‹βˆΌπ’©(\mu ,{\sigma }^{2}), the CDF of 𝑋𝑋 can be written as

𝐹𝑋(π‘₯)=Ξ¦(π‘₯βˆ’ΞΌΟƒ).{𝐹}_{𝑋}(π‘₯)=\Phi \left(\frac{π‘₯-\mu }{\sigma }\right).
(3.10)

If we can write the CDF of some random variable π‘Œπ‘Œ as

πΉπ‘Œ(𝑦)=Ξ¦(π‘¦βˆ’π‘Žπ‘){𝐹}_{π‘Œ}(𝑦)=\Phi \left(\frac{𝑦-π‘Ž}{𝑏}\right)

where 𝑏>0𝑏>0, then we may conclude that π‘ŒβˆΌπ’©(π‘Ž,𝑏2)π‘ŒβˆΌπ’©(π‘Ž,{𝑏}^{2}). (The condition 𝑏>0𝑏>0 is important and it is easy to overlook.)

Finally, the MGF of the standard normal distribution is

𝑀(𝑑)=𝑒𝑑2/2,π‘‘βˆˆR.𝑀(𝑑)={𝑒}^{{𝑑}^{2}/2},\quad 𝑑\in \mathbb{R}.

Figure 3.5 shows the standard normal PDF.

Figure 3.5 Standard normal PDF 𝑓(𝑧)𝑓(𝑧). The shaded area to the left of 𝑧0{𝑧}_{0} equals Ξ¦(𝑧0)\Phi ({𝑧}_{0}).

Because the standard normal PDF is symmetric about 𝑧=0𝑧=0, intuitively we have Ξ¦(βˆ’π‘§)=1βˆ’Ξ¦(𝑧)\Phi (-𝑧)=1-\Phi (𝑧). But it is worth an exercise to show this.

Exercise 3.6

Show that

Ξ¦(βˆ’π‘§)=1βˆ’Ξ¦(𝑧).\Phi (-𝑧)=1-\Phi (𝑧).
(3.11)
Proof

We have

Ξ¦(βˆ’π‘§)=βˆ«βˆ’βˆžβˆ’π‘§π‘“(𝑑) d𝑑Substitute 𝑑=βˆ’π‘’=βˆ«βˆžπ‘§π‘“(βˆ’π‘’)(βˆ’1) d𝑒=βˆ«π‘§βˆžπ‘“(𝑒) d𝑒=1βˆ’βˆ«βˆ’βˆžπ‘§π‘“(𝑒) d𝑒=1βˆ’Ξ¦(𝑧).\begin{aligned}\Phi (-𝑧) & ={\int }_{-\infty }^{-𝑧}𝑓(𝑑)\, \mathrm{d}𝑑 \\ & \text{Substitute}\, 𝑑=-𝑒 \\ & ={\int }_{\infty }^{𝑧}𝑓(-𝑒)(-1)\, \mathrm{d}𝑒 \\ & ={\int }_{𝑧}^{\infty }𝑓(𝑒)\, \mathrm{d}𝑒 \\ & =1-{\int }_{-\infty }^{𝑧}𝑓(𝑒)\, \mathrm{d}𝑒 \\ & =1-\Phi (𝑧).\end{aligned}

As with the chi-squared distribution, tail probabilities for the standard normal underlie many routine calculations in inference. The upper Ξ±\alpha critical value 𝑧α{𝑧}_{\alpha } is defined by

P(𝑍β‰₯𝑧α)=Ξ±.β„™(𝑍\geq {𝑧}_{\alpha })=\alpha .

Equivalently, 𝑧α{𝑧}_{\alpha } is the 100(1βˆ’Ξ±)100(1-\alpha )-th percentile of the standard normal distribution, i.e.

Ξ¦(𝑧α)=P(𝑍≀𝑧α)=1βˆ’Ξ±.\Phi ({𝑧}_{\alpha })=β„™(𝑍\leq {𝑧}_{\alpha })=1-\alpha .

Figure 3.6 illustrates the upper tail when Ξ±=0.05\alpha =0.05; in this case π‘§Ξ±β‰ˆ1.6449{𝑧}_{\alpha }\approx 1.6449.

Figure 3.6 Standard normal PDF with the upper tail of area Ξ±=0.05\alpha =0.05 shaded; the corresponding upper critical value satisfies π‘§Ξ±β‰ˆ1.6449{𝑧}_{\alpha }\approx 1.6449.
Exercise 3.7

Due to the symmetry of the standard normal distribution, show that

  1. P(π‘β‰€βˆ’π‘§Ξ±)=P(𝑍β‰₯𝑧α)=Ξ±β„™(𝑍\leq -{𝑧}_{\alpha })=β„™(𝑍\geq {𝑧}_{\alpha })=\alpha , and
  2. 𝑧1βˆ’Ξ±=βˆ’π‘§Ξ±{𝑧}_{1-\alpha }=-{𝑧}_{\alpha }.
Proof

To show (a), we apply (3.11) to get

P(π‘β‰€βˆ’π‘§Ξ±)=Ξ¦(βˆ’π‘§Ξ±)=1βˆ’Ξ¦(𝑧α)=1βˆ’(1βˆ’Ξ±)=Ξ±=P(𝑍β‰₯𝑧α).β„™(𝑍\leq -{𝑧}_{\alpha })=\Phi (-{𝑧}_{\alpha })=1-\Phi ({𝑧}_{\alpha })=1-(1-\alpha )=\alpha =β„™(𝑍\geq {𝑧}_{\alpha }).

We now show (b). Applying Ξ¦\Phi to 𝑧1βˆ’Ξ±{𝑧}_{1-\alpha }, we get

Ξ¦(𝑧1βˆ’Ξ±)=1βˆ’Ξ¦(βˆ’π‘§1βˆ’Ξ±).\Phi ({𝑧}_{1-\alpha })=1-\Phi (-{𝑧}_{1-\alpha }).

Using (a), Ξ¦(βˆ’π‘§1βˆ’Ξ±)=1βˆ’Ξ±\Phi (-{𝑧}_{1-\alpha })=1-\alpha . Therefore,

Ξ¦(𝑧1βˆ’Ξ±)=1βˆ’(1βˆ’Ξ±)=Ξ±.\Phi ({𝑧}_{1-\alpha })=1-(1-\alpha )=\alpha .

Meanwhile,

Ξ¦(βˆ’π‘§Ξ±)=1βˆ’Ξ¦(𝑧α)=1βˆ’(1βˆ’Ξ±)=Ξ±.\Phi (-{𝑧}_{\alpha })=1-\Phi ({𝑧}_{\alpha })=1-(1-\alpha )=\alpha .

Therefore,

Ξ¦(𝑧1βˆ’Ξ±)=Ξ¦(βˆ’π‘§Ξ±)=Ξ±.\Phi ({𝑧}_{1-\alpha })=\Phi (-{𝑧}_{\alpha })=\alpha .

Since Ξ¦\Phi is strictly increasing, we have

𝑧1βˆ’Ξ±=βˆ’π‘§Ξ±.{𝑧}_{1-\alpha }=-{𝑧}_{\alpha }.
Theorem 3.1

If π‘‹βˆΌπ’©(ΞΌ,Οƒ2)π‘‹βˆΌπ’©(\mu ,{\sigma }^{2}), then

𝑍=π‘‹βˆ’ΞΌΟƒβˆΌπ’©(0,1).𝑍=\frac{𝑋-\mu }{\sigma }βˆΌπ’©(0,1).
Proof

We consider the CDF of 𝑍𝑍. We have

𝐹𝑍(𝑧)=P(𝑍≀𝑧)=P(π‘‹βˆ’ΞΌΟƒβ‰€π‘§)=P(𝑋≀μ+σ𝑧)=βˆ«βˆ’βˆžΞΌ+σ𝑧𝑓𝑋(π‘₯) dπ‘₯Change variable π‘₯=ΞΌ+σ𝑑=βˆ«βˆ’βˆžπ‘§π‘“π‘‹(ΞΌ+σ𝑑)σ d𝑑=βˆ«βˆ’βˆžπ‘§12Ο€π‘’βˆ’π‘‘2/2 d𝑑=Ξ¦(𝑧).\begin{aligned}{𝐹}_{𝑍}(𝑧)=β„™(𝑍\leq 𝑧)=β„™\left(\frac{𝑋-\mu }{\sigma }\leq 𝑧\right) & =β„™(𝑋\leq \mu +\sigma 𝑧) \\ & ={\int }_{-\infty }^{\mu +\sigma 𝑧}{𝑓}_{𝑋}(π‘₯)\, \mathrm{d}π‘₯ \\ & \text{Change variable}\, π‘₯=\mu +\sigma 𝑑 \\ & ={\int }_{-\infty }^{𝑧}{𝑓}_{𝑋}(\mu +\sigma 𝑑)\sigma \, \mathrm{d}𝑑 \\ & ={\int }_{-\infty }^{𝑧}\frac{1}{\sqrt{2\pi }}{𝑒}^{-{𝑑}^{2}/2}\, \mathrm{d}𝑑 \\ & =\Phi (𝑧).\end{aligned}

Therefore, π‘βˆΌπ’©(0,1)π‘βˆΌπ’©(0,1).

Remark

If 𝑋𝑋 is any random variable with mean ΞΌ\mu and variance Οƒ2{\sigma }^{2}, then 𝑍=(π‘‹βˆ’ΞΌ)/σ𝑍=(𝑋-\mu )/\sigma is called the standard score associated with 𝑋𝑋. We have

E[𝑍]=E[π‘‹βˆ’ΞΌΟƒ]=E[𝑋]βˆ’ΞΌΟƒ=0\mathbb{E}[𝑍]=\mathbb{E}\left[\frac{𝑋-\mu }{\sigma }\right]=\frac{\mathbb{E}[𝑋]-\mu }{\sigma }=0\quad

and

Var⁑(𝑍)=E[(π‘‹βˆ’ΞΌΟƒ)2]=E[(π‘‹βˆ’ΞΌ)2]Οƒ2=Οƒ2Οƒ2=1.\operatorname{Var}(𝑍)=\mathbb{E}\left[{\left(\frac{𝑋-\mu }{\sigma }\right)}^{2}\right]=\frac{\mathbb{E}[{(𝑋-\mu )}^{2}]}{{\sigma }^{2}}=\frac{{\sigma }^{2}}{{\sigma }^{2}}=1.

That is, the mean and variance of the 𝑍𝑍 are 00 and 11, respectively, no matter what the distribution of 𝑋𝑋 is.

In the case of this theorem, 𝑋𝑋 has a normal distribution and consequently 𝑍𝑍 has a standard normal distributionβ€”of course it has mean 00 and variance 11.

Theorem 3.2

Let π‘βˆΌπ’©(0,1)π‘βˆΌπ’©(0,1), then

𝑍2βˆΌΟ‡2(1).{𝑍}^{2}∼{\chi }^{2}(1).

In fact, this is why chi-squared distribution is named as suchβ€”it is the square of a random variable.

The proof uses the PDF of Ο‡2(1){\chi }^{2}(1), which involves Ξ“(1/2)\Gamma (1/2); the following exercise evaluates Ξ“(1/2)\Gamma (1/2).

Exercise 3.8
Evaluate Ξ“(1/2)\Gamma (1/2).
Solution

Recall that Ξ“(𝑑)\Gamma (𝑑) is given by

Ξ“(𝑑)=∫0βˆžπ‘¦π‘‘βˆ’1π‘’βˆ’π‘¦β€‰d𝑦.\Gamma (𝑑)={\int }_{0}^{\infty }{𝑦}^{𝑑-1}{𝑒}^{-𝑦}\, \mathrm{d}𝑦.

At 1/21/2,

Ξ“(12)=∫0∞1π‘¦π‘’βˆ’π‘¦β€‰d𝑦.\Gamma \left(\frac{1}{2}\right)={\int }_{0}^{\infty }\frac{1}{\sqrt{𝑦}}{𝑒}^{-𝑦}\, \mathrm{d}𝑦.

Substitute 𝑦=𝑒2𝑦={𝑒}^{2}, we obtain

Ξ“(12)=∫0∞1π‘’π‘’βˆ’π‘’22𝑒 d𝑒=2∫0βˆžπ‘’βˆ’π‘’2 d𝑒=Ο€.\Gamma \left(\frac{1}{2}\right)={\int }_{0}^{\infty }\frac{1}{𝑒}{𝑒}^{-{𝑒}^{2}}2𝑒\, \mathrm{d}𝑒=2{\int }_{0}^{\infty }{𝑒}^{-{𝑒}^{2}}\, \mathrm{d}𝑒=\sqrt{\pi }.

where the last step follows from (3.7). Therefore, Ξ“(1/2)=Ο€\Gamma (1/2)=\sqrt{\pi }.

We now present the proof of Theorem 3.2.

Proof

Substituting π‘Ÿ=1π‘Ÿ=1 into (3.5) and then plugging in the value of Ξ“(1/2)=Ο€\Gamma (1/2)=\sqrt{\pi }, we get the PDF of Ο‡2(1){\chi }^{2}(1):

𝑓(π‘₯)=1Ξ“(1/2)β‹…2π‘₯1/2βˆ’1π‘’βˆ’π‘₯/2=12Ο€π‘₯βˆ’1/2π‘’βˆ’π‘₯/2.𝑓(π‘₯)=\frac{1}{\Gamma (1/2)\cdot \sqrt{2}}{π‘₯}^{1/2-1}{𝑒}^{-π‘₯/2}=\frac{1}{\sqrt{2\pi }}{π‘₯}^{-1/2}{𝑒}^{-π‘₯/2}.
(3.12)

Let 𝑋=𝑍2𝑋={𝑍}^{2}. The CDF of 𝑋𝑋 is given by

𝐹𝑋(π‘₯)=P(𝑋≀π‘₯)=P(𝑍2≀π‘₯)=P(βˆ’π‘₯≀𝑍≀π‘₯)=Ξ¦(π‘₯)βˆ’Ξ¦(βˆ’π‘₯)=2Ξ¦(π‘₯)βˆ’1.\begin{aligned}{𝐹}_{𝑋}(π‘₯)=β„™(𝑋\leq π‘₯)=β„™({𝑍}^{2}\leq π‘₯) & =β„™\left(-\sqrt{π‘₯}\leq 𝑍\leq \sqrt{π‘₯}\right) \\ & =\Phi \left(\sqrt{π‘₯}\right)-\Phi \left(-\sqrt{π‘₯}\right) \\ & =2\Phi \left(\sqrt{π‘₯}\right)-1.\end{aligned}

where the last step uses (3.11). Note that 𝐹𝑋{𝐹}_{𝑋} is differentiable in (0,∞)(0,\infty ). Taking the derivative, we get the PDF of 𝑋𝑋:

𝑓𝑋(π‘₯)=𝐹𝑋′(π‘₯)=ddπ‘₯(2Ξ¦(π‘₯)βˆ’1)=Ξ¦β€²(π‘₯)β‹…1π‘₯{𝑓}_{𝑋}(π‘₯)={𝐹}_{𝑋}\prime (π‘₯)=\frac{\mathrm{d}}{\mathrm{d}π‘₯}\left(2\Phi \left(\sqrt{π‘₯}\right)-1\right)={\Phi }^{\prime }\left(\sqrt{π‘₯}\right)\cdot \frac{1}{\sqrt{π‘₯}}

Recall that the derivative of Ξ¦(π‘₯)\Phi (π‘₯) is the PDF of the standard normal distribution. Therefore, we obtain

𝑓𝑋(π‘₯)=12Ο€π‘’βˆ’(π‘₯)2/2β‹…1π‘₯=12Ο€π‘₯βˆ’1/2π‘’βˆ’π‘₯/2.{𝑓}_{𝑋}(π‘₯)=\frac{1}{\sqrt{2\pi }}{𝑒}^{-{\left(\sqrt{π‘₯}\right)}^{2}/2}\cdot \frac{1}{\sqrt{π‘₯}}=\frac{1}{\sqrt{2\pi }}{π‘₯}^{-1/2}{𝑒}^{-π‘₯/2}.
(3.13)

Note that (3.13) is the same as (3.12), which shows that π‘‹βˆΌΟ‡2(1)π‘‹βˆΌ{\chi }^{2}(1).

Exercises

Exercise 3.9
If π‘‹βˆΌπ’©(ΞΌ,Οƒ2)π‘‹βˆΌπ’©(\mu ,{\sigma }^{2}), show that π‘Œ=π‘Žπ‘‹+π‘βˆΌπ’©(π‘ŽΞΌ+𝑏,π‘Ž2Οƒ2)π‘Œ=π‘Žπ‘‹+π‘βˆΌπ’©(π‘Ž\mu +𝑏,{π‘Ž}^{2}{\sigma }^{2}) (π‘Žβ‰ 0π‘Ž\neq 0).
Proof

If π‘Ž>0π‘Ž>0, we have

πΉπ‘Œ(𝑦)=P(π‘Œβ‰€π‘¦)=P(π‘Žπ‘‹+𝑏≀𝑦)=P(π‘‹β‰€π‘¦βˆ’π‘π‘Ž)=𝐹𝑋(π‘¦βˆ’π‘π‘Ž)=Ξ¦(π‘¦βˆ’π‘π‘Žβˆ’ΞΌΟƒ)=Ξ¦[π‘¦βˆ’(π‘ŽΞΌ+𝑏)π‘ŽΟƒ].\begin{aligned}{𝐹}_{π‘Œ}(𝑦)=β„™(π‘Œ\leq 𝑦)=β„™(π‘Žπ‘‹+𝑏\leq 𝑦) & =β„™\left(𝑋\leq \frac{𝑦-𝑏}{π‘Ž}\right)={𝐹}_{𝑋}\left(\frac{𝑦-𝑏}{π‘Ž}\right) \\ & =\Phi \left(\frac{\frac{𝑦-𝑏}{π‘Ž}-\mu }{\sigma }\right) \\ & =\Phi \left[\frac{𝑦-(π‘Ž\mu +𝑏)}{π‘Ž\sigma }\right].\end{aligned}

The denominator π‘ŽΟƒ>0π‘Ž\sigma >0 because π‘Ž>0π‘Ž>0. By (3.10), we note that the function above is extact the CDF of 𝒩(π‘ŽΞΌ+𝑏,π‘Ž2Οƒ2)𝒩(π‘Ž\mu +𝑏,{π‘Ž}^{2}{\sigma }^{2}), and hence π‘ŒβˆΌπ’©(π‘ŽΞΌ+𝑏,π‘Ž2Οƒ2)π‘ŒβˆΌπ’©(π‘Ž\mu +𝑏,{π‘Ž}^{2}{\sigma }^{2}).

If π‘Ž<0π‘Ž<0, we have

πΉπ‘Œ(𝑦)=P(𝑋β‰₯π‘¦βˆ’π‘π‘Ž)=1βˆ’πΉπ‘‹(π‘¦βˆ’π‘π‘Ž)=1βˆ’Ξ¦(π‘¦βˆ’π‘π‘Žβˆ’ΞΌΟƒ)=1βˆ’Ξ¦[π‘¦βˆ’(π‘ŽΞΌ+𝑏)π‘ŽΟƒ]=Ξ¦[π‘¦βˆ’(π‘ŽΞΌ+𝑏)βˆ’π‘ŽΟƒ].\begin{aligned}{𝐹}_{π‘Œ}(𝑦)=β„™\left(𝑋\geq \frac{𝑦-𝑏}{π‘Ž}\right) & =1-{𝐹}_{𝑋}\left(\frac{𝑦-𝑏}{π‘Ž}\right) \\ & =1-\Phi \left(\frac{\frac{𝑦-𝑏}{π‘Ž}-\mu }{\sigma }\right) \\ & =1-\Phi \left[\frac{𝑦-(π‘Ž\mu +𝑏)}{π‘Ž\sigma }\right] \\ & =\Phi \left[\frac{𝑦-(π‘Ž\mu +𝑏)}{-π‘Ž\sigma }\right].\end{aligned}

Note that βˆ’π‘ŽΟƒ>0-π‘Ž\sigma >0. Thus, RHS is indeed the CDF of 𝒩(π‘ŽΞΌ+𝑏,π‘Ž2Οƒ2)𝒩(π‘Ž\mu +𝑏,{π‘Ž}^{2}{\sigma }^{2}).

Exercise 3.10

Material strength 𝑋𝑋 (in whatever units the data use) is modeled by 𝑋=π‘’π‘Œπ‘‹={𝑒}^{π‘Œ} with π‘ŒβˆΌπ’©(ΞΌ,Οƒ2)π‘ŒβˆΌπ’©(\mu ,{\sigma }^{2}), so 𝑋𝑋 has a lognormal distribution. Then π‘Œ=lnβ‘π‘‹π‘Œ=\ln 𝑋 is the same variability on a log scale and has no unit. One uses this form because strength is positive (so 𝑋=π‘’π‘Œπ‘‹={𝑒}^{π‘Œ} rules out the negative values a direct normal model for 𝑋𝑋 could allow) and because variability is often more natural on a relative scale: multiplicative factors in 𝑋𝑋 become additive in π‘Œπ‘Œ, and a sum of many small perturbations is commonly approximated by a normal lawβ€”hence a normal π‘Œπ‘Œ and a lognormal 𝑋𝑋. In part (b), the cutoffs 1000010000 and 2000020000 match the usual order of magnitude for strength or stress quoted in psi (pounds per square inch); in SI, megapascals are more common and the numerals would typically be much smaller.

  1. Find the CDF and PDF of 𝑋𝑋 in terms of Ξ¦\Phi and ΞΌ\mu , Οƒ2{\sigma }^{2}.
  2. For ΞΌ=10\mu =10 and Οƒ2=1{\sigma }^{2}=1, calculate P(10000<𝑋<20000)β„™(10000<𝑋<20000).
Solution

(a) We have

𝐹π‘₯(π‘₯)=P(𝑋≀π‘₯)=P(π‘’π‘Œβ‰€π‘₯)=P(π‘Œβ‰€ln⁑π‘₯)=Ξ¦(ln⁑π‘₯βˆ’ΞΌΟƒ).{𝐹}_{π‘₯}(π‘₯)=β„™(𝑋\leq π‘₯)=β„™({𝑒}^{π‘Œ}\leq π‘₯)=β„™(π‘Œ\leq \ln π‘₯)=\Phi \left(\frac{\ln π‘₯-\mu }{\sigma }\right).

Differentiating, we get the PDF of 𝑋𝑋:

𝑓𝑋(π‘₯)=𝐹𝑋′(π‘₯)=ddπ‘₯Ξ¦(ln⁑π‘₯βˆ’ΞΌΟƒ)=1Οƒπ‘₯Ξ¦β€²(ln⁑π‘₯βˆ’ΞΌΟƒ)=1Οƒπ‘₯12Ο€exp⁑[βˆ’(ln⁑π‘₯βˆ’ΞΌ)22Οƒ2]=1π‘₯2πσ2exp⁑[βˆ’(ln⁑π‘₯βˆ’ΞΌ)22Οƒ2].\begin{aligned}{𝑓}_{𝑋}(π‘₯)={𝐹}_{𝑋}\prime (π‘₯)=\frac{\mathrm{d}}{\mathrm{d}π‘₯}\Phi \left(\frac{\ln π‘₯-\mu }{\sigma }\right) & =\frac{1}{\sigma π‘₯}{\Phi }^{\prime }\left(\frac{\ln π‘₯-\mu }{\sigma }\right) \\ & =\frac{1}{\sigma π‘₯}\frac{1}{\sqrt{2\pi }}\exp \left[-\frac{{(\ln π‘₯-\mu )}^{2}}{2{\sigma }^{2}}\right] \\ & =\frac{1}{π‘₯\sqrt{2\pi {\sigma }^{2}}}\exp \left[-\frac{{(\ln π‘₯-\mu )}^{2}}{2{\sigma }^{2}}\right].\end{aligned}

(b) P(10000<𝑋<20000)=𝐹𝑋(20000)βˆ’πΉπ‘‹(10000)β‰ˆ0.2467β„™(10000<𝑋<20000)={𝐹}_{𝑋}(20000)-{𝐹}_{𝑋}(10000)\approx 0.2467.