Use y <->
(a) Calculate the mean and standard deviation of y.
(b) Use a loop to repeat the above calculation 25 times. Store the 25 means in a vector named av. Calculate the standard deviation of the values in av.
(c) Create a function that performs the calculations described in (b). Run the function several times, showing each of the distributions of 25 means in a density plot.
Already registered? Login
Not Account? Sign up
Enter your email address to reset your password
Back to Login? Click here