Question: Problem 5: Let X N two-parameter Exponential(z, 77) with probability density function ax) = Ame(Hm 2 n , where / and n are positive constant.

Problem 5: Let X N two-parameter Exponential(z\\, 77) with probability density function ax) = Ame\"(Hm 2 n , where /\\ and n are positive constant. (a) Calculate the cumulative density function F(x) (b) Calculate :c = F'1(u), i.e., solve the equation F(:::) = u for a given u, where u is a random variable from Unif[0,1]. (c) Write a function to generate random numbers from ExponentialOr, n) (d) Generate 10,000 random numbers and plot the histogram. You may set A = the last digit of your UID and n = the second last digit. (e) Compare the sample quantiles with the theoretical quantiles
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
