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.
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?
|