Obtain the posterior probability

Assignment Help Basic Statistics
Reference no: EM133909009

Hierarchical modeling: The ?les school1.dat 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:

µ0 = 7 , (γ0)^2= 5, (τ0)^2= 10, η0= 2, (σ0)^2 = 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 ?nd 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% con?dence regions for {σ^2, µ, τ^2}. Also, compare the posterior densities to the prior densities, and discuss what was learned from the data. Get Assignment Help from World's Trusted Writing Service Provider.

c) Plot the posterior density of R =(τ^2)/(σ^2+τ^2) and compare it to a plot of the prior density of R. Describe the evidence for between-school variation.

d) Obtain the posterior probability that θ7 is smaller than θ6, as well as the posterior probability that θ7 is the smallest of all the θ's.

e) Plot the sample averages ¯y1,...,y¯8 against the posterior expectations of θ1,...,θ8, and describe the relationship. Also compute the sample mean of all observations and compare it to the posterior mean of µ.

Reference no: EM133909009

Questions Cloud

What is your critical path : Now that you have created a WBS and resource loaded schedule in MS Projects, what is your critical path? Does this critical path make sense
How much did the agency make on the house : At a real estate agency, an agent sold a house for $387 comma 000. How much did the agency make on the house? How much did the agent earn in commission?
Calculating total cash flows : Calculating Total Cash Flows - Schwert Corp. shows the following information on its 2012 income statement: sales = $185,000; costs
What was the bruns monthly cash flow for november : The Brun family is using the Quantitative Reasoning Process to set up a monthly budget. What was the Brun's monthly cash flow for November?
Obtain the posterior probability : Obtain the posterior probability that ?7 is smaller than ?6, as well as the posterior probability that ?7 is the smallest of all the ?'s
Which activities would jason do in this step : Jason saved $1300 to spend on an amazing trip. He is using the Quantitative Reasoning Process to decide. Which activities would Jason do in this step?
How did europeans reinvent racialized subjugation-dependency : Explore the use of Racism as a dominant ideology to justify economic exploitation and the making of the Afro-Caribbean subaltern groups.
Prepare a progress report in letter format : Prepare a progress report in letter format to a relative or friend who is supportive of your educational pursuits. You may organize the report
What major industry and statutory frameworks apply : What major industry and statutory frameworks apply to the company in the case study? Be sure to discuss the role of domestic and international oversight bodies

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd