Skip to content

Commit

Permalink
deploy: 178d846
Browse files Browse the repository at this point in the history
  • Loading branch information
trevorcampbell committed Nov 11, 2023
1 parent acf3627 commit fc6e846
Showing 100 changed files with 20 additions and 19 deletions.
Binary file modified dev/_main_files/figure-html/01-ref-vs-tibble-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/02-dataframe-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/02-obs-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/02-tidy-image-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/02-vec-vs-list-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/02-vector-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/02-vectors-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/03-ggplot-function-scatter-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/activate-and-run-button-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/add-collab-01-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/add-collab-02-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/add-collab-03-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/add-collab-04-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/add-collab-05-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/clone-01-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/clone-02-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/clone-03-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/clone-04-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/code-cell-not-run-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/code-cell-run-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/convert-to-markdown-cell-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/create-new-code-cell-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/create-new-file-01-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/create-new-file-02-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/create-new-file-03-1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified dev/_main_files/figure-html/docker-desktop-images-1.png
Binary file modified dev/_main_files/figure-html/docker-desktop-runconfig-1.png
Binary file modified dev/_main_files/figure-html/docker-desktop-search-1.png
Binary file modified dev/_main_files/figure-html/docker-desktop-url-1.png
Binary file modified dev/_main_files/figure-html/generate-pat-01-1.png
Binary file modified dev/_main_files/figure-html/generate-pat-02-1.png
Binary file modified dev/_main_files/figure-html/generate-pat-03-1.png
Binary file modified dev/_main_files/figure-html/git-add-01-1.png
Binary file modified dev/_main_files/figure-html/git-add-02-1.png
Binary file modified dev/_main_files/figure-html/git-add-03-1.png
Binary file modified dev/_main_files/figure-html/git-commit-01-1.png
Binary file modified dev/_main_files/figure-html/git-commit-03-1.png
Binary file modified dev/_main_files/figure-html/git-pull-00-1.png
Binary file modified dev/_main_files/figure-html/git-pull-01-1.png
Binary file modified dev/_main_files/figure-html/git-pull-02-1.png
Binary file modified dev/_main_files/figure-html/git-pull-03-1.png
Binary file modified dev/_main_files/figure-html/git-pull-04-1.png
Binary file modified dev/_main_files/figure-html/git-push-01-1.png
Binary file modified dev/_main_files/figure-html/git-push-02-1.png
Binary file modified dev/_main_files/figure-html/git-push-03-1.png
Binary file modified dev/_main_files/figure-html/git-push-04-1.png
Binary file modified dev/_main_files/figure-html/img-arrange-1.png
Binary file modified dev/_main_files/figure-html/img-filter-1.png
Binary file modified dev/_main_files/figure-html/img-ggplot-1.png
Binary file modified dev/_main_files/figure-html/img-mutate-1.png
Binary file modified dev/_main_files/figure-html/img-pivot-longer-1.png
Binary file modified dev/_main_files/figure-html/img-pivot-wider-1.png
Binary file modified dev/_main_files/figure-html/img-read-csv-1.png
Binary file modified dev/_main_files/figure-html/img-select-1.png
Binary file modified dev/_main_files/figure-html/img-separate-1.png
Binary file modified dev/_main_files/figure-html/issue-01-1.png
Binary file modified dev/_main_files/figure-html/issue-02-1.png
Binary file modified dev/_main_files/figure-html/issue-03-1.png
Binary file modified dev/_main_files/figure-html/issue-04-1.png
Binary file modified dev/_main_files/figure-html/issue-06-1.png
Binary file modified dev/_main_files/figure-html/launcher-1.png
Binary file modified dev/_main_files/figure-html/markdown-cell-not-run-1.png
Binary file modified dev/_main_files/figure-html/markdown-cell-run-1.png
Binary file modified dev/_main_files/figure-html/merge-conflict-01-1.png
Binary file modified dev/_main_files/figure-html/merge-conflict-03-1.png
Binary file modified dev/_main_files/figure-html/merge-conflict-04-1.png
Binary file modified dev/_main_files/figure-html/merge-conflict-05-1.png
Binary file modified dev/_main_files/figure-html/merge-conflict-06-1.png
Binary file modified dev/_main_files/figure-html/mutate-across-1.png
Binary file modified dev/_main_files/figure-html/new-repository-01-1.png
Binary file modified dev/_main_files/figure-html/new-repository-02-1.png
Binary file modified dev/_main_files/figure-html/new-repository-03-1.png
Binary file modified dev/_main_files/figure-html/open-data-w-editor-1-1.png
Binary file modified dev/_main_files/figure-html/open-data-w-editor-2-1.png
Binary file modified dev/_main_files/figure-html/out-of-order-1-1.png
Binary file modified dev/_main_files/figure-html/out-of-order-2-1.png
Binary file modified dev/_main_files/figure-html/out-of-order-3-1.png
Binary file modified dev/_main_files/figure-html/pen-tool-01-1.png
Binary file modified dev/_main_files/figure-html/pen-tool-02-1.png
Binary file modified dev/_main_files/figure-html/pen-tool-03-1.png
Binary file modified dev/_main_files/figure-html/restart-kernel-run-all-1.png
Binary file modified dev/_main_files/figure-html/rowwise-1.png
Binary file modified dev/_main_files/figure-html/summarize-1.png
Binary file modified dev/_main_files/figure-html/summarize-across-1.png
Binary file modified dev/_main_files/figure-html/summarize-groupby-1.png
Binary file modified dev/_main_files/figure-html/ubuntu-docker-terminal-1.png
Binary file modified dev/_main_files/figure-html/upload-files-01-1.png
Binary file modified dev/_main_files/figure-html/upload-files-02-1.png
Binary file modified dev/_main_files/figure-html/vc-ba2-add-1.png
Binary file modified dev/_main_files/figure-html/vc-ba3-commit-1.png
Binary file modified dev/_main_files/figure-html/vc1-no-changes-1.png
Binary file modified dev/_main_files/figure-html/vc2-changes-1.png
Binary file modified dev/_main_files/figure-html/vc5-push-1.png
Binary file modified dev/_main_files/figure-html/vc6-remote-changes-1.png
Binary file modified dev/_main_files/figure-html/vc7-pull-1.png
2 changes: 1 addition & 1 deletion dev/classification1.html

Large diffs are not rendered by default.

13 changes: 7 additions & 6 deletions dev/inference.html
Original file line number Diff line number Diff line change
@@ -947,7 +947,7 @@ <h3><span class="header-section-number">10.4.2</span> Sampling distributions for
## &lt;int&gt; &lt;dbl&gt;
## 1 1 155.80</code></pre>
<p>The average value of the sample of size 40
is $155.8. This
is $155.80. This
number is a point estimate for the mean of the full population.
Recall that the population mean was
$154.51. So our estimate was fairly close to
@@ -1179,7 +1179,7 @@ <h3><span class="header-section-number">10.5.2</span> Bootstrapping in R<a href=
Once again, suppose we are
interested in estimating the population mean price per night of all Airbnb
listings in Vancouver, Canada, using a single sample size of 40.
Recall our point estimate was $155.8. The
Recall our point estimate was $155.80. The
histogram of prices in the sample is displayed in Figure <a href="inference.html#fig:11-bootstrapping1">10.10</a>.</p>
<div class="sourceCode" id="cb473"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb473-1"><a href="inference.html#cb473-1" tabindex="-1"></a>one_sample</span></code></pre></div>
<pre><code>## # A tibble: 40 × 8
@@ -1209,7 +1209,7 @@ <h3><span class="header-section-number">10.5.2</span> Bootstrapping in R<a href=
</p>
</div>
<p>The histogram for the sample is skewed, with a few observations out to the right. The
mean of the sample is $155.8.
mean of the sample is $155.80.
Remember, in practice, we usually only have this one sample from the population. So
this sample and estimate are the only data we can work with.</p>
<p>We now perform steps 1–5 listed above to generate a single bootstrap
@@ -1423,7 +1423,8 @@ <h3><span class="header-section-number">10.5.3</span> Using the bootstrap to cal
<li>Find the value such that 97.5% of observations fall below it (the 97.5% percentile). Use that value as the upper bound of the interval.</li>
</ol>
<div style="page-break-after: always;"></div>
<p>To do this in R, we can use the <code>quantile()</code> function:
<p>To do this in R, we can use the <code>quantile()</code> function. Quantiles are expressed in proportions rather than
percentages, so the 2.5th and 97.5th percentiles would be the 0.025 and 0.975 quantiles, respectively.
</p>
<div class="sourceCode" id="cb491"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb491-1"><a href="inference.html#cb491-1" tabindex="-1"></a>bounds <span class="ot">&lt;-</span> boot20000_means <span class="sc">|&gt;</span></span>
<span id="cb491-2"><a href="inference.html#cb491-2" tabindex="-1"></a> <span class="fu">select</span>(mean_price) <span class="sc">|&gt;</span></span>
@@ -1446,9 +1447,9 @@ <h3><span class="header-section-number">10.5.3</span> Using the bootstrap to cal
<p>To finish our estimation of the population parameter, we would report the point
estimate and our confidence interval’s lower and upper bounds. Here the sample
mean price per night of 40 Airbnb listings was
$155.8, and we are 95% “confident” that the true
$155.80, and we are 95% “confident” that the true
population mean price per night for all Airbnb listings in Vancouver is between
$(119.28, 203.63).
$119.28 and $203.63.
Notice that our interval does indeed contain the true
population mean value, $154.51! However, in
practice, we would not know whether our interval captured the population
12 changes: 6 additions & 6 deletions dev/regression1.html

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions dev/regression2.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dev/search_index.json

Large diffs are not rendered by default.

0 comments on commit fc6e846

Please sign in to comment.