subject
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.

ansver
Answers: 3

Another question on Mathematics

question
Mathematics, 21.06.2019 15:30
The weight of an object in a particular scale is 175.2 lbs. the measured weight may vary from the actual weight by at most 0.1 lbs. what is the range of actual weights of the object
Answers: 3
question
Mathematics, 21.06.2019 20:00
Pepe and leo deposits money into their savings account at the end of the month the table shows the account balances. if there pattern of savings continue and neither earns interest nor withdraw any of the money , how will the balance compare after a very long time ?
Answers: 1
question
Mathematics, 21.06.2019 22:30
James wants to promote his band on the internet. site a offers website hosting for $4.95 per month with a $49.95 startup fee. site b offers website hosting for $9.95 per month with no startup fee. for how many months would james need to keep the website for site a to be a better choice than site b?
Answers: 1
question
Mathematics, 21.06.2019 22:30
Amachine that produces a special type of transistor (a component of computers) has a 2% defective rate. the production is considered a random process where each transistor is independent of the others. (a) what is the probability that the 10th transistor produced is the first with a defect? (b) what is the probability that the machine produces no defective transistors in a batch of 100? (c) on average, how many transistors would you expect to be produced before the first with a defect? what is the standard deviation? (d) another machine that also produces transistors has a 5% defective rate where each transistor is produced independent of the others. on average how many transistors would you expect to be produced with this machine before the first with a defect? what is the standard deviation? (e) based on your answers to parts (c) and (d), how does increasing the probability of an event a↵ect the mean and standard deviation of the wait time until success?
Answers: 3
You know the right answer?
through school8.dat give weekly hours spent on homework for students sampled from eight different sc...
Questions
question
Biology, 03.02.2020 08:50
Questions on the website: 13722363