Docsity

Advanced Probability and Statistics Inference I, Notas de aula de Cálculo Avançado

Pré-visualização parcial do texto

Baixe Advanced Probability and Statistics Inference I e outras Notas de aula em PDF para Cálculo Avançado, somente na Docsity!

ADVANCED PROBABILITY AND

STATISTICAL INFERENCE I

Lecture Notes of BIOS 760

Distribution of Normalized Summation of n i.i.d Uniform Random Variables

PREFACE

These course notes have been revised based on my past teaching experience at the department of Biostatistics in the University of North Carolina in Fall 2004 and Fall 2005. The context in- cludes distribution theory, probability and measure theory, large sample theory, theory of point estimation and efficiency theory. The last chapter specially focuses on maximum likelihood approach. Knowledge of fundamental real analysis and statistical inference will be helpful for reading these notes.

Most parts of the notes are compiled with moderate changes based on two valuable textbooks: Theory of Point Estimation (second edition, Lehmann and Casella, 1998) and A Course in Large Sample Theory (Ferguson, 2002). Some notes are also borrowed from a similar course taught in the University of Washington, Seattle, by Professor Jon Wellner. The revision has incorporated valuable comments from my colleagues and students sitting in my previous classes. However, there are inevitably numerous errors in the notes and I take all the responsibilities for these errors.

Donglin Zeng August, 2006

kth moment of X is given as E[Xk] =

i mix k i and the^ kth centralized moment of^ X^ is given as E[(X − μ)k] where μ is the expectation of X. If X is a continuous random variable with prob- ability density function fX (x), then the cumulative distribution function FX (x) =

∫ (^) x −∞ fX^ (t)dt and the kth moment of X is given as E[Xk] =

−∞ x

kfX (x)dx if the integration is finite.

The skewness of X is given by E[(X − μ)^3 ]/V ar(X)^3 /^2 and the kurtosis of X is given by E[(X − μ)^4 ]/V ar(X)^2. The last two quantities describe the shape of the density function: negative values for the skewness indicate the distribution that are skewed left and positive val- ues for the skewness indicate the distribution that are skewed right. By skewed left, we mean that the left tail is heavier than the right tail. Similarly, skewed right means that the right tail is heavier than the left tail. Large kurtosis indicates a “peaked” distribution and small kurtosis indicates a “flat” distribution. Note that we have already used E[g(X)] to denote the expectation of g(X). Sometimes, we use

g(x)dFX (x) to represent it no matter wether X is continuous or discrete. This notation will be clear after we introduce the probability measure. Next we review an important definition in distribution theory, namely the characteris- tic function of X. By definition, the characteristic function for X is defined as φX (t) = E[exp{itX }] =

exp{itx }dFX (x ), where i is the imaginary unit, the square-root of -1. Equiva- lently, φX (t) is equal to

exp{itx }fX (x )dx for continuous X and is

j mj^ exp{itxj^ }^ for discrete X. The characteristic function is important since it uniquely determines the distribution func- tion of X, the fact implied in the following theorem.

Theorem 1.1 (Uniqueness Theorem) If a random variable X with distribution function FX has a characteristic function φX (t) and if a and b are continuous points of FX , then

FX (b) − FX (a) = lim T →∞

2 π

∫ T

−T

e−ita^ − e−itb it

φX (t)dt.

Moreover, if FX has a density function fX (for continuous random variable X) , then

fX (x) =

2 π

−∞

e−itx^ φX (t)dt.

We defer the proof to Chapter 3. Similar to the characteristic function, we can define the moment generating function for X as MX (t) = E[exp{tX}]. However, we note that MX (t) may not exist for some t but φX (t) always exists. Another important and distinct feature in distribution theory is the independence of two random variables. For two random variables X and Y , we say X and Y are independent if P (X ≤ x, Y ≤ y) = P (X ≤ x)P (Y ≤ y); i.e., the joint distribution function of (X, Y ) is the product of the two marginal distributions. If (X, Y ) has a joint density, then an equivalent definition is that the joint density of (X, Y ) is the product of two marginal den- sities. Independence introduces many useful properties, among which one important property is that E[g(X)h(Y )] = E[g(X)]E[h(Y )] for any sensible functions g and h. In more gen- eral case when X and Y may not be independent, we can calculate the conditional density of X given Y , denoted by fX|Y (x|y), as the ratio between the joint density of (X, Y ) and the marginal density of Y. Thus, the conditional expectation of X given Y = y is equal to

E[X|Y = y] =

xfX|Y (x|y)dx. Clearly, when X and Y are independent, fX|Y (x|y) = fX (x) and E[X|Y = y] = E[X]. For conditional expectation, two formulae are useful:

E[X] = E[E[X|Y ]] and V ar(X) = E[V ar(X|Y )] + V ar(E[X|Y ]).

So far, we have reviewed some basic concepts for a single random variable. All the above definitions can be generalized to multivariate random vector X = (X 1 , ..., Xk)′^ with a joint probability mass function or a joint density function. For example, we can define the mean vector of X as E[X] = (E[X 1 ], ..., E[Xk])′^ and define the covariance matrix for X as E[XX′] − E[X]E[X]′. The cumulative distribution function for X is a k-variate function FX (x 1 , ..., xk) = P (X 1 ≤ x 1 , ..., Xk ≤ xk) and the characteristic function of X is a k-variate function, defined as

φX (t 1 , ..., tk) = E[ei(t^1 X^1 +...+tk^ Xk^ )] =

Rk

ei(t^1 x^1 +...+tk^ xk^ )dFX (x 1 , ..., xk).

Same as Theorem 1.1, an inversion formula holds: Let A = {(x 1 , .., xk) : a 1 < x 1 ≤ b 1 ,... , ak < xk ≤ bk} be a rectangle in Rk^ and assume P (X ∈ ∂A) = 0, where ∂A is the boundary of A. Then FX (b 1 , ..., bk) − FX (a 1 , ..., ak) = P (X ∈ A)

= lim T →∞

(2π)k

∫ T

−T

∫ T

−T

∏k

j=

e−itj^ aj^ − e−itj^ bj itj

φX (t 1 , ..., tk)dt 1 · · · dtk.

Finally, we can define the conditional density, the conditional expectation, the independence of two random vectors similar to the univariate case.

1.2 Examples of Special Distributions

We list some commonly-used distributions in the following examples.

Example 1.1 Bernoulli Distribution and Binomial Distribution A random variable X is said to be Bernoulli(p) if P (X = 1) = p = 1 − P (X = 0). If X 1 , ..., Xn are independent, identically distributed (i.i.d) Bernoulli(p), then Sn = X 1 + ... + Xn has a binomial distribution, denoted by Sn ∼ Binomial(n, p), with

P (Sn = k) =

n k

pk(1 − p)n−k.

The mean of Sn is equal to np and the variance of Sn is equal to np(1 − p). The characteristic function for Sn is given by E[eitSn^ ] = (1 − p + peit^ )n.

Clearly, if S 1 ∼ Binomial(n 1 , p) and S 2 ∼ Binomial(n 2 , p) and S 1 , S 2 are independent, then S 1 + S 2 ∼ Binomial(n 1 + n 2 , p).

Example 1.2 Geometric Distribution and Negative Binomial Distribution Let X 1 , X 2 , ... be i.i.d Bernoulli(p). Define W 1 = min{n : X 1 + ... + Xn = 1}. Then it is easy to see

P (W 1 = k) = (1 − p)k−^1 p, k = 1, 2 , ...

and set N = (N 1 , ..., Nk) =

∑n i=1 Xi. That is,^ Nl,^1 ≤^ l^ ≤^ k^ counts the number of times that {Y 1 , ..., Yn} fall into Bl. It is easy to calculate

P (N 1 = n 1 , ..., Nk = nk) =

n n 1 , ..., nk

pn 1 1 · · · pn k k, n 1 + ... + nk = n,

where p 1 = P (Y 1 ∈ B 1 ), ..., pk = P (Y 1 ∈ Bk). Such a distribution is called the Multinomial distribution, denoted Multinomial(n, (p 1 , .., pk)). We note that each Nl is a binomial distribution with mean npl. Moreover, the covariance matrix for (N 1 , ..., Nk) is given by

n

p 1 (1 − p 1 )... −p 1 pk .. .

−p 1 pk... pk(1 − pk)

Example 1.6 Uniform Distribution A random variable X has a uniform distribution in an interval [a, b] if X’s density function is given by Ia,b/(b−a), denoted by X ∼ U nif orm(a, b). Moreover, E[X] = (a + b)/2 and V ar(X) = (b − a)^2 / 12.

Example 1.7 Normal Distribution The normal distribution is the most commonly used distribution and a random variable X with N (μ, σ^2 ) has a probability density function

1 √ 2 πσ^2

exp{−

(x − μ)^2 2 σ^2

Moreover, E[X] = μ and var(X) = σ^2. The characteristic function for X is given by exp{itμ − σ^2 t^2 / 2 }. We will discuss such distribution in detail later.

Example 1.8 Gamma Distribution A Gamma distribution has a probability density

1 βθΓ(θ)

xθ−^1 exp{−

x β

}, x > 0

denoted by Γ(θ, β). It has mean θβ and variance θβ^2. Specially, when θ = 1, the distribution is called the exponential distribution, Exp(β). When θ = n/2 and β = 2, the distribution is called the Chi-square distribution with degrees of freedom n, denoted by χ^2 n.

Example 1.9 Cauchy Distribution The density for a random variable X ∼ Cauchy(a, b) has the form 1 bπ {1 + (x − a)^2 /b^2 }

Note E[X] = ∞. Such a distribution is often used as a counterexample in distribution theory. Many other distributions can be constructed using some elementary algebra such as sum- mation, product, quotient of the above special distributions. We will discuss them in next section.

1.3 Algebra and Transformation of Random Variables (Vec-

tors)

In many applications, one wishes to calculate the distribution of some algebraic expression of independent random variables. For example, suppose that X and Y are two independent random variables. We wish to find the distributions of X + Y , XY and X/Y (we assume Y > 0 for the last two cases). The calculation of these algebraic distributions is often done using the conditional expec- tation. To see how this works, we denote FZ (·) as the cumulative distribution function of any random variable Z. Then for X + Y ,

FX+Y (z) = E[I(X+Y ≤ z)] = EY [EX [I(X ≤ z−Y )|Y ]] = EY [FX (z−Y )] =

FX (z−y)dFY (y);

symmetrically,

FX+Y (z) =

FY (z − x)dFX (x).

The above formula is called the convolution formula, sometimes denoted by FX ∗ FY (z). If both X and Y have densities functions fX and fY respectively, then the density function for X + Y is equal to

fX ∗ fY (z) ≡

fX (z − y)fY (y)dy =

fY (z − x)fX (x)dx.

Similarly, we can obtain the formulae for XY and X/Y as follows:

FXY (z) = E[E[I(XY ≤ z)|Y ]] =

FX (z/y)dFY (y), fXY (z) =

fX (z/y)/yfY (y)dy,

FX/Y (z) = E[E[I(X/Y ≤ z)|Y ]] =

FX (yz)dFY (y), fX/Y (z) =

fX (yz)yfY (y)dy.

These formulae can be used to construct some familiar distributions from simple random variables. We assume X and Y are independent in the following examples.

Example 1.10 (i) X ∼ N (μ 1 , σ^21 ) and Y ∼ N (μ 2 , σ^22 ). X + Y ∼ N (μ 1 + μ 2 , σ 12 + σ 22 ). (ii) X ∼ Cauchy(0, σ 1 ) and Y ∼ Cauchy(0, σ 2 ) implies X + Y ∼ Cauchy(0, σ 1 + σ 2 ). (iii) X ∼ Gamma(r 1 , θ) and Y ∼ Gamma(r 2 , θ) implies that X + Y ∼ Gamma(r 1 + r 2 , θ). (iv) X ∼ P oisson(λ 1 ) and Y ∼ P oisson(λ 2 ) implies X + Y ∼ P oisson(λ 1 + λ 2 ). (v) X ∼ Negative Binomial(m 1 , p) and Y ∼ Negative Binomial(m 2 , p). Then X +Y ∼ Negative Binomial(m 1 + m 2 , p). The results in Example 1.10 can be verified using the convolution formula. However, these results can also be obtained using characteristic functions, as stated in the following theorem.

Theorem 1.2 Let φX (t) denote the characteristic function for X. Suppose X and Y are independent. Then φX+Y (t) = φX (t)φY (t). †

The proof is direct. We can use Theorem 1.2 to find the distribution of X +Y. For example, in (i) of Example 1.10, we know φX (t) = exp{μ 1 t − σ 12 t^2 / 2 } and φY (t) = exp{μ 2 t − σ 22 t^2 / 2 }. Thus, φX+Y (t) = exp{(μ 1 + μ 2 )t − (σ 12 + σ^22 )t^2 /};

1.4 Multivariate Normal Distribution

One particular distribution we will encounter in larger-sample theory is the multivariate normal distribution. A random vector Y = (Y 1 , ..., Yn)′^ is said to have a multivariate normal distribution with mean vector μ = (μ 1 , ..., μn)′^ and non-degenerate covariance matrix Σn×n, denoted as N (μ, Σ) or Nn(μ, Σ) to emphasize Y ’s dimension, if Y has a joint density as

fY (y 1 , ..., yn) =

(2π)n/^2 |Σ|^1 /^2

exp{−

(y − μ)′Σ−^1 (y − μ)}.

We can derive the characteristic function of Y using the following ad hoc way:

φY (t) = E[eit

′Y ]

=

(2π)n/^2 |Σ|^1 /^2

exp{it′y −

(y − μ)′Σ−^1 (y − μ)}dy

(2π)n/^2 |Σ|^1 /^2

exp{−

y′Σ−^1 y + (it + Σ−^1 μ)′y −

μ′Σ−^1 μ 2

}dy

exp{−μ′Σ−^1 μ/ 2 } (2π)n/^2 |Σ|^1 /^2

exp

(y − Σit − μ)′Σ−^1 (y − Σit − μ)

(Σit + μ)′Σ−^1 (Σit + μ)

dy

= exp{it′μ −

t′Σt}.

Particularly, if Y has standard multivariate normal distribution with mean zero and covariance In×n, φY (t) = exp{−t′t/ 2 }. The following theorem describes the properties of a multivariate normal distribution.

Theorem 1.4 If Y = An×kXk× 1 where X ∼ Nk(0, I) (standard multivariate normal distribu- tion), then Y ’s characteristic function is given by

φY (t) = exp {−t′Σt/ 2 } , t = (t 1 , ..., tn) ∈ Rk

and rank(Σ) = rank(A). Conversely, if φY (t) = exp{−t′Σt/ 2 } with Σn×n ≥ 0 of rank k, then

Y = An×kXk× 1 with rank(A) = k and X ∼ Nk(0, I).

†

Proof

φY (t) = E[exp{it′(AX)}] = E[exp{i(A′t)′X}] = exp{−(A′t)′(A′t)/ 2 } = exp{−t′AA′t/ 2 }.

Thus, Σ = AA′^ and rank(Σ) = rank(A). Conversely, if φY (t) = exp{−t′Σt/ 2 }, then from matrix theory, there exist an orthogonal matrix O such that Σ = O′DO, where D is a diagonal matrix with first k diagonal elements positive and the rest (n − k) elements being zero. Denote

these positive diagonal elements as d 1 , ..., dk. Define Z = OY. Then the characteristic function for Z is given by

φZ (t) = E[exp{it′(OY )}] = E [exp{i(O′t)′Y }] = exp{−(O′t)′Σ (O′t)/ 2 }

= exp{−d 1 t^21 / 2 − ... − dkt^2 k/ 2 }.

This implies that Z 1 , ..., Zk are independent N (0, d 1 ), ..., N (0, dk) and Zk+1 = ... = Zn = 0. Let Xi = Zi/

di for i = 1, ..., k and write O′^ = (Bn×k, Cn×(n−k)). Then

Y = O′Z = Bn×k

Z 1

Zk

 =^ Bn×kdiag{(

d 1 , ...,

dk)}

X 1

Xk

 ≡^ AX.

Clearly, rank(A) = k. †

Theorem 1.5 Suppose that Y = (Y 1 , ..., Yk, Yk+1, ..., Yn)′^ has a multivariate normal distribution with mean μ = (μ(1) ′ , μ(2) ′ )′^ and a non-degenerate covariance matrix

Then (i) (Y 1 , ..., Yk)′^ ∼ Nk(μ(1), Σ 11 ). (ii) (Y 1 , ..., Yk)′^ and (Yk+1, ..., Yn)′^ are independent if and only if Σ 12 = Σ 21 = 0. (iii) For any matrix Am×n, AY has a multivariate normal distribution with mean Aμ and co- variance AΣA′. (iv) The conditional distribution of Y (1)^ = (Y 1 , ..., Yk)′^ given Y (2)^ = (Yk+1, ..., Yn)′^ is a multi- variate normal distribution given as

Y (1)|Y (2)^ ∼ Nk(μ(1)^ + Σ 12 Σ− 221 (Y (2)^ − μ(2)), Σ 11 − Σ 12 Σ− 221 Σ 21 ).

†

Proof (i) From Theorem 1.4, we obtain that the characteristic function for (Y 1 , ..., Yk) − μ(1) is given by exp{−t′(DΣ)(DΣ)′t/ 2 }, where D = (Ik×k 0 k×(n−k)). Thus, the characteristic function is equal to exp {−(t 1 , ..., tk)Σ 11 (t 1 , ..., tk)′/ 2 } ,

which is the same as the characteristic function from Nk(0, Σ 11 ). (ii) The characteristics function for Y can be written as

exp

[

it(1)

′ μ(1)^ + it(2)

′ μ(2)^ −

t(1)

′ Σ 11 t(1)^ + 2t(1)

′ Σ 12 t(2)^ + t(2)

′ Σ 22 t(2)

}]

If Σ 12 = 0, the characteristics function can be factorized as the product of the separate functions for t(1)^ and t(2). Thus, Y (1)^ and Y (2)^ are independent. The converse is obviously true. (iii) The result follows from Theorem 1.4.

1.5 Families of Distributions

In Examples 1.1-1.12, we have listed a number of different distributions. Interestingly, a number of them can be unified into a family of general distribution form. One advantage of this unification is that in order to study the properties of each distribution within the family, we can examine this family as a whole. The first family of distributions is called the location-scale family. Suppose that X has a density function fX (x). Then the location-scale family based on X consists of all the distribu- tions generated by aX + b where a is a positive constant (scale parameter) and b is a constant called location parameter. We notice that the distributions such as N (μ, σ^2 ), U nif orm(a, b), Cauchy(μ, σ) belong a location-scale family. For a location-scale family, we can easily see that aX + b has a density fX ((y − b)/a)/a and it has mean aE[X] + b and variance a^2 var(X). The second important family, which we will discuss in more detail, is called the exponential family. In fact, many examples of either univariate or multivariate distributions, including binomial, poisson distributions for discrete variables and normal distribution, gamma distribu- tion, beta distribution for continuous variables belong to some exponential family. Especially, a family of distributions, {Pθ}, is said to form an s-parameter exponential family if the dis- tributions Pθ have the densities (with respect to some common dominating measure μ) of the form

pθ(x) = exp

{ (^) s ∑

k=

ηk(θ)Tk(x) − B(θ)

h(x).

Here ηi and B are real-valued functions of θ and Ti are real-value function of x. When {ηk(θ)} = θ, the above form is called the canonical form of the exponential family. Clearly, it stipulates that

exp{B(θ)} =

exp{

∑^ s

k=

ηk(θ)Tk(x)}h(x)dμ(x) < ∞.

Example 1.14 X 1 , ..., Xn are i.i.d according to N (μ, σ^2 ). Then the joint density of (X 1 , ..., Xn) is given by

exp

μ σ^2

∑^ n

i=

xi −

2 σ^2

∑^ n

i=

x^2 i −

n 2 σ^2

μ^2

2 πσ)n^

Then η 1 (θ) = μ/σ^2 , η 2 (θ) = − 1 / 2 σ^2 , T 1 (x 1 , ..., xn) =

∑n i=1 xi, and^ T^2 (x^1 , ..., xn) =^

∑n i=1 x

2 i.

Example 1.15 X has binomial distribution Binomial(n, p). The distribution of X = x can written as

exp{x log

p 1 − p

  • n log(1 − p)}

n x

Clearly, η(θ) = log(p/(1 − p)) and T (x) = x.

Example 1.16 X has poisson distribution with poisson rate λ. Then

P (X = x) = exp{x log λ − λ}/x!.

Thus, η(θ) = log λ and T (x) = x.

Since the exponential family covers a number of familiar distributions, one can study the exponential family as a whole to obtain some general results applicable to all the members within the family. One result is to derive the moment generation function for (T 1 , ..., Ts), which is defined as MT (t 1 , ..., ts) = E [exp{t 1 T 1 + ... + tsTs}].

Note that the coefficients in the Taylor expansion of MT correspond to the moments of (T 1 , ..., Ts).

Theorem 1.6 Suppose the densities of an exponential family can be written as the canonical form

exp{

∑^ s

k=

ηkTk(x) − A(η)}h(x),

where η = (η 1 , ..., ηs)′. Then for t = (t 1 , ..., ts)′,

MT (t) = exp{A(η + t) − A(η)}.

†

Proof It follows from that

MT (t) = E [exp{t 1 T 1 + ... + tsTs}] =

exp{

∑^ s

k=

(ηi + ti)Ti(x) − A(η)}h(x)dμ(x)

and

exp{A(η)} =

exp{

∑^ s

k=

ηiTi(x)}h(x)dμ(x).

Therefore, for an exponential family with canonical form, we can apply Theorem 1.6 to calculate moments of some statistics. Another generating function is called the cumulant gen- erating functions defined as

KT (t 1 , ..., ts) = log MT (t 1 , ..., ts) = A(η + t) − A(η).

Its coefficients in the Taylor expansion are called the cumulants for (T 1 , ..., Ts).

Example 1.17 In normal distribution of Example 1.14 with n = 1 and σ^2 fixed, η = μ/σ^2 and

A(η) =

2 σ^2

μ^2 = η^2 σ^2 / 2.

Thus, the moment generating function for T = X is equal to

MT (t) = exp{

σ^2 2

((η + t)^2 − η^2 )} = exp{μt + t^2 σ^2 / 2 }.

From the Taylor expansion, we can obtain the moments of X whose mean is zero (μ = 0) is given by E[X^2 r+1] = 0, E[X^2 r] = 1 · 2 · · · (2r − 1)σ^2 r, r = 1, 2 , ...

  1. Show that for any random variables X, Y and Z,

Cov(X, Y ) = E[Cov(X, Y |Z)] + Cov(E[X|Z], E[Y |Z]),

where Cov(X, Y |Z) is the conditional covariance of X and Y given Z.

  1. Let X and Y be i.i.d Uniform(0,1) random variables. Define U = X−Y , V = max(X, Y ) = X ∨ Y.

(a) What is the range of (U, V )? (b) find the joint density function fU,V (u, v) of the pair (U, V ). Are U and V indepen- dent?

  1. Suppose that for θ ∈ R,

fθ(u, v) = {1 + θ(1 − 2 u)(1 − 2 v)} I(0 ≤ u ≤ 1 , 0 ≤ v ≤ 1).

(a) For what values of θ is fθ a density function in [0, 1]^2? (b) For the set of θ’s identified in (a), find the corresponding distribution function Fθ and show that it has Uniform(0,1) marginal distributions. (c) If (U, V ) ∼ fθ, compute the correlation ρ(U, V ) ≡ ρ as a function of θ.

  1. Suppose that F is the distribution function of random variables X and Y with X ∼ Uniform(0, 1) marginally and Y ∼ Uniform(0, 1) marginally. Thus, F (x, y) satisfies

F (x, 1) = x, 0 ≤ x ≤ 1 , and F (1, y) = y, 0 ≤ y ≤ 1.

(a) Show that F (x, y) ≤ x ∧ y for all 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1. Here x ∧ y = min(x, y) and we denote it as FU (x, y). (b) Show that F (x, y) ≥ (x + y − 1)+ for all 0 ≤ x ≤ 1 , 0 ≤ y ≤ 1. Here (x + y − 1)+^ = max(x + y − 1 , 0) and we denote it as FL(x, y). (c) Show that FU is the distribution function of (X, X) and FL is the distribution func- tion of (X, 1 − X).

  1. (a) If W ∼ χ^22 = Gamma(1, 2), find the density of W , the distribution function W and the inverse distribution function explicitly. (b) Suppose that (X, Y ) ∼ N (0, I 2 × 2 ). In two-dimensional plane, let R be the distance of (X, Y ) from (0, 0) and θ be the angle between the line from (0,0) to (X,Y) and the right-half line of x-axis. Then X = R cos Θ and Y = R sin Θ. Show that R and Θ are independent random variables with R^2 ∼ χ^22 and Θ ∼ Uniform(0, 2 π). (c) Use the above two results to show how to use two independent Uniform(0,1) random variables U and V to generate two standard normal random variables. Hint: use one result that if X has a distribution function F then F (X) has a uniform distribution in [0, 1].
  1. Suppose that X ∼ F on [0, ∞), Y ∼ G on [0, ∞), and X and Y are independent random variables. Let Z = min{X, Y } = X ∧ Y and ∆ = I(X ≤ Y ).

(a) Find the joint distribution of (Z, ∆). (b) If X ∼ Exponential(λ) and Y ∼ Exponential(μ), show that Z and ∆ are indepen- dent.

  1. Let X 1 , ..., Xn be i.i.d N (0, σ^2 ). (w 1 , ..., wn) is a constant vector such that w 1 , ..., wn > 0 and w 1 + ... + wn = 1. Define X¯nw =

w 1 X 1 + ... +

wnXn. Show that

(a) Yn = X¯nw/σ ∼ N (0, 1). (b) (n − 1)S^2 n/σ^2 = (

∑n i=1 X

2 i −^ X¯ 2 nw)/σ (^2) ∼ χ 2 n− 1. (c) Yn and S n^2 are independent so Tn = Yn/

S^2 n ∼ tn− 1 /σ. (d) when w 1 = ... = wn = 1/n, show that Yn is the standardized sample mean and S n^2 is the sample variance.

Hint: Consider an orthogonal matrix Σ such that the first row is (

w 1 , ...,

wn). Let   

Z 1

Zn

X 1

Xn

Then Yn = Z 1 /σ and (n − 1)S n^2 /σ^2 = (Z 22 + ... + Z n^2 )/σ^2.

  1. Let Xn× 1 ∼ N (0, In×n). Suppose that A is a symmetric matrix with rank r. Then X′AX ∼ χ^2 r if and only if A is a projection matrix (that is, A^2 = A). Hint: use the following result from linear algebra: for any symmetric matrix, there exits an orthogonal matrix O such that A = O′^ diag((d 1 , ..., dn))O; A is a projection matrix if and only if d 1 , ..., dn take values of 0 or 1’s.
  2. Let Wm ∼ Negative Binomial(m, p). Consider p as a parameter.

(a) Write the distribution as an exponential family. (b) Use the result for the exponential family to derive the moment generating function of Wm, denoted by M (t). (c) Calculate the first and the second cumulants of Wm. By definition, in the expansion of the cumulant generating function,

log M (t) =

∑^ ∞

k=

μk k!

tk,

μk is the kth cumulant of Wm. Note that these two cumulants are exactly the mean and the variance of Wm.

  1. For the density C exp

−|x|^1 /^2

, −∞ < x < ∞, where C is the normalized constant, show that moments of all orders exist but the moment generating function exists only at t = 0.

CHAPTER 2 MEASURE,

INTEGRATION AND

PROBABILITY

This chapter is an introduction to (probability) measure theories, a foundation for all the probabilistic and statistical framework. We first give the definition of a measure space. Then we introduce measurable functions in a measure space and the integration and convergence of measurable functions. Further generalization including the product of two measures and the Radon-Nikodym derivatives of two measures is introduced. As a special case, we describe how the concepts and the properties in measure space are used in parallel in a probability measure space.

2.1 A Review of Set Theory and Topology in Real Space

We review some basic concepts in set theory. A set is a collection of elements, which can be a collection of real numbers, a group of abstract subjects and etc. In most of cases, we consider that these elements come from one largest set, called a whole space. By custom, a whole space is denoted by Ω so any set is simply a subset of Ω. We can exhaust all possible subsets of Ω then the collection of all these subsets is denoted as 2Ω, called the power set of Ω. We also include the empty set, which has no element at all and is denoted by ∅, in this power set. For any two subsets A and B of the whole space Ω, A is said to be a subset of B if B contains all the elements of A, denoted as A ⊆ B. For arbitrary number of sets {Aα : α is some index}, where the index of α can be finite, countable or uncountable, we define the intersection of these sets as the set which contains all the elements common to Aα for any α. The intersection of these sets is denoted as ∩αAα. Aα’s are disjoint if any two sets have empty intersection. We can also define the union of these sets as the set which contains all the elements belonging to at least one of these sets, denoted as ∪αAα. Finally, we introduce the complement of a set A, denoted by Ac, to be the set which contains all the elements not in A. Among the definitions of set intersection, union and complement, the following relationships are clear: for any B and {Aα}, B ∩ {∪αAα} = ∪α {B ∩ Aα} , B ∪ {∩αAα} = ∩α {B ∪ Aα} , {∪αAα}c^ = ∩αAcα, {∩αAα}c^ = ∪αAcα. ( de Morgan law)

Sometimes, we use (A − B) to denote a subset of A excluding any elements in B. Thus (A − B) = A ∩ Bc. Using this notation, we can always partition the union of any countable

BASIC MEASURE THEORY 18

sets A 1 , A 2 , ... into a union of countable disjoint sets:

A 1 ∪ A 2 ∪ A 3 ∪ ... = A 1 ∪ (A 2 − A 1 ) ∪ (A 3 − A 1 ∪ A 2 ) ∪ ...

For a sequence of sets A 1 , A 2 , A 3 , ..., we now define the limit sets of the sequence. The upper limit set of the sequence is the set which contains the elements belonging to infinite number of the sets in this sequence; the lower limit set of the sequence is the set which contains the elements belonging to all the sets except a finite number of them in this sequence. The former is denoted by limnAn or lim supn An and the latter is written as limnAn or lim infn An. We can show lim sup n

An = ∩∞ n=1 {∪∞ m=nAm} , lim inf n

An = ∪∞ n=1 {∩∞ m=nAm}.

When both limit sets agree, we say that the sequence has a limit set. In the calculus, we know that for any sequence of real numbers x 1 , x 2 , ..., it has a upper limit, lim supn xn, and a lower limit, lim infn xn, where the former refers to the upper bound of the limits for any convergent subsequences and the latter is the lower bound. It should be cautious that such upper limit or lower limit is different from the upper limit or lower limit of sets. The second part of this section reviews some basic topology in a real line. Because the distance between any two points is well defined in a real line, we can define a topology in a real line. A set A of the real line is called an open set if for any point x ∈ A, there exists an open interval (x − , x + ) contained in A. Clearly, any open interval (a, b) where a could be −∞ and b could be ∞, is an open set. Moreover, for any number of open sets Aα where α is an index, it is easy to show that ∪αAα is open. A closed set is defined as the complement of an open set. It can also be show that A is closed if and only if for any sequence {xn} in A such that xn → x, x must belong to A. By the de Morgan law, we also see that the intersection of any number of closed sets is still closed. Only ∅ and the whole real line are both open set and closed set; there are many sets neither open or closed, for example, the set of all the rational numbers. If a closed set A is bounded, A is also called a compact set. These basic topological concepts will be used later. Note that the concepts of open set or closed set can be easily generalized to any finite dimensional real space.

2.2 Measure Space

2.2.1 Introduction

Before we introduce a formal definition of measure space, let us examine the following examples.

Example 2.1 Suppose that a whole space Ω contains countable number of distinct points {x 1 , x 2 , ...}. For any subset A of Ω, we define a set function μ#(A) as the number of points in A. Therefore, if A has n distinct points, μ#(A) = n; if A has infinite many number of points, then μ#(A) = ∞. We can easily show that (a) μ#(∅) = 0; (b) if A 1 , A 2 , ... are disjoint sets of Ω, then μ#(∪nAn) =

n μ

#(An). We will see later that μ# (^) is a measure called the counting

measure in Ω.

Example 2.2 Suppose that the whole space Ω = R, the real line. We wish to measure the sizes of any possible subsets in R. Equivalently, we wish to define a set function λ which assigns