Question

sketch a contour plot for the joint pdf of X and Y where X~ = normal...

sketch a contour plot for the joint pdf of X and Y where X~ = normal (3,1)  independent of Y~ Normal (0,4)

Homework Answers

Answer #1

The contour plot of the joint pdf of and is as follows, where and independently:

The following R code was used for the plot:

x = seq(-5,5,0.01)
y = seq(-5,5,0.01)
n = length(x)
z = numeric(n*n)
dim(z) = c(n,n)
for(i in 1:n)
{
  for(j in 1:n)
  {
    z[i,j] = dnorm(x[i],mean = 3, sd = 1)*dnorm(y[j], mean = 0, sd = 2)
  }
}

contour(x,y,z, xlim = c(-1,6))
points(x = 3, y = 0, pch = 16)
abline(v = 3)
abline(0,0)
Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
Suppose that X and Y are two jointly continuous random variables with joint PDF ??,(?, ?)...
Suppose that X and Y are two jointly continuous random variables with joint PDF ??,(?, ?) = ??                     ??? 0 ≤ ? ≤ 1 ??? 0 ≤ ? ≤ √?                     0                        ??ℎ?????? Compute and plot ??(?) and ??(?) Are X and Y independent? Compute and plot ??(?) and ???(?) Compute E(X), Var(X), E(Y), Var(Y), Cov(X,Y), and Cor.(X,Y)
sketch a contour diagram for the function f(x,y)=x-y^2 with at least four labeled contours
sketch a contour diagram for the function f(x,y)=x-y^2 with at least four labeled contours
Let X and Y be random variables with the joint pdf fX,Y(x,y) = 6x, 0 ≤...
Let X and Y be random variables with the joint pdf fX,Y(x,y) = 6x, 0 ≤ y ≤ 1−x, 0 ≤ x ≤1. 1. Are X and Y independent? Explain with a picture. 2. Find the marginal pdf fX(x). 3. Find P( Y < 1/8 | X = 1/2 )
draw a contour plot for h(x,y)=2x^2-y-2. show work.
draw a contour plot for h(x,y)=2x^2-y-2. show work.
Write a MATLAB code to plot a contour graph of f(x, y) = x^2 + y^2...
Write a MATLAB code to plot a contour graph of f(x, y) = x^2 + y^2 for −2 ≤ x ≤ 2 and −3 ≤ y ≤ 3. Use the interval of 0.1 in the grid.
The joint PDF of X and Y is given by fX,Y(x, y) = nx^ne^(?xy) , 0...
The joint PDF of X and Y is given by fX,Y(x, y) = nx^ne^(?xy) , 0 < x < 1, y > 0, where n is an integer and n > 2. (a) Find the marginal PDF of X and its mean. (b) Find the conditional PDF of Y given X = x. (c) Deduce the conditional mean and the conditional variance of Y given X = x. (d) Find the mean and variance of Y . (e) Find the...
2. The following table gives the joint PDF of random variables X and Y, where X...
2. The following table gives the joint PDF of random variables X and Y, where X is the first-year rate of return (%) from investment A, and Y is the first-year rate of return (%) from investment B.    X (%)    Y (%)    -10 0 20 30    0 0.27    0.08 0.16    0.00 45 0.00    0.04 0.10    0.35 A. Calculate the expected rate of return from investment A. B. What is the expected rate...
Suppose X and Y are continuous random variables with joint pdf f(x,y) = 2(x+y) if 0...
Suppose X and Y are continuous random variables with joint pdf f(x,y) = 2(x+y) if 0 < x < < y < 1 and 0 otherwise. Find the marginal pdf of T if S=X and T = XY. Use the joint pdf of S = X and T = XY.
19. Let X and Y be continuous random variables with joint pdf: f(x, y) = x−y...
19. Let X and Y be continuous random variables with joint pdf: f(x, y) = x−y for 0 ≤ y ≤ 1 and 1 ≤ x ≤ 2. If U = XY and V = X/Y , calculate the joint pdf of U and V , fUV (u, v).
STAT 190 Let X and Y have the joint probability density function (PDF), f X,Y (x,...
STAT 190 Let X and Y have the joint probability density function (PDF), f X,Y (x, y) = kx, 0 < x < 1, 0 < y < 1 - x^2, = 0, elsewhere, where k is a constant. 1) What is the value of k. 2)What is the marginal PDF of X. 3) What is the E(X^2 Y).