Generate a sample from a target distribution

Assignment Help Basic Statistics
Reference no: EM13965210

1. Write a general Metropolis or Metropolis-Hastings algorithm to generate a sample from a target distribution π, where π(x) ∝ x34(1 - x)38(2 + x)125. Use the proposal density as q(x, y) = 1 on the interval [0, 1].

2. For the bivariate density given in Example 13.5.5, starting with three different values of y0, say, 1/3, 1/2, and 2/3 n = 15, and α = 1,β = 2, obtain the ?rst three realizations of the Gibbs sequence. Comment on the in?uence of the initial values.

3. Consider a problem of sampling bivariate random variables with joint density given by rce-(x+y+4xy), x ≥ 0,y ≥ 0 f(x, y) = 0, otherwise.

(a) Find f (x |y ) and f (y |x ).

(b) Write a Gibbs procedure to generate samples from this distribution. Discuss why it is easier to use the Gibbs sampler for this case.

(c) Starting from an arbitrary point, obtain the ?rst three sample points.

Reference no: EM13965210

Questions Cloud

Construct a dotplot and interpret : The following data give birth rates (per 1000 population) for 20 selected states in 1998 (source: The World Almanac and Book of Facts 2000).
Hypothesis test : Hypothesis Test (Means for Two Populations) Collect 20 samples of each population of any variable and determine which one has a lower average with an alpha of 5%. For each minitab result needs to write a paragraph explaining the results and data tend..
Sample correlation between revenue and expenditure : (a) Draw a scatterplot. (b) Find the sample correlation between revenue and expenditure. (c) Draw a QQ plot. (d) Interpret (a), (b), and (c).
Generate a sample from a binormal distribution : Then write the Gibbs sampler to generate a sample from this distribution. In particular, say, we start with (X, Y) = (12, 12) and ρ = 0.7. What is the Gibbs procedure to generate a sample from a binormal distribution?
Generate a sample from a target distribution : 1. Write a general Metropolis or Metropolis-Hastings algorithm to generate a sample from a target distribution π, where π(x) ∝ x34(1 - x)38(2 + x)125. Use the proposal density as q(x, y) = 1 on the interval [0, 1].
Describe your experiences on writing your first c program : Describe your experiences on writing and testing your first C program. Gives examples of where you got stuck?. What difficulties you faced? What did you learn from this experience?
How close can the object be located in front of the lens : A macroscopic (or macro) lens for a camera is usually a converging lens of normal focal length built into a lens barrel that can be adjusted to provide the additional lens-to-film distance needed when focusing at very close range. Suppose that a m..
Describe one practical application of asynchronous counter : What is the principle of operation of a bidirectional shift register? Describe one practical application of bidirectional shift register. What is the principle of operation of an Asynchronous Counter? Describe one practical application of Asynchron..
What is the magnification of this image : Two lenses that are L = 37 cm apart are used to form an image, as shown in Figure 26-52. Lens 1 is diverging and has a focal length f1 = -7 cm; lens 2 is converging and has a focal length f2 = 17 cm. What is the magnification of this image?

Reviews

Write a Review

Basic Statistics Questions & Answers

  Statistics-probability assignment

MATH1550H: Assignment:  Question:  A word is selected at random from the following poem of Persian poet and mathematician Omar Khayyam (1048-1131), translated by English poet Edward Fitzgerald (1808-1883). Find the expected value of the length of th..

  What is the least number

MATH1550H: Assignment:  Question:     what is the least number of applicants that should be interviewed so as to have at least 50% chance of finding one such secretary?

  Determine the value of k

MATH1550H: Assignment:  Question:     Experience shows that X, the number of customers entering a post office during any period of time t, is a random variable the probability mass function of which is of the form

  What is the probability

MATH1550H: Assignment:Questions: (Genetics) What is the probability that at most two of the offspring are aa?

  Binomial distributions

MATH1550H: Assignment:  Questions:  Let’s assume the department of Mathematics of Trent University has 11 faculty members. For i = 0; 1; 2; 3; find pi, the probability that i of them were born on Canada Day using the binomial distributions.

  Caselet on mcdonald’s vs. burger king - waiting time

Caselet on McDonald’s vs. Burger King - Waiting time

  Generate descriptive statistics

Generate descriptive statistics. Create a stem-and-leaf plot of the data and box plot of the data.

  Sampling variability and standard error

Problems on Sampling Variability and Standard Error and Confidence Intervals

  Estimate the population mean

Estimate the population mean

  Conduct a marketing experiment

Conduct a marketing experiment in which students are to taste one of two different brands of soft drink

  Find out the probability

Find out the probability

  Linear programming models

LINEAR PROGRAMMING MODELS

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