



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




Example 22.1 (Standard normal density). I claim that
φ(x) =
2 π
exp
x^2
2
defines a density function. Clearly, φ(x) ≥ 0 and is continuous at all points
x. So it suffices to show that the area under φ is one. Define
−∞
φ(x) dx.
Then,
2 π
−∞
exp
x^2 + y^2
2
dx dy
2 π
∫ (^2) π
0
0
exp
r^2
2
r dr dθ.
Let s = r^2 / 2 to find that the inner integral is
0 exp(−s)^ ds^ =^ 1.^ Therefore, A^2 = 1 and hence A = 1, as desired. [Why is A not −1?]
The distribution function of φ is
Φ(x) =
2 π
∫ (^) x
−∞
e−z
(^2) / 2 dz.
One can prove that there is “no nice formula” that “describes” Φ(x) for all
x (theorem of Liouville). Usually, people use tables of integrals to evaluate
Φ(x) for concrete values of x.
Example 22.2 (Gamma densities). Choose and fix two numbers (parame-
ters) α, λ > 0. The gamma density with parameters α and λ is the proba-
bility density function that is proportional to
{ xα−^1 e−λx^ if x ≥ 0 ,
0 if x < 0.
Now, ∫ (^) ∞
0
x
α− 1 e
−λx dx =
λ α
0
y
α− 1 e
−y dy.
Define the gamma function as
Γ(α) =
0
y α−^1 e−y^ dy for all α > 0.
One can prove that there is “no nice formula” that “describes” Γ(α) for all α
(theorem of Liouville). Thus, the best we can do is to say that the following
is a Gamma density with parameters α, λ > 0:
f (x) =
λ α
Γ(α)
xα−^1 e−λx^ if x ≥ 0 ,
0 if x < 0.
You can probably guess by now (and correctly!) that F (x) =
∫ (^) x −∞ f^ (y)^ dy cannot be described by nice functions either. Nonetheless, let us finish by
making the observation that Γ(α) is computable for some reasonable values
of α > 0. The key to unraveling this remark is the following “reproducing
property”:
Γ(α + 1) = αΓ(α) for all α > 0. (18)
The proof uses integration by parts:
Γ(α + 1) =
0
xα^ e−x^ dx
0
u(x)v
′ (x) dx,
where u(x) = xα^ and v ′^ (x) = e−x^. Integration by parts states that 1
∫
uv ′^ = uv −
v ′^ u for indefinite integrals.
(^1) This follows immediately from integrating the product rule: (uv) ′ (^) = u ′ (^) v + uv ′ (^).
Example 22.4. Suppose X has density fX. Then let us find the density
function of Y = X 2. Again, we seek to first compute F (^) Y. Now, for all a > 0,
F (^) Y (a) = P{X
2 ≤ a} = P
a ≤ X ≤
a
a
a
Differentiate [d/da] to find that
fY (a) =
fX (
a) + fX (−
a)
2
a
On the other hand, fY (a) = 0 if a ≤ 0. For example, consider the case that
X is standard normal. Then,
fX 2 (a) =
e−a √ 2 πa
if a > 0 ,
0 if a ≤ 0.
Or if X is Cauchy, then
fX 2 (a) =
π
a(1 + a)
if a > 0 ,
0 if a ≤ 0.
Example 22.5. Suppose μ ∈ R and σ > 0 are fixed constants, and define
Y = μ + σX. Find the density of Y in terms of that of X. Once again,
F (^) Y (a) = P {μ + σX ≤ a} = P
a − μ
σ
a − μ
σ
Therefore,
fY (a) =
σ
fX
a − μ
σ
For example, if X is standard normal, then
fμ+σX (a) =
2 πσ 2
exp
(x − μ)^2
2 σ 2
This is the socalled N (μ , σ 2 ) density.
Example 22.6. Suppose X is uniformly distributed on (0 , 1), and define
0 if 0 ≤ X < 13 ,
1 if 13 ≤ X < 23 ,
2 if
2 3 ≤^ X <^1.
Then, Y is a discrete random variable with mass function,
fY (x) =
1 3 if^ x^ = 0, 1, or 2, 0 otherwise.
For instance, in order to compute fY (1) we note that
fY (1) = P
1 / 3
fX (y) ︸ ︷︷ ︸ ≡ 1
dy =