Mathematics
Mathematics, 13.04.2021 03:40, rileyeddins1010

through school8.dat give weekly hours spent on homework for students sampled from eight different schools. Obtain posterior distributions for the true means for the eight different schools using a hierarchical normal model with the following prior parameters (cf. Section 8.4 in lecture notes): μ0 =7,γ02 =5,τ02 =10,η0 =2,σ02 =15,ν0 =2. (a) Run a Gibbs sampling algorithm to approximate the posterior distribution of {θ,σ2,μ,τ2}. Assess the convergence of the Markov chain, and find the effective sample size for {σ2,μ,τ2}. Run the chain long enough so that the effective sample sizes are all above 1,000. (b) Compute posterior means and 95% confidence regions for {σ2,μ,τ2}. Also, compare the posterior densities to the prior densities, and discuss what was learned from the data. (c) Plot the posterior density of R = τ2 , and compare it to a plot of the prior density of R. σ2+τ2 Describe the evidence for between-school variation.

answer
Answers: 3

Other questions on the subject: Mathematics

image
Mathematics, 21.06.2019 14:30, eliascampos823
2x - 20 = 32 20 - 3x = 8 6x - 8 = 16 -13 - 3x = -10
Answers: 2
image
Mathematics, 21.06.2019 14:30, igtguith
Brent works part-time at a clothing store. he earns an hourly wage of $15. if he needs to earn more than $45 in a day and works for x hours a day, which inequality represents this situation? a. 15x > 45 b. 15x < 60 c. x > 60 d. 15x < 45 e. x < 60
Answers: 1
image
Mathematics, 21.06.2019 19:00, kalebbenton15
What will the graph look like for a system of equations that has no solution? a. the lines will be perpendicular. b. the lines will cross at one point. c. both equations will form the same line. d. the lines will be parallel.
Answers: 1
image
Mathematics, 21.06.2019 21:30, juniieb
Atrain leaves little? rock, arkansas, and travels north at 90 kilometers per hour. another train leaves at the same time and travels south at 80 kilometers per hour. how long will it take before they are 680 kilometers? apart?
Answers: 1
Do you know the correct answer?
through school8.dat give weekly hours spent on homework for students sampled from eight different sc...

Questions in other subjects:

Konu
Biology, 03.11.2020 20:50
Konu
Arts, 03.11.2020 20:50