Question: Programming code: Matlab A. Create a program that draws numbers from a standard normal distribution by randomly generating a number from the uniform distribution U[0,1).
Programming code: Matlab
A. Create a program that draws numbers from a standard normal distribution by randomly generating a number from the uniform distribution U[0,1). User can use the inverse standard normal functionnorminv(). Draw 100, 1000 and 10000 numbers using your program and plot the distribution against the parametric distribution. How well do the distributions fit the parametric distribution? B. Using the generated numbers from part A, use the relationship = + to transform the generated numbers from N(0,1) to N(10,3). C. Using the transformed generated numbers from part B, compute the 95 th percentile range by counting 2.5% observations from the bottom and 2.5% observations from the top (computer is doing the counting). How well does this fit the parametric 95% percentile range? What are the sources of error?
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
