Question: R tasks: a) Draw a random sample from a normal distribution with mean = 10 and standard deviation = 5 with sample sizes equal to
R tasks: a) Draw a random sample from a normal distribution with mean = 10 and standard deviation = 5 with sample sizes equal to n1 = 10 and n2 = 100. Report the sample mean, sample standard deviation, sample minimum and maximum for both cases either in written or printed form (Hint: use rnorm() function to draw a random sample). [5 points] b) Plot a standard normal, a 2 distribution with 1 degree of freedom, and a t distribution with 1 degree of freedom on the same axes. Please submit a figure plot together with your homework. (Hint: use dnorm(), dchisq() and dt() functions to plot and curve() with 'add=T' to plot to the same axes). [5 points]
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
