I'm having trouble figuring out how to perform the following:
Generate a plot for a normally distributed random variable X with a mean of 250 and variance of 625 (SD 25).
Generate a random sample (n=15) from a normally distributed variable Z with mean=10 variance = 400. Using this sample estimate the population mean for Z and 95% confidence interval.
Essentially the main part I'm struggling with is generating a random sample/variable. Thanks!