statistical inference part i exponential family & point estimation

33
1 STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

Upload: nansen

Post on 13-Jan-2016

58 views

Category:

Documents


4 download

DESCRIPTION

STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION. EXPONENTIAL CLASS OF PDFS. X is a continuous (discrete) rv with pdf f(x; ),  . If the pdf can be written in the following form. - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

1

STATISTICAL INFERENCEPART I

EXPONENTIAL FAMILY & POINT ESTIMATION

Page 2: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

2

EXPONENTIAL CLASS OF PDFS

• X is a continuous (discrete) rv with pdf f(x;), . If the pdf can be written in the following form

then, the pdf is a member of exponential class of pdfs of the continuous (discrete) type. (Here, k is the number of parameters)

))x(t)(wexp()(c)x(h);x(fk

1jjj

Page 3: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

3

REGULAR CASE OF THE EXPONENTIAL CLASS OF PDFS

• We have a regular case of the exponential class of pdfs of the continuous type if

a) Range of X does not depend on .

b) c() ≥ 0, w1(),…, wk() are real valued functions of for .

c) h(x) ≥ 0, t1(x),…, tk(x) are real valued functions of x.

If the range of X depends on , then it is called irregular exponential class or range-dependent exponential class.

Page 4: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

4

EXAMPLESX~Bin(n,p), where n is known. Is this pdf a

member of exponential class of pdfs? Why?

1p0for)p1

pln()p(w;n,...,0xforx)x(t

1p0for)p1()p(c;n,...,0xforx

n)x(h

))p1

pln(xexp()p1(

x

n

1p0;n,...,1,0x;)p1(px

n)p;x(f

11

n

n

xnx

Binomial family is a member of exponential family of distributions.

Page 5: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

5

EXAMPLES

X~Cauchy(1,). Is this pdf a member of exponential class of pdfs? Why?

)(w)x(t)x2x1ln(;1)(c;1

)x(h

)}x2x1ln(exp{1

))]x[1(();x(f

1122

2212

Cauchy is not a member of exponential family.

Page 6: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

6

STATISTICAL INFERENCE

• Determining certain unknown properties of a probability distribution on the basis of a sample (usually, a r.s.) obtained from that distribution

Point Estimation:Interval Estimation:

Hypothesis Testing:

5 3 8

0

1

: 5

: 5

H

H

( )

Page 7: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

7

STATISTICAL INFERENCE

• Parameter Space ( or ): The set of all possible values of an unknown parameter, ; .

• A pdf with unknown parameter: f(x; ), .

• Estimation: Where in , is likely to be?

{ f(x; ), } The family of pdfs

Page 8: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

8

STATISTICAL INFERENCE• Statistic: A function of rvs (usually a

sample rvs in an estimation) which does not contain any unknown parameters.

2, ,X S etc

• Estimator of an unknown parameter : A statistic used for estimating .

1 2ˆ : , , , nestimator U X X X

:

: : A particular value of an estimator

X Estimator

x Estimate

An observed value

Page 9: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

POINT ESTIMATION

• θ: a parameter of interest; unknown

• Goal: Find good estimator(s) for θ or its function g(θ).

9

Page 10: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

10

SOME METHODS OF POINT ESTIMATION

Method of Moments Estimation, Maximum Likelihood Estimation,

Least Squares Estimation

Page 11: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

11

METHOD OF MOMENTS ESTIMATION (MME)

• Let X1, X2,…,Xn be a r.s. from a population with pmf or pdf f(x;1, 2,…, k). The MMEs are found by equating the first k population moments to corresponding sample moments and solving the resulting system of equations.

Sample MomentsPopulation Momentsk

k E X 1

1 nk

k ii

M Xn

Page 12: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

12

METHOD OF MOMENTS ESTIMATION (MME)

2 2

2 2

1

1 n

ii

M

E X Xn

1 1

1

1 n

ii

M

E X Xn

3 3

3 3

1

1 n

ii

M

E X Xn

so on…

Continue this until there are enough equations to solve for the unknown parameters.

Page 13: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

13

EXAMPLES

• Let X~Exp().

• For a r.s of size n, find the MME of .

• For the following sample (assuming it is from Exp()), find the estimate of :

11.37, 3, 0.15, 4.27, 2.56, 0.59.

Page 14: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

14

EXAMPLES

• Let X~N(μ,σ²). For a r.s of size n, find the MMEs of μ and σ².

• For the following sample (assuming it is from N(μ,σ²)), find the estimates of μ and σ²:

4.93, 6.82, 3.12, 7.57, 3.04, 4.98, 4.62, 4.84, 2.95, 4.22

Page 15: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

15

DRAWBACKS OF MMES

• Although sometimes parameters are positive valued, MMEs can be negative.

• If moments do not exist, we cannot find MMEs.

Page 16: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

16

MAXIMUM LIKELIHOOD ESTIMATION (MLE)

• Let X1, X2,…,Xn be a r.s. from a population with pmf or pdf f(x;1, 2,…, k), the likelihood function is defined by

1 2 1 2 1 2 1 2

1 21

1 21

, , , , , , , , , ; , , ,

, , ,

; , , ,

k n n k

n

i ki

n

i ki

L x x x f x x x

f x

f x

Page 17: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

17

MAXIMUM LIKELIHOOD ESTIMATION (MLE)

• For each sample point (x1,…,xn), let

be a parameter value at which

L(1,…, k| x1,…,xn) attains its maximum as a function of (1,…, k), with (x1,…,xn) held fixed. A maximum likelihood estimator (MLE) of parameters (1,…, k) based on a sample (X1,…,Xn) is

1 1 1ˆ ˆ,..., , , ,...,n k nx x x x

1 1 1ˆ ˆ,..., , , ,...,n k nx x x x

• The MLE is the parameter point for which the observed sample is most likely.

Page 18: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

18

EXAMPLES• Let X~Bin(n,p), where both n and p are unknown. One

observation on X is available, and it is known that n is either 2 or 3 and p=1/2 or 1/3. Our objective is to estimate the pair (n,p).

x (2,1/2) (2,1/3) (3,1/2) (3,1/3) Max. Prob.

0 1/4 4/9 1/8 8/27 4/9

1 1/2 4/9 3/8 12/27 1/2

2 1/4 1/9 3/8 6/27 3/8

3 0 0 1/8 1/27 1/8

(2,1/ 3) if 0

(2,1/ 2) if 1,ˆ ˆ

(3,1/ 2) if 2

(3,1/ 2) if 3

x

xn p x

x

x

Page 19: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

19

MAXIMUM LIKELIHOOD ESTIMATION (MLE)

• It is usually convenient to work with the logarithm of the likelihood function.

• Suppose that f(x;1, 2,…, k) is a positive, differentiable function of 1, 2,…, k. If a supremum exists, it must satisfy the likelihood equations

1 2ˆ ˆ ˆ, , , k

1 2 1 2ln , , , ; , , ,0, 1,2,...,k k

j

L x x xj k

• MLE occurring at boundary of cannot be obtained by differentiation. So, use inspection.

Page 20: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

MLE

• Moreover, you need to check that you are in fact maximizing the log-likelihood (or likelihood) by checking that the second derivative is negative.

20

Page 21: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

21

EXAMPLES

1. X~Exp(), >0. For a r.s of size n, find the MLE of .

Page 22: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

22

EXAMPLES

2. X~N(,2). For a r.s. of size n, find the MLEs of and 2.

Page 23: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

23

EXAMPLES

3. X~Uniform(0,), >0. For a r.s of size n, find the MLE of .

Page 24: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

24

INVARIANCE PROPERTY OF THE MLE

• If is the MLE of , then for any function (), the MLE of () is .

ˆ

Example: X~N(,2). For a r.s. of size n, the MLE of is . By the invariance property of MLE, the MLE of 2 is

X2.X

Page 25: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

25

ADVANTAGES OF MLE

• Often yields good estimates, especially for large sample size.

• Invariance property of MLEs

• Asymptotic distribution of MLE is Normal.

• Most widely used estimation technique.• Usually they are consistent estimators. [will

define consistency later]

Page 26: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

26

DISADVANTAGES OF MLE

• Requires that the pdf or pmf is known except the value of parameters.

• MLE may not exist or may not be unique.• MLE may not be obtained explicitly

(numerical or search methods may be required). It may be sensitive to the choice of starting values when using numerical estimation. 

• MLEs can be heavily biased for small samples.

Page 27: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

LEAST SQUARES ERROR

• Minimize the square of error

• Mostly used in regression

• As an example consider simple linear model:

• LSE says minimize

27

0 1 , i=1,2,...,ni i iy x 2 2

0

1 1

( )n n

i i i i

i i

y x

0 1ˆ ˆy x 1

xy

x

SS

SS

2

2 2( )i

x i i

xSS x x x

n

( )( )i i

xy i i i i

x ySS x x y y x y

n

Page 28: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

Problems

1. Let Xi (i=1,…,n) be a random sample from gamma distribution s.t. Xi~Gamma(2,θ). The p.d.f. of X1 is given by:

a)Is this a member of exponential class?

b) Find the MLE of θ.

c) Find the MME of θ.

28

0,0;)2(

1)( 1

/121

1

xexxf x

Page 29: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

Problems

2. Let be a random sample from inverse gamma distribution with the following probability density function.

a) Does the distribution of belong to the exponential family of distributions?

b) Find the kth moment, i.e. E(Xk), for any k=1,2,…

c) Find MMEs of α and β.

29

0x,0,0forx)(

e),|x(f

1

x/

1 2, ,..., nX X X

1 2, ,..., nX X X

Page 30: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

Problems

3. Sometimes the regression function is known to be linear and go through the origin, i.e. Y=0 for X=0. For example, let Y be the volume of beer sales in the supermarkets, and X be the number of beer bootless stocked in these supermarkets. If X=0, then obviously Y=0. In such cases, the model can be given as in Equation (1).

for i=1,2,…,n and (1)

Here both β1 and σ² are unknown, and X’s are fixed values.

30

ii1i XY ),0(N~ 2i

Page 31: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

Problems

a) Find the least squares estimator of β1 for the model given in Equation (1).

b) Find the maximum likelihood estimator of β1 for the model given in Equation (1).

c) Find the expected value of .

d) Find the variance of .

31

1

1

Page 32: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

Problems

e) In an experiment involving 12 similar branch offices of a bank, new customers were offered gifts for opening accounts. The value of the gift was proportional to the minimum cash deposited in that branch. We would like to study whether such gifts were helpful in bringing new accounts. The following table provides the data.

32

Page 33: STATISTICAL INFERENCE PART I EXPONENTIAL FAMILY & POINT ESTIMATION

ProblemsBranch Size of Minimum Deposit

(dollars) Number of New Accounts

1 20 1142 115 5603 180 5504 120 5205 110 4756 90 6257 130 6668 88 5899 56 44610 170 69011 120 39312 160 762

33

Calculate the estimate of β1 for this data. Write down the estimated regression equation given in Equation (1) for this data. Interpret your findings.