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

Minor typo fixes - chapter 13, section 2 "Bootstrap" #182

Merged
merged 1 commit into from
Nov 15, 2023
Merged
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
4 changes: 2 additions & 2 deletions chapters/13/2/Bootstrap.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -632,7 +632,7 @@
"source": [
"## Bootstrap Empirical Distribution of the Sample Median\n",
"\n",
"We can now repeat the bootstrap process multiple times by running a `for` loop as usual. In each iteration, we will call the function `one_bootstrap_median` to generate one value of the bootstrapped median based on our original sample `our_sample`. Then we will append the boostrapped median to the collection array `bstrap_medians`.\n",
"We can now repeat the bootstrap process multiple times by running a `for` loop as usual. In each iteration, we will call the function `one_bootstrap_median` to generate one value of the bootstrapped median based on our original sample `our_sample`. Then we will append the bootstrapped median to the collection array `bstrap_medians`.\n",
"\n",
"Since we are asking for 5000 repetitions, the code might take a while to run. It has a lot of resampling to do!"
]
Expand Down Expand Up @@ -797,7 +797,7 @@
"cell_type": "markdown",
"metadata": {},
"source": [
"We will start by writing a function `bootstrap_median` that takes two arguments: the name of the table containing the original random sample, and the number of bootstrap samples to draw. It returns an array of bootstrapped medians, one from each boostrap sample."
"We will start by writing a function `bootstrap_median` that takes two arguments: the name of the table containing the original random sample, and the number of bootstrap samples to draw. It returns an array of bootstrapped medians, one from each bootstrap sample."
]
},
{
Expand Down
Loading