Hi
I need the R code of the the below problem from Introducing Monte
Carlo Methods...
Exercise 2.2 Two distributions that have explicit forms of the cdf are the logis- tic and Cauchy distributions. Thus, they are well-suited to the inverse transform method. For each of the following, verify the form of the cdf and then generate 10,000 random variables using the inverse transform. Compare your program with the built-in R functions rlogis and rcauchy, respectively e-(x-μ) / β a. Logistic pdf: f (au b. Cauchy pdf: f(z) ,σ 1+(-L), cdf: F(z) arctan((z-μ)/σ) +