Plots of all the posterior densities obtained

Assignment Help Other Subject
Reference no: EM131730206

Assignment on Bayesian Inference

Part 1: Spot the Difference

Before attempting this exercise, you should familiarise yourself with the Gaussian Parameter Inference example from Lab Sheet 1.

A situation that arises in many circumstances is that we have two data sets and we want to know if they are likely to have been generated by different processes, and if so, the extent to which they differ. For example, consider two groups of people in a randomised controlled trial. People in group A are given a drug and people in group B are given a placebo. Sometime later a relevant physiological variable is measured for each person. We would then be interested in how this variable differed between the two groups.

The file SpotTheDifference.txt contains two data sets which you should use for this exercise. You can use the Gaussian model from Lab Sheet 1 as a starting point.

Use OpenBUGS to model each of the two data sets as Gaussian and run MCMC to infer all the parameters of these two Gaussians. In addition, set up variables for (i) the difference between the two means and (ii) the difference between the two standard deviations. (Hint: if mu1 and mu2 are the means, the statement diffmu <- mu1 - mu2 makes the variable diffmu their difference).

You should submit:
- A model specification file
- A PDF document containing:
o Plots of all the posterior densities obtained, including those for (i) the difference between the means and (ii) the difference between the standard deviations.
o A paragraph of text in which you draw conclusions. Specifically, you should comment on the strength of the evidence that the distributions differ, and on the ways in which they differ (if any). Back up your conclusions with your choice of statistics summarising the relevant posteriors.

To obtain full marks requires an appropriate model and inference set-up, and text that demonstrates an understanding of how to interpret the results obtained.

Part 2: Multiple observers

Before attempting this exercise, you should familiarise yourself with the Seven Scientists example from Lab Sheet 2.

Imagine you have a set of N objects of some kind, and that you ask M different observers to take a measurement from each of these objects. For example, you might ask M radiologists to measure the length of an organ in each of N medical images obtained from N different patients. The people doing the measuring have varying degrees of skill: some are more precise at measuring than others.

Using the Seven Scientists model from Lab Sheet 2 as a starting point, specify a suitable model for this situation. The model should enable inference of the N quantities of interest as well as variables indicative of the skill level of each of the M observers.

The file MultipleObserversData.txt contains an example dataset for the case when N=20 and M=3. Use BUGS to run MCMC inference using the model you specified.

You should submit:
- A model specification file and an MCMC initialisation file
- A PDF document containing:
o A note explaining what you did to try to ensure adequate convergence of MCMC
o Plots of all the marginal posterior densities obtained along with their summary statistics.
o A paragraph of text in which you summarise and draw conclusions about the N quantities and the skill levels of the M observers. (This should demonstrate your understanding of how to interpret the results obtained).

Attachment:- Assignment.rar

Reference no: EM131730206

Questions Cloud

Discuss the preference for drink for students at ucd : Assuming that these students represent all students at UCD, test whether there is a preference for one drink over the other for students at UCD.
Calculate the company operating cycle for year : Louie Corporation has provided the following data: Cost of goods sold $860,000. The company's operating cycle for Year 2 is closest to
Compare the generic competitive strategies : Compare the generic competitive strategies pursued by Unilever, Procter & Gamble and Bliss Chemical (Pty) Ltd.
Discuss the seven layer of open system interconnection model : Identify and discuss the seven layers of the Open System Interconnection (OSI) model and their importance on TCP/IP operation.
Plots of all the posterior densities obtained : Plots of all the posterior densities obtained, including those for (i) the difference between the means and (ii) the difference between the standard deviations
Discuss about survey of students at the ucd : In a survey of students at the University of California, Davis (UCD), students were asked which of two popular soft drinks they preferred-let's call them brand.
Capital structure analysis : The Garner Transport Company currently has net operating income of $500,000 and pays interest expense of $200,000.
What roles do men and women play in the family : What roles do men and women play in the household chores and income earning? Who takes the responsibility for child rearing?
Compute the tax cost of this additional income : Compute the tax cost of this additional income for the following three scenarios: MSC's taxable income before the additional income is $45,000

Reviews

len1730206

11/20/2017 4:26:36 AM

This assignment contributes 10% to your mark for AC50001. It might take you approximately ten hours. (Put another way, my prior on the time it will take you could be modelled as a Gaussian with mean = 10 and standard deviation = 2. I await data from you so that I can compute a posterior!) Assignment on Bayesian Inference using OpenBUGS To obtain full marks requires an appropriate model and inference set-up, and text that demonstrates an understanding of how to interpret the results obtained. Finally, please include a note of how long you spent on this assignment. Submit your assignment via MyDundee in a single zip file by Friday 17th.

Write a Review

Other Subject Questions & Answers

  Cross-cultural opportunities and conflicts in canada

Short Paper on Cross-cultural Opportunities and Conflicts in Canada.

  Sociology theory questions

Sociology are very fundamental in nature. Role strain and role constraint speak about the duties and responsibilities of the roles of people in society or in a group. A short theory about Darwin and Moths is also answered.

  A book review on unfaithful angels

This review will help the reader understand the social work profession through different concepts giving the glimpse of why the social work profession might have drifted away from its original purpose of serving the poor.

  Disorder paper: schizophrenia

Schizophrenia does not really have just one single cause. It is a possibility that this disorder could be inherited but not all doctors are sure.

  Individual assignment: two models handout and rubric

Individual Assignment : Two Models Handout and Rubric,    This paper will allow you to understand and evaluate two vastly different organizational models and to effectively communicate their differences.

  Developing strategic intent for toyota

The following report includes the description about the organization, its strategies, industry analysis in which it operates and its position in the industry.

  Gasoline powered passenger vehicles

In this study, we examine how gasoline price volatility and income of the consumers impacts consumer's demand for gasoline.

  An aspect of poverty in canada

Economics thesis undergrad 4th year paper to write. it should be about 22 pages in length, literature review, economic analysis and then data or cost benefit analysis.

  Ngn customer satisfaction qos indicator for 3g services

The paper aims to highlight the global trends in countries and regions where 3G has already been introduced and propose an implementation plan to the telecom operators of developing countries.

  Prepare a power point presentation

Prepare the power point presentation for the case: Santa Fe Independent School District

  Information literacy is important in this environment

Information literacy is critically important in this contemporary environment

  Associative property of multiplication

Write a definition for associative property of multiplication.

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