Yann Claudel
20/01/2017
\[ S_{n}=\frac{X_{1} + X_{2}+ ... + X_{n}}{n} \]
For large n, in accordance with the Central Limit Theorem, the mean of iid random variables should follow a normal distribution with mean = mu and variance = var/n
Or for large n, \( \frac{\bar X_n - mu}{var / \sqrt{n}} \) has a distribution like that of a standard normal.
The purpose of the shiny application is to illustrate the Central Limit Theorem.
The user can choose :
See the application
https://yclaudel.shinyapps.io/firstshinyap
mns = NULL
for (i in 1 : nObs) mns = c(mns, mean(dist(nVar)))
...
hist(mns)