Skip to content

Commit a7543a0

Browse files
author
StephenElston
committed
Small edits
1 parent 2ad8556 commit a7543a0

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Module04/04-05-Sampling Distributions.ipynb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,7 +465,7 @@
465465
"\n",
466466
"\\begin{equation}\\mu_{x} = \\mu_{\\bar{x}}\\end{equation}\n",
467467
"\n",
468-
"In this case, the full population mean is unknown (unless we weigh every bag in the world!), but we do have the mean of the full set of sample observations we collected (**x̄**), and if we check the values generated by Python for the sample mean and the sampling mean, they're more or less the same: around 3.2.\n",
468+
"In this case, the full population mean is unknown (unless we weigh every bag in the world!), but we do have the mean of the full set of sample observations we collected (**x̄**), and if we check the values generated by R for the sample mean and the sampling mean, they're more or less the same: around 3.2.\n",
469469
"\n",
470470
"To find the standard deviation of the sample mean, which is technically the *standard error*, we can use this formula:\n",
471471
"\n",
@@ -512,7 +512,7 @@
512512
"\\begin{equation}\\lim_{n \\to \\infty} \\frac{\\sigma}{\\sqrt{n}} = 0\\end{equation}\n",
513513
"\n",
514514
"\n",
515-
"In Python, you can use the *scipy.stats.**norm.interval*** function to calculate a confidence interval for a normal distribution. Run the following code to recreate the sampling distribution for bag searches with the same parameters, and display the 95% confidence interval for the mean (again, this may take some time to run):"
515+
"Run the following code to recreate the sampling distribution for bag searches with the same parameters, and display the 95% confidence interval for the mean (again, this may take some time to run):"
516516
]
517517
},
518518
{

0 commit comments

Comments
 (0)