Docsity

Métodos para estimar parámetros: Momentos y Método de Maximización de Verosimilitud - Prof, Exámenes de Estadística

Toggle sidebar
bg1
Statistics II
16 October 2015
Exercise 1 (4 points)
Let X be a random variable with probability function
f(x ; θ) = θxθ− 1
3θ, x ∈[0,3 ]
such that E(X) = 3θ/(θ+1). Supposed a simple random sample X = (X1,...,Xn), apply both the method of the
moments and the maximum likelihood method to find estimators
^
θ
of the parameter θ.
Discussion: This statement is mathematical. Although it is given, the expectation of X could be calculated as
follows
μ1(θ)=E(X)=∫−∞
+∞ x f (x ; θ)dx =∫0
3xθxθ−1
3θdx=θ
3θ
[
xθ+ 1
θ+1
]
0
3
=θ
3θ
3θ+1
θ+ 1=3θ
θ+1
Method of the moments
Population and sample centered moments: The first-order moments are
μ1(θ)= 3θ
θ+1
and
m1(x1, x2,... , x n)= 1
n∑i=1
nxi=¯
x
System of equations: Since the parameter θ appears in the first-order moment of X, the first equation is
sufficient to apply the method:
μ1(θ)=m1(x1, x2,... , xn)
→
3θ
θ+1=1
n∑i=1
nxi=¯
x
→
3θ=θ ¯
x+¯
x
→
→
θ= ¯
x
3−¯
x
The estimator:
^
θM=¯
X
3−¯
X
Maximum likelihood method
Likelihood function: For the distribution the mass function is
f(x ; θ)=θxθ− 1
3θ.
L(x1, x2,... , x n;θ)=∏j=1
nf(xj;θ)= θx1
θ−1
3θ⋯θxn
θ−1
3θ=θn( Π j=1
nxj)θ−1
3nθ
Optimization problem: The logarithm function is applied to facilitate the calculations,
log[L(x1, x2,... , x n;θ)]=nlog ( θ) + (θ −1)log( Π j=1
nxj) − nθlog (3).
To find the local or relative extreme values, the necessary condition is
0=d
dθlog[L(x1, x2,... , x n;θ)]= n
θ+log(Π j=1
nxj)− nlog(3)
Bachelor's Degree in Economics 1 Complutense University of Madrid
pf3

Vista previa parcial del texto

¡Descarga Métodos para estimar parámetros: Momentos y Método de Maximización de Verosimilitud - Prof y más Exámenes en PDF de Estadística solo en Docsity!

Statistics II

16 October 2015

Exercise 1 (4 points)

Let X be a random variable with probability function

f ( x ; θ) =

θ x

θ− 1

θ

, x ∈[0,3]

such that E (X) = 3θ/(θ+1). Supposed a simple random sample X = (X 1

,...,X

n

), apply both the method of the

moments and the maximum likelihood method to find estimators

^

θ of the parameter θ.

Discussion : This statement is mathematical. Although it is given, the expectation of X could be calculated as

follows

μ

1

(θ )= E ( X )= ∫

−∞

+∞

x f ( x ; θ) dx = ∫

0

3

x

θ x

θ− 1

θ

dx =

θ

θ

[

x

θ + 1

θ+ 1

]

0

3

θ

θ

θ+ 1

θ+ 1

3 θ

θ+ 1

Method of the moments

Population and sample centered moments : The first-order moments are

μ

1

(θ )=

3 θ

θ + 1

and m

1

( x

1

, x

2

, ... , x

n

n

∑

i = 1

n

x

i

x

System of equations : Since the parameter θ appears in the first-order moment of X , the first equation is

sufficient to apply the method:

μ

1

(θ )= m

1

( x

1

, x

2

, ... , x

n

3 θ

θ + 1

n

∑

i = 1

n

x

i

=¯ x

→ 3 θ=θ

¯

x +

¯

x → θ( 3 −¯ x )=¯ x

θ=

x

x

The estimator :

^

θ

M

X

X

Maximum likelihood method

Likelihood function : For the distribution the mass function is f ( x ; θ)=

θ x

θ− 1

θ

L ( x

1

, x

2

, ... , x

n

; θ)=

∏

j = 1

n

f ( x

j

; θ)=

θ x

1

θ− 1

θ

θ x

n

θ − 1

θ

θ

n

j = 1

n

x

j

θ − 1

n θ

Optimization problem : The logarithm function is applied to facilitate the calculations,

log[ L ( x

1

, x

2

, ... , x

n

; θ)]= n log(θ) + (θ− 1 )log(Π

j = 1

n

x

j

) − n θ log( 3 ).

To find the local or relative extreme values, the necessary condition is

d

d θ

log[ L ( x

1

, x

2

, ... , x

n

; θ)]=

n

θ

  • log(Π

j = 1

n

x

j

)− n log( 3 )

n

θ

= n log( 3 )−log(Π

j = 1

n

x

j

) → θ

0

n

n log( 3 )−log( Π

j = 1

n

x

j

To verify that the only candidate is a local or relative maximum, the sufficient condition is

d

2

d θ

2

log[ L ( x

1

, x

2

, ... , x

n

; θ)]=−

n

θ

2

This holds for any value, including

θ

0

The estimator :

^

θ

ML

n

n log( 3 )−log( Π

j = 1

n

X

j

Conclusion : The two methods provide different estimators.

Exercise 2 (6 points)

It is desired to know the proportion η of female students at university. To that end, a simple random sample of

n students is to be gathered. Apply both the method of the moments and the maximum likelihood method to

build estimators

^

η for that proportion.

Discussion : This statement is mathematical, really. Although it is given in the statement, the expectation of

X could be calculated as follows

μ

1

(η)= E ( X )=

∑

Ω

x f ( x ; η)=

∑

x = 0

1

x η

x

( 1 −η)

1 − x

= 0 ⋅ 1 ⋅( 1 −η)+ 1 ⋅η⋅ 1 =η

Method of the moments

Population and sample centered moments : The probability distribution has one parameter. The first- -order

moments are

μ

1

( η)= E ( X )=η and m

1

( x

1

, x

2

, ... , x

n

n

∑

i = 1

n

x

i

x

System of equations : Since the parameter η appears in the first-order moment of X , the first equation is

sufficient to apply the method:

μ

1

(η)= m

1

( x

1

, x

2

, ... , x

n

) → η=

n

∑

i = 1

n

x

i

x

The estimator :

^

η

M

X

Maximum likelihood method

Likelihood function : For the distribution the mass function is f ( x ; η)=η

x

( 1 −η)

1 − x

L ( x

1

, x

2

, ... , x

n

; η)= ∏

i = 1

n

f ( x

i

; η)=η

x 1

( 1 −η)

1 − x 1

⋯ η

x n

( 1 −η)

1 − x n

=η

∑

i = 1

n

x

i

( 1 −η)

n − ∑

i = 1

n

x

i