Ask Question, Ask an Expert

+61-413 786 465

info@mywordsolution.com

Ask Humanities Expert

Problems
1. Exercise in the text
2. Exercise in the text
3. A common prior you may come across is the Cauchy distribution, particularly as a starting point for modeling regression coefficients or as a hyperprior (in the form of a 'half-Cauchy') for variance parameters.

(a) Plot a standard Cauchy distribution with location 0 and scale 1. Plot it along with a standard Normal distribution and t distributions
with various degrees of freedom. Discuss the relationship between these distributions. What aspect of the Cauchy sets it
apart from Normal or t distributions?

(b) Based on the comparisons made in (a), what makes the standard Cauchy an ideal default (i.e., starting point) prior. Of the distributions in (a), which distribution would you use if you were very confident in your prior information? What about in the case you
are very unconfident?

(c) Based on (b), it should be clear when the Cauchy is useful over the Normal or t distributions. Since the Cauchy distribution
as a prior is more applicable to regression or hierarchical modeling situations, let's instead directly apply the distribution to
some data, using Gibbs to approximate our posterior. Before we do that, though, we have to rewrite the Cauchy in a form that
exploits its relationship with the other distributions mentioned above. Given the Cauchy distribution

1661_kk.jpg

1294_kk.jpg

(d) Identify the density for the distriubtion p(x|µ) (this may be more apparent before inserting the values for α and β).
(e) Now let's construct a Gibbs sampler for the following model:

284_kk.jpg

where σ2λi is the scaled variance for the Normal distribution and 1σ2 is a noninformative prior placed on µ and σ2 . Write out the
complete joint density p(xi|λi)p(λi)p(µ, σ2).
• HINT: Note the index on λ.

(f) Show that the Gibbs updates below can be obtained from the joint density in (e).

1420_kk.jpg

(g) Using the data X provided, construct a Gibbs sampler to approximate the posterior distribution. Begin with a 1000 iteration
burn-in and then run the sampler for an additional 1500 iterations. Your output should consist of an N × 1500 matrix of λi values and two N-vectors for µ and σ2.

Humanities, Academics

  • Category:- Humanities
  • Reference No.:- M91779917

Have any Question?


Related Questions in Humanities

Name at least two people who have had a great influence on

Name at least two people who have had a great influence on the field of social psychology and discuss the contribution of each.  • Define the term theory, its role of theory in health assessment, and how theory can help ...

Part 1 media scholar george rodman describes technological

Part 1: Media scholar George Rodman describes technological determinism as a theory stating "the introduction of every new technology changes society, sometimes in unexpected ways." Baran further discusses this topic in ...

Question case analysis - collaborating with outside

Question: Case Analysis - Collaborating with Outside Providers Read the Treatment Plan and Case - Bulimia Nervosa in Gorenstein and Comer (2014). Please also read the Waller, Gray, Hinrichsen, Mounford, Lawson, and Patie ...

Assignment - watch the it hits the fan south park

Assignment - Watch the "It Hits The Fan" South Park episode. After watching, you should answer the following: Discuss how this particular episode of South Park would be interpreted through the lens of ONE of the followin ...

Assignment essaychoose one 1 of the three 3 reading

Assignment: Essay Choose one (1) of the three (3) reading selections from the list of topic choices below. The focus is on brief but important primary source material written by important authors. In each case, the subje ...

  • 4,153,160 Questions Asked
  • 13,132 Experts
  • 2,558,936 Questions Answered

Ask Experts for help!!

Looking for Assignment Help?

Start excelling in your Courses, Get help with Assignment

Write us your full requirement for evaluation and you will receive response within 20 minutes turnaround time.

Ask Now Help with Problems, Get a Best Answer

Why might a bank avoid the use of interest rate swaps even

Why might a bank avoid the use of interest rate swaps, even when the institution is exposed to significant interest rate

Describe the difference between zero coupon bonds and

Describe the difference between zero coupon bonds and coupon bonds. Under what conditions will a coupon bond sell at a p

Compute the present value of an annuity of 880 per year

Compute the present value of an annuity of $ 880 per year for 16 years, given a discount rate of 6 percent per annum. As

Compute the present value of an 1150 payment made in ten

Compute the present value of an $1,150 payment made in ten years when the discount rate is 12 percent. (Do not round int

Compute the present value of an annuity of 699 per year

Compute the present value of an annuity of $ 699 per year for 19 years, given a discount rate of 6 percent per annum. As