From 2cebe0a32d19df93514a994d5e064d4498983ba0 Mon Sep 17 00:00:00 2001 From: poldrack Date: Fri, 17 Jul 2020 07:15:38 -0700 Subject: [PATCH] fix chapter title --- notebooks/07-ResamplingAndSimulation.ipynb | 2 +- notebooks/07-ResamplingAndSimulation.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/notebooks/07-ResamplingAndSimulation.ipynb b/notebooks/07-ResamplingAndSimulation.ipynb index fe6122d..e90fca9 100644 --- a/notebooks/07-ResamplingAndSimulation.ipynb +++ b/notebooks/07-ResamplingAndSimulation.ipynb @@ -4,7 +4,7 @@ "cell_type": "markdown", "metadata": {}, "source": [ - "# Resampling and simulation in R\n", + "# Resampling and simulation\n", "\n", "## Generating random samples\n", "Here we will generate random samples from a number of different distributions and plot their histograms. We could write out separate commands to plot each of our functions of interest, but that would involve repeating a lot of code, so instead we will take advantage of the fact that Python allows us to treat modules as variables. We will specify the module that creates each distribution, and then loop through them, each time incrementing the panel number. Some distributions also take specific parameters; for example, the Chi-squared distribution requires specifying the degrees of freedom. We will store those in a separate dictionary and use them as needed." diff --git a/notebooks/07-ResamplingAndSimulation.py b/notebooks/07-ResamplingAndSimulation.py index f552c15..b2c81ae 100644 --- a/notebooks/07-ResamplingAndSimulation.py +++ b/notebooks/07-ResamplingAndSimulation.py @@ -14,7 +14,7 @@ # --- # %% [markdown] -# # Resampling and simulation in R +# # Resampling and simulation # # ## Generating random samples # Here we will generate random samples from a number of different distributions and plot their histograms. We could write out separate commands to plot each of our functions of interest, but that would involve repeating a lot of code, so instead we will take advantage of the fact that Python allows us to treat modules as variables. We will specify the module that creates each distribution, and then loop through them, each time incrementing the panel number. Some distributions also take specific parameters; for example, the Chi-squared distribution requires specifying the degrees of freedom. We will store those in a separate dictionary and use them as needed.