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

Use correct statistical terminology #2

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Percentiles.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -200,11 +200,11 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"## The Central Limit Theorem\n",
"## The Law of Large Numbers\n",
"\n",
"Before we continue with our story, let's review some stats.\n",
"\n",
"You may recall from school that there's a handy thing called the [Central Limit Theorem](https://en.wikipedia.org/wiki/Central_limit_theorem). The CLT basically says this: The average of a large enough sample will be pretty close to the \"real\" average, give or take some error.\n",
"You may recall from school that there's a handy thing called the [Law of large numbers](https://en.wikipedia.org/wiki/Law_of_large_numbers). The LLN basically says this: The average of a large enough sample will be pretty close to the \"real\" average, give or take some error.\n",
"\n",
"This is pretty handy for measuring a lot of things—it means that even a relatively small sample can give us a pretty good measure of the population average.\n",
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd like to see this statement quantified. I don't think the LLN makes guarantees about sample sizes out of the box, but is a general statement on expectations.

"\n",
Expand Down Expand Up @@ -271,7 +271,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"Nice, the average of all of our sample averages is pretty damn close to the real average. This is the central limit theorem in action!"
"Nice, the average of all of our sample averages is pretty damn close to the real average. This is the law of large numbers in action!"
]
},
{
Expand All @@ -280,7 +280,7 @@
"source": [
"## Percentiles are trickier\n",
"\n",
"Unfortunately, the central limit theorem doesn't apply to percentiles. As proof, let's try the same procedure, but for the 99th percentile. As a reminder, the \"real\" p99 of our dataset is this:"
"Unfortunately, the law of large numbers doesn't apply to percentiles. As proof, let's try the same procedure, but for the 99th percentile. As a reminder, the \"real\" p99 of our dataset is this:"
]
},
{
Expand Down