Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

std error or std deviation? #484

Open
stevee-bee opened this issue Mar 29, 2021 · 0 comments
Open

std error or std deviation? #484

stevee-bee opened this issue Mar 29, 2021 · 0 comments

Comments

@stevee-bee
Copy link

Course: Statistical Inference
Lesson: Asymptotics

While doing the dice rolls, we divide "by the standard error".

  |================                                                           |  22%
| To show the CLT in action consider this figure from the slides. It presents 3
| histograms of 1000 averages of dice rolls with sample sizes of 10, 20 and 30
| respectively. Each average of n dice rolls (n=10,20,30) has been normalized by
| subtracting off the mean (3.5) then dividing by the standard error, sqrt(2.92/n).
| The normalization has made each histogram look like a standard normal, i.e., mean
| 0 and standard deviation 1.

But then when doing coin flips, we divide "by the std deviation".

  |==================                                                         |  25%
| Recall that if the probability of a head (call it 1) is p, then the probability of
| a tail (0) is 1-p. The expected value then is p and the variance is p-p^2 or
| p(1-p). Suppose we do n coin flips and let p' represent the average of these n
| flips. We normalize p' by subtracting the mean p and dividing by the std deviation
| sqrt(p(1-p)/n). Let's do this for 1000 trials and plot the resulting histogram.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant