Page 1 of 1

In R code: For each of the three values of n=3, 21 and 79, set the generation seed at 100 and generate 1280 samples from

Posted: Mon Jun 06, 2022 4:34 pm
by answerhappygod
In R code:
For each of the three values
of n=3, 21 and 79, set
the generation seed at
100 and generate 1280
samples from a population, X, with continuous uniform
distribution in the interval [11,15]. For
every value of n:
- Calculate the mean of each of the
samples thus obtaining values from the mean
distribution Xn.
- Make the relative frequency
histogram associated with the values obtained from
the distribution of the mean Xn . Superimpose on the
graph a curve with the normal distribution
with expected value
E(X) and variance Var(X)/n.