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

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

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

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!