Question

In: Mechanical Engineering

Suppose that z = xy, where x and y are independent and normally distributed random variables

Suppose that z = xy, where x and y are independent and normally distributed random variables. The mean and variance of x are µx = 10 and σ2x = 2. The mean and variance of y are µy = 15 and σ2y = 3. Find the mean and variance of z by simulation. Does µz = µxµy? Does σ2z = σ2x σ2y? Do this for 100, 1000, and 5000 trials.

Solutions

Expert Solution

Two normally distributed variables x and y are given with their mean and variance. For x, mean µx = 10 and variance is σ2x = 2. And for y, mean is µy = 15 and variance is σ2y = 3. Here, one need to simulate the two variables and generate new variable by the equation z = xy.

Once the new variable is generated, one needs to verify that if the mean of new variable generated is equal to the sum of the means of variable x, y and the variance of new variable is equal to the sum of variance of x, y.

In MATLAB, function ‘randn(m,n)’ generates normally distributed pseudorandom numbers matrix m by n with mean of zero with standard deviation of 1. To generate a new variable with standard deviation  and a mean of  use the following equation.

σy + µ, where y is the generated random numbers.

 

MATLAB code:

 

 

 

MATLAB Output:

 

 

 

 

From the results obtained, one can see that mean of variable z is the product of mean of variables x, y but the variance of z is not equal to product of variance of x, y.

 

The simulated results are summarized in the following table.

 

 

From the results obtained, one can see that mean of variable z is the product of mean of variables x, y but the variance of z is not equal to product of variance of x, y.


From the results obtained, one can see that mean of variable z is the product of mean of variables x, y but the variance of z is not equal to product of variance of x, y.

Related Solutions

10. Suppose that X, Y and Z are normally distributed where X ≈ N(100,100), Y ≈...
10. Suppose that X, Y and Z are normally distributed where X ≈ N(100,100), Y ≈ N(400, 400) and Z ≈ N(64,64). Let W = X + Y + Z. a) Describe the distribution of W, give a name and parameters E(W) and Var(W). b) Use Excel or R to generate 200 random values for X, Y and Z. Add these to obtain 200 values for W. Create a histogram for W. In Excel use the NORMINV(rand(),mean, sd) function. c)...
Assume that X, Y, and Z are independent random variables and that each of the random...
Assume that X, Y, and Z are independent random variables and that each of the random variables have a mean of 1. Further, assume σX = 1, σY = 2, and σZ = 3. Find the mean and standard deviation of the following random variables: a. U = X + Y + Z b. R = (X + Y + Z)/3 c. T = 2·X + 5·Y d. What is the correlation between X and Y? e. What is the...
Let X, Y and Z be independent random variables, each uniformly distributed on the interval (0,1)....
Let X, Y and Z be independent random variables, each uniformly distributed on the interval (0,1). (a) Find the cumulative distribution function of X/Y. (b) Find the cumulative distribution function of XY. (c) Find the mean and variance of XY/Z.
Suppose that X, Y and Z are normally distributed where X ≈ N(100,100), Y ≈ N(400,...
Suppose that X, Y and Z are normally distributed where X ≈ N(100,100), Y ≈ N(400, 400) and Z ≈ N(64,64). Let W = X + Y + Z. a) Describe the distribution of W, give a name and parameters E(W) and Var(W). b) Use Excel or R to generate 200 random values for X, Y and Z. Add these to obtain 200 values for W. Create a histogram for W. In Excel use the NORMINV(rand(),mean, sd) function. c) Estimate...
Suppose X, Y, and Z are independent Gaussian random variables with σx = 0.2, σy =...
Suppose X, Y, and Z are independent Gaussian random variables with σx = 0.2, σy = 0.3, σz = 1, μx=3.0, μy=7.7, and μz = 0 Determine the following: (a) The joint PDF of X, Y, and Z (b) Pr( (7.6<Y<7.8) | (X<3, Z<0) c) The Correlation matrix and covariance matrix of X, Y, and Z
8-5 (30) X and Y are independent random variables, and both are normally distributed with mean...
8-5 (30) X and Y are independent random variables, and both are normally distributed with mean zero and variance one. Two new random variables. Z and W are defined by Z = X2 + Y2 , W = X/Y (14) a). Find fz.w(z.w)indicating the domains over which it is defined. (10) b) Find the marginal densities fW (w) and fZ (z) and the domain of each. (6) c) Are Z and W independent? Explain
8-5 (30) X and Y are independent random variables, and both are normally distributed with mean...
8-5 (30) X and Y are independent random variables, and both are normally distributed with mean zero and variance one. Two new random variables. Z and W are defined by Z = X2 + Y2 , W = X/Y (14) a). Find fz.w(z.w)indicating the domains over which it is defined. (6) b). Are Z and W independent? Explain your answer. (10) c) Find the marginal densities fW (w) and fZ (z) and the domain of each.
Suppose that X and Y are two normally distributed random variables. X has mean 2 and...
Suppose that X and Y are two normally distributed random variables. X has mean 2 and standard deviation 3.Y has mean 3 and standard deviation 2. Their correlation is 0.6 . What is the mean and standard deviation of X + Y ?What is the distribution of X + Y ? What if X and Y are jointly normally distributed? What if they are not jointly normally distributed? Explain your answer.
Suppose that X and Y are two normally distributed random variables. X has mean 2 and...
Suppose that X and Y are two normally distributed random variables. X has mean 2 and standard deviation 3.Y has mean 3 and standard deviation 2. Their correlation is 0.6 . What is the mean and standard deviation of X + Y? What is the distribution of X + Y? What if X and Y are jointly normally distributed? What if they are not jointly normally distributed? Explain your answer. (Why we cannot conclude if they are not jointly normally...
A: Suppose two random variables X and Y are independent and identically distributed as standard normal....
A: Suppose two random variables X and Y are independent and identically distributed as standard normal. Specify the joint probability density function f(x, y) of X and Y. Next, suppose two random variables X and Y are independent and identically distributed as Bernoulli with parameter 1 2 . Specify the joint probability mass function f(x, y) of X and Y. B: Consider a time series realization X = [10, 15, 23, 20, 19] with a length of five-periods. Compute the...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT