Question

Q5. Simulations to estimate the expectation Let X be a Gaussian random variable with mean 0 and variance 1 i.e., h = 0 and o

0 0
Add a comment Improve this question Transcribed image text
Answer #1

R-codes I >n=10000 >#generating samples from N(0,1) >X=rnorm(n,0,1) >#a) >hist(X) >par(new=TRUE) >plot(X, dnorm(x)) HistogramII > n=50000 > #generating samples from N(0,1) > X=rnorm(n,0,1) > #(a) > hist(X) > par(new=TRUE) > plot(X, dnorm(x)) Histogra

Add a comment
Know the answer?
Add Answer to:
Q5. Simulations to estimate the expectation Let X be a Gaussian random variable with mean 0...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT