Question: Use MATLAB. Draw 1000 samples form a uniform distribution over [0,1]. Use these to perform random draws from the exponential distribution above. Plot a histogram

Use MATLAB. Draw 1000 samples form a uniform distribution over [0,1]. Use these to perform random draws from the exponential distribution above. Plot a histogram of these 1000 draws using the MATLAB hist.m function. Also plot the original random draws, e.g., plot(x).

Use MATLAB. Draw 1000 samples form a uniform distribution over [0,1]. Use

In modeling and simulation, one often has a PDF f(x) and corresponding CDF F(x) from which one would like to make random draws. Show that if one draws uniformly yU(0,1) from F(x), then one has x=F1(y) which is a random draw from f(x). The derivation is simple and you can look to the internet for a solution. As an example, consider the exponential density f(x)=e.3. It has a density that for =5 looks like It's CDF and an example of a random draw is shown below: Instructions Draw 1000 samples form a uniform distribution over [0,1]. Use these to perform random draws from the exponential distribution above. Plot a histogram of these 1000 draws using the MATLAB "hist.m" function. Also plot the original random draws, e.g., plot( (x). Deliverables The specified derivation, plots, code, description of what you found and an explanation for what you saw

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!