Skip to content

Commit

Permalink
deploy: 688ecbb
Browse files Browse the repository at this point in the history
  • Loading branch information
poldrack committed Aug 31, 2021
1 parent 04f5fe7 commit 1fc0b8c
Show file tree
Hide file tree
Showing 34 changed files with 100 additions and 137 deletions.
10 changes: 5 additions & 5 deletions 01-IntroductionToPython.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="07-ResamplingAndSimulation.html">
Resampling and simulation in R
Resampling and simulation
</a>
</li>
<li class="toctree-l1">
Expand All @@ -121,7 +121,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="13-GeneralLinearModel.html">
The General Linear Model in Python
The General Linear Model
</a>
</li>
</ul>
Expand Down Expand Up @@ -660,7 +660,7 @@ <h2>Functions<a class="headerlink" href="#functions" title="Permalink to this he
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>-0.7781456934580733
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>-0.16732079539678754
</pre></div>
</div>
</div>
Expand All @@ -674,8 +674,8 @@ <h2>Functions<a class="headerlink" href="#functions" title="Permalink to this he
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>array([110.59242224, 120.2608977 , 92.63319893, 78.17154929,
86.39200147])
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>array([ 93.87826084, 107.02436875, 87.70148102, 107.76083003,
116.53109624])
</pre></div>
</div>
</div>
Expand Down
4 changes: 2 additions & 2 deletions 02-SummarizingData.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="07-ResamplingAndSimulation.html">
Resampling and simulation in R
Resampling and simulation
</a>
</li>
<li class="toctree-l1">
Expand All @@ -121,7 +121,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="13-GeneralLinearModel.html">
The General Linear Model in Python
The General Linear Model
</a>
</li>
</ul>
Expand Down
18 changes: 9 additions & 9 deletions 03-DataVisualization.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="07-ResamplingAndSimulation.html">
Resampling and simulation in R
Resampling and simulation
</a>
</li>
<li class="toctree-l1">
Expand All @@ -121,7 +121,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="13-GeneralLinearModel.html">
The General Linear Model in Python
The General Linear Model
</a>
</li>
</ul>
Expand Down Expand Up @@ -318,7 +318,7 @@ <h3>Bar vs. line plots<a class="headerlink" href="#bar-vs-line-plots" title="Per
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f1b2ec4d6d0&gt;]
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f288ee47190&gt;]
</pre></div>
</div>
<img alt="_images/03-DataVisualization_14_1.png" src="_images/03-DataVisualization_14_1.png" />
Expand All @@ -333,7 +333,7 @@ <h3>Bar vs. line plots<a class="headerlink" href="#bar-vs-line-plots" title="Per
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.axes._subplots.AxesSubplot at 0x7f1b2ebfd760&gt;
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.axes._subplots.AxesSubplot at 0x7f288edf3d60&gt;
</pre></div>
</div>
<img alt="_images/03-DataVisualization_16_1.png" src="_images/03-DataVisualization_16_1.png" />
Expand Down Expand Up @@ -376,7 +376,7 @@ <h2>Plots with two variables<a class="headerlink" href="#plots-with-two-variable
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.axes._subplots.AxesSubplot at 0x7f1b2ea6df10&gt;
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.axes._subplots.AxesSubplot at 0x7f288ec89580&gt;
</pre></div>
</div>
<img alt="_images/03-DataVisualization_23_1.png" src="_images/03-DataVisualization_23_1.png" />
Expand All @@ -396,7 +396,7 @@ <h2>Plotting dispersion<a class="headerlink" href="#plotting-dispersion" title="
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.axes._subplots.AxesSubplot at 0x7f1b2e92c7f0&gt;
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.axes._subplots.AxesSubplot at 0x7f288eb371c0&gt;
</pre></div>
</div>
<img alt="_images/03-DataVisualization_26_1.png" src="_images/03-DataVisualization_26_1.png" />
Expand All @@ -412,7 +412,7 @@ <h2>Plotting dispersion<a class="headerlink" href="#plotting-dispersion" title="
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.axes._subplots.AxesSubplot at 0x7f1b2c05c4f0&gt;
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.axes._subplots.AxesSubplot at 0x7f288c441c40&gt;
</pre></div>
</div>
<img alt="_images/03-DataVisualization_28_1.png" src="_images/03-DataVisualization_28_1.png" />
Expand All @@ -428,8 +428,8 @@ <h3>Scatter plot<a class="headerlink" href="#scatter-plot" title="Permalink to t
<span class="n">data</span><span class="o">=</span><span class="n">adult_nhanes_data</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">plot</span><span class="p">([</span><span class="n">adult_nhanes_data</span><span class="p">[</span><span class="s1">&#39;SystolicBloodPres1StRdgMmHg&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">min</span><span class="p">(),</span>
<span class="n">adult_nhanes_data</span><span class="p">[</span><span class="s1">&#39;SystolicBloodPres1StRdgMmHg&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">max</span><span class="p">()],</span>
<span class="p">[</span><span class="n">adult_nhanes_data</span><span class="p">[</span><span class="s1">&#39;SystolicBloodPres2NdRdgMmHg&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">min</span><span class="p">(),</span>
<span class="n">adult_nhanes_data</span><span class="p">[</span><span class="s1">&#39;SystolicBloodPres2NdRdgMmHg&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">max</span><span class="p">()],</span>
<span class="p">[</span><span class="n">adult_nhanes_data</span><span class="p">[</span><span class="s1">&#39;SystolicBloodPres1StRdgMmHg&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">min</span><span class="p">(),</span>
<span class="n">adult_nhanes_data</span><span class="p">[</span><span class="s1">&#39;SystolicBloodPres1StRdgMmHg&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">max</span><span class="p">()],</span>
<span class="n">color</span><span class="o">=</span><span class="s1">&#39;k&#39;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">xlabel</span><span class="p">(</span><span class="s1">&#39;Systolic BP - First reading&#39;</span><span class="p">)</span>
<span class="n">plt</span><span class="o">.</span><span class="n">ylabel</span><span class="p">(</span><span class="s1">&#39;Systolic BP - Second reading&#39;</span><span class="p">)</span>
Expand Down
22 changes: 11 additions & 11 deletions 04-FittingSimpleModels.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="07-ResamplingAndSimulation.html">
Resampling and simulation in R
Resampling and simulation
</a>
</li>
<li class="toctree-l1">
Expand All @@ -121,7 +121,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="13-GeneralLinearModel.html">
The General Linear Model in Python
The General Linear Model
</a>
</li>
</ul>
Expand Down Expand Up @@ -485,7 +485,7 @@ <h2>Variability<a class="headerlink" href="#variability" title="Permalink to thi
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>99.32116733780761
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>118.0052013422819
</pre></div>
</div>
</div>
Expand All @@ -498,7 +498,7 @@ <h2>Variability<a class="headerlink" href="#variability" title="Permalink to thi
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>99.3211673378076
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>118.00520134228196
</pre></div>
</div>
</div>
Expand All @@ -512,7 +512,7 @@ <h2>Variability<a class="headerlink" href="#variability" title="Permalink to thi
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>9.966000568824366
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>10.863019899746197
</pre></div>
</div>
</div>
Expand All @@ -525,7 +525,7 @@ <h2>Variability<a class="headerlink" href="#variability" title="Permalink to thi
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>9.966000568824366
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>10.8630198997462
</pre></div>
</div>
</div>
Expand Down Expand Up @@ -559,10 +559,10 @@ <h2>Z-scores<a class="headerlink" href="#z-scores" title="Permalink to this head
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>(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 ]),
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>(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]),
&lt;a list of 10 Patch objects&gt;)
</pre></div>
</div>
Expand All @@ -577,7 +577,7 @@ <h2>Z-scores<a class="headerlink" href="#z-scores" title="Permalink to this head
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.collections.PathCollection at 0x7f174d259520&gt;
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;matplotlib.collections.PathCollection at 0x7f1ffead45e0&gt;
</pre></div>
</div>
<img alt="_images/04-FittingSimpleModels_48_1.png" src="_images/04-FittingSimpleModels_48_1.png" />
Expand Down
4 changes: 2 additions & 2 deletions 05-Probability.html
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="07-ResamplingAndSimulation.html">
Resampling and simulation in R
Resampling and simulation
</a>
</li>
<li class="toctree-l1">
Expand All @@ -121,7 +121,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="13-GeneralLinearModel.html">
The General Linear Model in Python
The General Linear Model
</a>
</li>
</ul>
Expand Down
14 changes: 7 additions & 7 deletions 06-Sampling.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<script async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/latest.js?config=TeX-AMS-MML_HTMLorMML"></script>
<link rel="index" title="Index" href="genindex.html" />
<link rel="search" title="Search" href="search.html" />
<link rel="next" title="Resampling and simulation in R" href="07-ResamplingAndSimulation.html" />
<link rel="next" title="Resampling and simulation" href="07-ResamplingAndSimulation.html" />
<link rel="prev" title="Probability" href="05-Probability.html" />

<meta name="viewport" content="width=device-width, initial-scale=1">
Expand Down Expand Up @@ -96,7 +96,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="07-ResamplingAndSimulation.html">
Resampling and simulation in R
Resampling and simulation
</a>
</li>
<li class="toctree-l1">
Expand All @@ -121,7 +121,7 @@ <h1 class="site-logo" id="site-title">Python Companion to Statistical Thinking i
</li>
<li class="toctree-l1">
<a class="reference internal" href="13-GeneralLinearModel.html">
The General Linear Model in Python
The General Linear Model
</a>
</li>
</ul>
Expand Down Expand Up @@ -267,7 +267,7 @@ <h2>Sampling error<a class="headerlink" href="#sampling-error" title="Permalink
<span class="c1"># we need to use the maximum of those data to set</span>
<span class="c1"># the height of the vertical line that shows the mean</span>
<span class="n">plt</span><span class="o">.</span><span class="n">axvline</span><span class="p">(</span><span class="n">x</span><span class="o">=</span><span class="n">adult_nhanes_data</span><span class="p">[</span><span class="s1">&#39;Height&#39;</span><span class="p">]</span><span class="o">.</span><span class="n">mean</span><span class="p">(),</span>
<span class="n">ymax</span><span class="o">=</span><span class="n">np</span><span class="o">.</span><span class="n">max</span><span class="p">(</span><span class="n">hist</span><span class="p">[</span><span class="mi">0</span><span class="p">]),</span> <span class="n">color</span><span class="o">=</span><span class="s1">&#39;k&#39;</span><span class="p">)</span>
<span class="n">ymax</span><span class="o">=</span><span class="mi">1</span><span class="p">,</span> <span class="n">color</span><span class="o">=</span><span class="s1">&#39;k&#39;</span><span class="p">)</span>

<span class="c1"># draw the normal distribution with same mean and standard deviation</span>
<span class="c1"># as the sampling distribution</span>
Expand All @@ -285,7 +285,7 @@ <h2>Sampling error<a class="headerlink" href="#sampling-error" title="Permalink
</div>
</div>
<div class="cell_output docutils container">
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f55b4bc2f70&gt;]
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>[&lt;matplotlib.lines.Line2D at 0x7f155446ee50&gt;]
</pre></div>
</div>
<img alt="_images/06-Sampling_5_1.png" src="_images/06-Sampling_5_1.png" />
Expand Down Expand Up @@ -438,7 +438,7 @@ <h2>Confidence intervals<a class="headerlink" href="#confidence-intervals" title
warnings.warn(
</pre>
</div>
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>0.945
<div class="output text_plain highlight-none notranslate"><div class="highlight"><pre><span></span>0.958
</pre></div>
</div>
</div>
Expand All @@ -457,7 +457,7 @@ <h2>Confidence intervals<a class="headerlink" href="#confidence-intervals" title
<div class='prev-next-bottom'>

<a class='left-prev' id="prev-link" href="05-Probability.html" title="previous page">Probability</a>
<a class='right-next' id="next-link" href="07-ResamplingAndSimulation.html" title="next page">Resampling and simulation in R</a>
<a class='right-next' id="next-link" href="07-ResamplingAndSimulation.html" title="next page">Resampling and simulation</a>

</div>
<footer class="footer mt-5 mt-md-0">
Expand Down
Loading

0 comments on commit 1fc0b8c

Please sign in to comment.