100BHWVIS - STAT 100B HWVI Solution Problem 1: Suppose X1 ,...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
STAT 100B HWVI Solution Problem 1: Suppose X 1 ,X 2 ,...,X n Bernoulli( p ) independently. Please calculate the maximum likelihood estimate of p . A: The likelihood is L ( p ) = Q n i =1 p X i (1 - p ) 1 - X i = p n i =1 X i (1 - p ) n - n i =1 X i . The log-likelihood is l ( p ) = log L ( p ) = n i =1 X i log p +( n - n i =1 X i )log(1 - p ). By setting l 0 ( p ) = 0, we get n i =1 X i /p - ( n - n i =1 X i ) / (1 - p ) = 0. So ˆ p = n i =1 X i /n . Problem 2: Suppose X 1 ,X 2 ,...,X n N( μ,σ 2 ) independently. Please calculate the maximum likelihood estimate of ( μ,σ 2 ). A: The likelihood is L ( μ,σ 2 ) = n Y i =1 ( 1 2 πσ 2 exp {- ( X i - μ ) 2 2 σ 2 } ) = 1 (2 πσ 2 ) n/ 2 exp {- 1 2 σ 2 n X i =1 ( X i - μ ) 2 } . The log-likelihood is l ( μ,σ 2 ) = - n 2 log(2 πσ 2 ) - 1 2 σ 2 n X i =1 ( X i - μ ) 2 . By setting ∂l ( μ,σ 2 ) /∂μ = 0, we have n i =1 ( X i - μ ) = 0, so ˆ μ = ¯ X . Let τ = σ 2 . By setting ∂l ( μ,τ ) /∂τ
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/27/2011 for the course STATS 100b taught by Professor Staff during the Fall '08 term at UCLA.

Page1 / 2

100BHWVIS - STAT 100B HWVI Solution Problem 1: Suppose X1 ,...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online