STAT100B_HW6S

STAT100B_HW6S - STAT 100B: Homework 6 Solutions Denise Tsai...

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

View Full Document Right Arrow Icon
STAT 100B: Homework 6 Solutions Denise Tsai March 3, 2011 1. Suppose X 1 ,X 2 ,...,X n Bernoulli( p ) independently. Please calculate the maximum likelihood estimate of p . Solution: Probability mass function: f ( x | p ) = p if x = 1 1 - p if x = 0 0 otherwise Likelihood function: L ( p ) = f ( x 1 ,x 2 , ··· ,x n | p ) = n Y i =1 p x i (1 - p ) 1 - x i = [ p x 1 (1 - p ) 1 - x 1 ][ p x 2 (1 - p ) 1 - x 2 ] ··· [ p x n (1 - p ) 1 - x n ] = p n i =1 x i (1 - p ) n - n i =1 x i Log-likelihood function: ( p ) = n X i =1 x i ln p + ( n - n X i =1 x i ) ln(1 - p ) Maximum likelihood estimate of p: 0 ( p ) = n i =1 x i p - n - n i =1 1 - p = 0 n X i =1 x i - p n X i =1 x i - np + p n X i =1 x i = 0 ˆ p = n i =1 x i n = ¯ x 1
Background image of page 1

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

View Full DocumentRight Arrow Icon
2. Suppose X 1 ,X 2 ,...,X n N( μ,σ 2 ) independently. Please calculate the maximum likeli- hood estimate of ( μ,σ 2 ). Solution:
Background image of page 2
Image of page 3
This is the end of the preview. Sign up to access the rest of the document.

Page1 / 5

STAT100B_HW6S - STAT 100B: Homework 6 Solutions Denise Tsai...

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

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