Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Consider this Bayesian hierarchical model: 1% [1.03; N indep. N(1/Jj,0'32') j = 1,...,12 1% [1100an ~ iid NWOJS) j = 1,...,12 1% ~ N(0,10002) 00

image text in transcribed
Consider this Bayesian hierarchical model: 1% [1.03; N indep. N(1/Jj,0'32') j = 1,...,12 1% [1100an ~ iid NWOJS) j = 1,...,12 1% ~ N(0,10002) 00 ~ U(0, 1000) with 1kg and 0'0 independent, and the values 03-, j = 1,. . . ,12, regarded as xed and known. (a) [2 pts] Specify improper densities that the proper hyperpriors given above appear to be approximating. (Which parameters are the hyperparameters?) (b) [5 pts] Draw a directed acyclic graph (DAG) appropriate for this model. (Use the notation introduced in lecture, including \"plates.\") You may draw it neatly by hand or use software. (0) [5 pts] Using the template asg'n2template .bug provided on the course website, form a JAGS model statement (corresponding to your graph). Also, set up any R (rj ags) statements appropriate for creating a JAGS model. [Remember JAGS \"dnorm\" uses preoisions, not variances!] (d) [5 pts] Run at least 10,000 iterations of burn-in, then 100,000 iterations to use for inference. For both 1&0 and 08 (not org), produce a posterior numerical summary and also graphical estimates of the posterior densities. Explicitly give the approximations of the posterior expected values, posterior standard deviations, and 95% central posterior intervals. (Just showing R output is not enough!)

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Social And Economic Networks

Authors: Matthew O Jackson

1st Edition

140083399X, 9781400833993

More Books

Students also viewed these Mathematics questions

Question

Describe sources of ethical guidance.

Answered: 1 week ago