Samples from the posterior distribution of two parameters, μ and σ, were obtained using a statistical software package. Using these samples the following numerical summaries were produced. node mean sd mu MC error 2.5% 5.0% median 95.0% 97.5% start sample 0.6636 1.459 0.02027 -2.217 -1.845 0.6573 3.056 3.565 1000 5001 sigma 59.79 20.67 0.3235 31.78 37.89 55.96 78.14 109.4 1000 5001 (a) Write down an estimate of the posterior mean and 95% equal-tailed credible interval for o. Comment on the shape of the posterior distribution for o. (b) Was the simulation run for long enough? Justify your answer.
Samples from the posterior distribution of two parameters, μ and σ, were obtained using a statistical software package. Using these samples the following numerical summaries were produced. node mean sd mu MC error 2.5% 5.0% median 95.0% 97.5% start sample 0.6636 1.459 0.02027 -2.217 -1.845 0.6573 3.056 3.565 1000 5001 sigma 59.79 20.67 0.3235 31.78 37.89 55.96 78.14 109.4 1000 5001 (a) Write down an estimate of the posterior mean and 95% equal-tailed credible interval for o. Comment on the shape of the posterior distribution for o. (b) Was the simulation run for long enough? Justify your answer.
MATLAB: An Introduction with Applications
6th Edition
ISBN:9781119256830
Author:Amos Gilat
Publisher:Amos Gilat
Chapter1: Starting With Matlab
Section: Chapter Questions
Problem 1P
Related questions
Question

Transcribed Image Text:Samples from the posterior distribution of two parameters, μ and σ, were obtained using a statistical
software package. Using these samples the following numerical summaries were produced.
node mean
sd
mu
MC error 2.5% 5.0% median 95.0% 97.5% start sample
0.6636 1.459 0.02027 -2.217 -1.845 0.6573 3.056 3.565 1000 5001
sigma 59.79 20.67 0.3235 31.78 37.89 55.96 78.14 109.4 1000 5001
(a) Write down an estimate of the posterior mean and 95% equal-tailed credible interval for o.
Comment on the shape of the posterior distribution for o.
(b)
Was the simulation run for long enough? Justify your answer.
(c) Suppose the simulation is run for a further 50000 iterations.
(1) Is the width of the credible interval for o likely to increase, decrease or stay roughly the
same? Justify your answer.
(11) Is the MC error for o likely to increase, decrease or stay roughly the same? Justify your
answer.
Expert Solution

This question has been solved!
Explore an expertly crafted, step-by-step solution for a thorough understanding of key concepts.
Step 1: Given information:
VIEWStep 2: Estimate the posterior mean and 95% equal-tailed credible interval for sigma:
VIEWStep 3: Identify whether the simulation is run for long enough or not:
VIEWStep 4: Identify whether the width of the credible interval for sigma likely increase, decrease or same:
VIEWStep 5: Identify whether the MC error for sigma likely to increase, decrease or likely same:
VIEWSolution
VIEWStep by step
Solved in 6 steps

Recommended textbooks for you

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

MATLAB: An Introduction with Applications
Statistics
ISBN:
9781119256830
Author:
Amos Gilat
Publisher:
John Wiley & Sons Inc

Probability and Statistics for Engineering and th…
Statistics
ISBN:
9781305251809
Author:
Jay L. Devore
Publisher:
Cengage Learning

Statistics for The Behavioral Sciences (MindTap C…
Statistics
ISBN:
9781305504912
Author:
Frederick J Gravetter, Larry B. Wallnau
Publisher:
Cengage Learning

Elementary Statistics: Picturing the World (7th E…
Statistics
ISBN:
9780134683416
Author:
Ron Larson, Betsy Farber
Publisher:
PEARSON

The Basic Practice of Statistics
Statistics
ISBN:
9781319042578
Author:
David S. Moore, William I. Notz, Michael A. Fligner
Publisher:
W. H. Freeman

Introduction to the Practice of Statistics
Statistics
ISBN:
9781319013387
Author:
David S. Moore, George P. McCabe, Bruce A. Craig
Publisher:
W. H. Freeman