

Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
Prepare for your exams
Study with the several resources on Docsity
Earn points to download
Earn points by helping other students or get them with a premium plan
Material Type: Notes; Class: Introduction to Mathematical Statistics; Subject: STATISTICS; University: University of Wisconsin - Madison; Term: Unknown 1989;
Typology: Study notes
1 / 2
This page cannot be seen from the preview
Don't miss anything!


TA: Yi Chai Office: 1335N MSC Email: [email protected] Webpage: http://www.stat.wisc.edu/∼chaiyi Office Hours: 11:00-12:00pm T and 1:00-2:00pm Th or by appointment
π(θ|s) =
π(θ)f (s|θ) m(s)
where m(s) =
Ω
π(θ)fθ(s)dθ.
p(θ) = Γ(α 1 + · · · + αk) Γ(α 1 ) · · · Γ(αk)
θ 1 α 1 −^1 · · · θα kk^ −^1
where, αi > 0, θi > 0, α 0 =
∑k i=1 αi,^
∑k i=1 θi^ = 1.
αi α 0 ; V ar(θi) =
αi(α 0 − αi) α^20 (α 0 + 1) ; Cov(θi, θj ) = −
αiαj α^20 (α 0 + 1)
s = 1 s = 2 f 1 (s) 1/2 1/ f 2 (s) 1/3 2/ f 3 (s) 3/4 1/
If we use the prior π(θ) given by the table θ = 1 θ = 2 θ = 3 π(θ) 1/5 2/5 2/ then determine the posterior distribution of θ for each possible sample of size 2.
#generate randome variables random.mu=rnorm(10000, mu, sigma)
cov=1/random.mu #coefficient of variation = sigma/mu n=sum(cov>0.125) p=n/10000 #posterior probability p
d=1.96sqrt(p(1-p))/sqrt(10000) #margin of error c(p-d,p+d) #0.95 confidence interval for p