Question: Write a R code to a) select a random sample between 100 and 100 of size 50 with replacement. [1 Mark] b) generate a vector

![100 and 100 of size 50 with replacement. [1 Mark] b) generate](https://dsd5zvtm8ll6.cloudfront.net/si.experts.images/questions/2024/09/66f51604cc283_98866f516046f965.jpg)
Write a R code to a) select a random sample between 100 and 100 of size 50 with replacement. [1 Mark] b) generate a vector of an exponential random sample of size 10 with rate = 5. (1 Mark] calculate the 95.5% percentile of the standard normal distribution. [1 Mark] generate a Weibull random variable of size 100, with the shape (a =2) and scale (B =7) based on the quantile function given as follows: Q(p) = B[-In (1 - p)]1/a where p-Uniform(0,1). [1 Mark]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
