Question

. Assume that X is U[10,25], what is E[X2 ]? Estimate the answer using Monte Carlo...

. Assume that X is U[10,25], what is E[X2 ]? Estimate the answer using Monte Carlo simulation. Make sure your half width is less than 1.0.

Homework Answers

Answer #1

The R code for doing Monte Carlo simulation times to evaluate where is given below.

set.seed(17234)
N <- 10000
X <- runif(N,min=10,max=25)
EX_square <- mean(X^2)
EX_square

You can increase for more accurate estimates.

The simulated value of is which is very close to the theoretical value

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
Assume X is distributed TRIA(4, 9, 10). Estimate E[X2 ] using Monte Carlo simulation
Assume X is distributed TRIA(4, 9, 10). Estimate E[X2 ] using Monte Carlo simulation
You are using a Monte Carlo simulation to estimate the area of shape inside a unit...
You are using a Monte Carlo simulation to estimate the area of shape inside a unit square by taking n sample points. How big does n have to be in order for the estimate to be within about ±0.01 of the correct answer? I believe this has to do with binomial distribution.
Perform Monte-Carlo estimation where theta = E(e^U) where U is a continuous uniform random variable between...
Perform Monte-Carlo estimation where theta = E(e^U) where U is a continuous uniform random variable between zero and one a. Estimate !using 1000 data points and obtain a 95% confidence interval for this case. b. Perform part a) 100 times. Check how often the true !actually does fall within the 100 resulting confidence intervals. Please solve in R.
Language: JAVA(Netbean) Using a hash set to do a Monte Carlo analysis of the birthday paradox....
Language: JAVA(Netbean) Using a hash set to do a Monte Carlo analysis of the birthday paradox. The paradox states that the odds of 2 people in a group sharing a birthday is surprisingly high. A Monte Carlo analysis is using random numbers to simulate actual probable outcomes. Test your code for various numbers of people. Here is pseudo code of the algorithm: Set number of collisions to zero Loop (10 to100 by 10)    Loop:       Generate a birthday. (use...
How many terms for the Maclaurin series f(x) = e^x at x = 1 needs to...
How many terms for the Maclaurin series f(x) = e^x at x = 1 needs to be added to make sure the estimate of e is off by no more than 1 in the 5th decimal place using the Remainder estimation theorem?
Estimate the area under the curve described by f(x)=x2+1 between [1, 3] using 8 rectangles. You...
Estimate the area under the curve described by f(x)=x2+1 between [1, 3] using 8 rectangles. You may define the height of your rectangles using the left- or right-edge.
The management of Brinkley Corporation is interested in using simulation to estimate the profit per unit...
The management of Brinkley Corporation is interested in using simulation to estimate the profit per unit for a new product. The selling price for the product will be $55 per unit. Probability distributions for the purchase cost, the labor cost, and the transportation cost are estimated as follows: Procurement Cost ($) Probability Labor Cost ($) Probability Transportation Cost ($) Probability 11 0.25 22 0.15 4 0.65 12 0.35 24 0.25 5 0.35 13 0.4 25 0.35 27 0.25 Compute profit...
(Hajikhameneh & Rietz) Answer the following questions for a consumer with utility function U(x, y) =...
(Hajikhameneh & Rietz) Answer the following questions for a consumer with utility function U(x, y) = x2 y2 and a budget constraint of g(x, y) = 2x + 4y = 40. You must show all of your work for full credit. a. What is the marginal utility of x? of y? b. In one to two sentences, define the economic meaning of the term “marginal utility.” c. What is the marginal rate of substitution for the given utility function? d....
1. Al Einstein has a utility function that we can describe by u(x1, x2) = x21...
1. Al Einstein has a utility function that we can describe by u(x1, x2) = x21 + 2x1x2 + x22 . Al’s wife, El Einstein, has a utility function v(x1, x2) = x2 + x1. (a) Calculate Al’s marginal rate of substitution between x1 and x2. (b) What is El’s marginal rate of substitution between x1 and x2? (c) Do Al’s and El’s utility functions u(x1, x2) and v(x1, x2) represent the same preferences? (d) Is El’s utility function a...
The management of Brinkley Corporation is interested in using simulation to estimate the profit per unit...
The management of Brinkley Corporation is interested in using simulation to estimate the profit per unit for a new product. The selling price for the product will be $45 per unit. Probability distributions for the purchase cost, the labor cost, and the transportation cost are estimated as follows: Procurement Cost ($) Probability Labor Cost ($) Probability Transportation Cost ($) Probability 10 0.25 20 0.10 3 0.75 11 0.45 22 0.25 5 0.25 12 0.30 24 0.35 25 0.30 Compute profit...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT