diff --git a/01-IntroductionToPython.html b/01-IntroductionToPython.html index 71470ce..2be3045 100644 --- a/01-IntroductionToPython.html +++ b/01-IntroductionToPython.html @@ -96,7 +96,7 @@
-0.7781456934580733
+-0.16732079539678754
array([110.59242224, 120.2608977 , 92.63319893, 78.17154929,
- 86.39200147])
+array([ 93.87826084, 107.02436875, 87.70148102, 107.76083003,
+ 116.53109624])
[<matplotlib.lines.Line2D at 0x7f1b2ec4d6d0>]
+[<matplotlib.lines.Line2D at 0x7f288ee47190>]
@@ -333,7 +333,7 @@ Bar vs. line plots
-<matplotlib.axes._subplots.AxesSubplot at 0x7f1b2ebfd760>
+<matplotlib.axes._subplots.AxesSubplot at 0x7f288edf3d60>
@@ -376,7 +376,7 @@ Plots with two variables
-<matplotlib.axes._subplots.AxesSubplot at 0x7f1b2ea6df10>
+<matplotlib.axes._subplots.AxesSubplot at 0x7f288ec89580>
@@ -396,7 +396,7 @@ Plotting dispersion
-<matplotlib.axes._subplots.AxesSubplot at 0x7f1b2e92c7f0>
+<matplotlib.axes._subplots.AxesSubplot at 0x7f288eb371c0>
@@ -412,7 +412,7 @@ Plotting dispersion
-<matplotlib.axes._subplots.AxesSubplot at 0x7f1b2c05c4f0>
+<matplotlib.axes._subplots.AxesSubplot at 0x7f288c441c40>
@@ -428,8 +428,8 @@ Scatter plotdata=adult_nhanes_data)
plt.plot([adult_nhanes_data['SystolicBloodPres1StRdgMmHg'].min(),
adult_nhanes_data['SystolicBloodPres1StRdgMmHg'].max()],
- [adult_nhanes_data['SystolicBloodPres2NdRdgMmHg'].min(),
- adult_nhanes_data['SystolicBloodPres2NdRdgMmHg'].max()],
+ [adult_nhanes_data['SystolicBloodPres1StRdgMmHg'].min(),
+ adult_nhanes_data['SystolicBloodPres1StRdgMmHg'].max()],
color='k')
plt.xlabel('Systolic BP - First reading')
plt.ylabel('Systolic BP - Second reading')
diff --git a/04-FittingSimpleModels.html b/04-FittingSimpleModels.html
index 6b9bd31..82d3656 100644
--- a/04-FittingSimpleModels.html
+++ b/04-FittingSimpleModels.html
@@ -96,7 +96,7 @@ Python Companion to Statistical Thinking i
- Resampling and simulation in R
+ Resampling and simulation
@@ -121,7 +121,7 @@ Python Companion to Statistical Thinking i
- The General Linear Model in Python
+ The General Linear Model
@@ -485,7 +485,7 @@ Variability
-99.32116733780761
+118.0052013422819
@@ -498,7 +498,7 @@ Variability
-99.3211673378076
+118.00520134228196
@@ -512,7 +512,7 @@ Variability
-9.966000568824366
+10.863019899746197
@@ -525,7 +525,7 @@ Variability
-9.966000568824366
+10.8630198997462
@@ -559,10 +559,10 @@ Z-scores
-(array([10., 21., 15., 27., 16., 26., 6., 15., 10., 4.]),
- array([-1.78132306, -1.37393798, -0.96655289, -0.55916781, -0.15178272,
- 0.25560237, 0.66298745, 1.07037254, 1.47775763, 1.88514271,
- 2.2925278 ]),
+(array([ 6., 15., 21., 29., 20., 21., 21., 10., 5., 2.]),
+ array([-2.05559782, -1.58611511, -1.1166324 , -0.64714969, -0.17766699,
+ 0.29181572, 0.76129843, 1.23078114, 1.70026385, 2.16974655,
+ 2.63922926]),
<a list of 10 Patch objects>)
@@ -577,7 +577,7 @@ Z-scores
-<matplotlib.collections.PathCollection at 0x7f174d259520>
+<matplotlib.collections.PathCollection at 0x7f1ffead45e0>
diff --git a/05-Probability.html b/05-Probability.html
index 73ab3a6..fa1e638 100644
--- a/05-Probability.html
+++ b/05-Probability.html
@@ -96,7 +96,7 @@ Python Companion to Statistical Thinking i
- Resampling and simulation in R
+ Resampling and simulation
@@ -121,7 +121,7 @@ Python Companion to Statistical Thinking i
- The General Linear Model in Python
+ The General Linear Model
diff --git a/06-Sampling.html b/06-Sampling.html
index 76033b5..4b86ee9 100644
--- a/06-Sampling.html
+++ b/06-Sampling.html
@@ -31,7 +31,7 @@
-
+
@@ -96,7 +96,7 @@ Python Companion to Statistical Thinking i
- Resampling and simulation in R
+ Resampling and simulation
@@ -121,7 +121,7 @@ Python Companion to Statistical Thinking i
- The General Linear Model in Python
+ The General Linear Model
@@ -267,7 +267,7 @@ Sampling error# we need to use the maximum of those data to set
# the height of the vertical line that shows the mean
plt.axvline(x=adult_nhanes_data['Height'].mean(),
- ymax=np.max(hist[0]), color='k')
+ ymax=1, color='k')
# draw the normal distribution with same mean and standard deviation
# as the sampling distribution
@@ -285,7 +285,7 @@ Sampling error
-[<matplotlib.lines.Line2D at 0x7f55b4bc2f70>]
+[<matplotlib.lines.Line2D at 0x7f155446ee50>]
@@ -438,7 +438,7 @@ Confidence intervals
-0.945
+0.958
@@ -457,7 +457,7 @@ Confidence intervals
Probability
- Resampling and simulation in R
+ Resampling and simulation