logo Hurry, Grab up to 30% discount on the entire course
Order Now logo

Ask This Question To Be Solved By Our ExpertsGet A+ Grade Solution Guaranteed

expert
Hariom KasyapFinance
(5/5)

727 Answers

Hire Me
expert
Isaac TorressCriminology
(5/5)

602 Answers

Hire Me
expert
Nawaj SareefData mining
(5/5)

674 Answers

Hire Me
expert
Umar KhalidManagement
(5/5)

624 Answers

Hire Me
Others
(5/5)

Here we consider the problem of Bayesian inference for μ and σ based on these data. μ

INSTRUCTIONS TO CANDIDATES
ANSWER ALL QUESTIONS

Below are n = 10 values generated from a normal distribution.

4.90791, 4.83425, 5.19801, 6.85308, 4.07085, 4.66076, 4.16201, 5.49752, 4.15438, 3.72703

Here we consider the problem of Bayesian inference for μ and σ based on these data. μ

(a) There is some R code below that can be used to make a contour plot for the log- likelihood here, log(L, (u,σ)). Run it and obtain a contour plot for the log-likelihood.

(b) A number of (joint) prior densities for (u,σ) are specified below. Since л(μ,σ) L(μ,σ)л(μ,σ), it follows the contour plot for log posterior density can be made by contour plotting log(7, (μ,0)) ∞ log(L, (μ,0))+log(л(μ,σ)) For each of the priors pdf given below, make contour plots for both log(,,(,)) and log(L, (u,σ))+log(л(μ,σ))

You can modify the R code below as you see fit. You will have to change the "levels" in order to get informative plots. You may type ?contour() in R to learn more about the contour function.

How would one try to "see" from the contour plots for the log priors that priors i-iii are ones of "independence" and the last two are not?

the product of Jeffreys improper priors, (u,o)=1/σ2. a priori ~

N(0,100)

and

~Inv-Gamma(1/2, 50)

independent.

o-Inv-Gamma(3/2, 2)

independent

a priori ~N(0,4) and

i.

ii.

111.

iv.

V.

vi.

Same as (v) but with 4 =0, K6 = 10, v1 = 1, and σ =2

the jointly conjugate prior discussed in Section 3.3 of the text, with Ho=0, K1 =1, V = 1, and σ = 2

(5/5)
Attachments:

Related Questions

. The fundamental operations of create, read, update, and delete (CRUD) in either Python or Java

CS 340 Milestone One Guidelines and Rubric  Overview: For this assignment, you will implement the fundamental operations of create, read, update,

. Develop a program to emulate a purchase transaction at a retail store. This  program will have two classes, a LineItem class and a Transaction class

Retail Transaction Programming Project  Project Requirements:  Develop a program to emulate a purchase transaction at a retail store. This

. The following program contains five errors. Identify the errors and fix them

7COM1028   Secure Systems Programming   Referral Coursework: Secure

. Accepts the following from a user: Item Name Item Quantity Item Price Allows the user to create a file to store the sales receipt contents

Create a GUI program that:Accepts the following from a user:Item NameItem QuantityItem PriceAllows the user to create a file to store the sales receip

. The final project will encompass developing a web service using a software stack and implementing an industry-standard interface. Regardless of whether you choose to pursue application development goals as a pure developer or as a software engineer

CS 340 Final Project Guidelines and Rubric  Overview The final project will encompass developing a web service using a software stack and impleme