From 8937e19fce08493922a20377879fbcfaabc4ff6d Mon Sep 17 00:00:00 2001 From: Quarto GHA Workflow Runner Date: Mon, 16 Sep 2024 18:40:39 +0000 Subject: [PATCH] Built site for gh-pages --- .nojekyll | 2 +- schedule/slides/02-lm-example.html | 3 +- search.json | 4 +- sitemap.xml | 96 +++++++++++++++--------------- 4 files changed, 53 insertions(+), 52 deletions(-) diff --git a/.nojekyll b/.nojekyll index 18c06fd..7cfe462 100644 --- a/.nojekyll +++ b/.nojekyll @@ -1 +1 @@ -0fb35371 \ No newline at end of file +828ff237 \ No newline at end of file diff --git a/schedule/slides/02-lm-example.html b/schedule/slides/02-lm-example.html index a0c380e..49e7089 100644 --- a/schedule/slides/02-lm-example.html +++ b/schedule/slides/02-lm-example.html @@ -398,7 +398,7 @@

02 Linear model example

Stat 406

Geoff Pleiss, Trevor Campbell

-

Last modified – 13 September 2024

+

Last modified – 16 September 2024

\[ \DeclareMathOperator*{\argmin}{argmin} \DeclareMathOperator*{\argmax}{argmax} @@ -581,6 +581,7 @@

Results

Diagnostic plots

+

NB: the line in the QQ plot isn’t right for either geom_qq_line or plot.lm

stuff <- tibble(
diff --git a/search.json b/search.json
index e230521..2edc9d6 100644
--- a/search.json
+++ b/search.json
@@ -4239,7 +4239,7 @@
     "href": "schedule/slides/02-lm-example.html#section",
     "title": "UBC Stat406 2024W",
     "section": "02 Linear model example",
-    "text": "02 Linear model example\nStat 406\nGeoff Pleiss, Trevor Campbell\nLast modified – 13 September 2024\n\\[\n\\DeclareMathOperator*{\\argmin}{argmin}\n\\DeclareMathOperator*{\\argmax}{argmax}\n\\DeclareMathOperator*{\\minimize}{minimize}\n\\DeclareMathOperator*{\\maximize}{maximize}\n\\DeclareMathOperator*{\\find}{find}\n\\DeclareMathOperator{\\st}{subject\\,\\,to}\n\\newcommand{\\E}{E}\n\\newcommand{\\Expect}[1]{\\E\\left[ #1 \\right]}\n\\newcommand{\\Var}[1]{\\mathrm{Var}\\left[ #1 \\right]}\n\\newcommand{\\Cov}[2]{\\mathrm{Cov}\\left[#1,\\ #2\\right]}\n\\newcommand{\\given}{\\ \\vert\\ }\n\\newcommand{\\X}{\\mathbf{X}}\n\\newcommand{\\x}{\\mathbf{x}}\n\\newcommand{\\y}{\\mathbf{y}}\n\\newcommand{\\P}{\\mathcal{P}}\n\\newcommand{\\R}{\\mathbb{R}}\n\\newcommand{\\norm}[1]{\\left\\lVert #1 \\right\\rVert}\n\\newcommand{\\snorm}[1]{\\lVert #1 \\rVert}\n\\newcommand{\\tr}[1]{\\mbox{tr}(#1)}\n\\newcommand{\\brt}{\\widehat{\\beta}^R_{s}}\n\\newcommand{\\brl}{\\widehat{\\beta}^R_{\\lambda}}\n\\newcommand{\\bls}{\\widehat{\\beta}_{ols}}\n\\newcommand{\\blt}{\\widehat{\\beta}^L_{s}}\n\\newcommand{\\bll}{\\widehat{\\beta}^L_{\\lambda}}\n\\newcommand{\\U}{\\mathbf{U}}\n\\newcommand{\\D}{\\mathbf{D}}\n\\newcommand{\\V}{\\mathbf{V}}\n\\]"
+    "text": "02 Linear model example\nStat 406\nGeoff Pleiss, Trevor Campbell\nLast modified – 16 September 2024\n\\[\n\\DeclareMathOperator*{\\argmin}{argmin}\n\\DeclareMathOperator*{\\argmax}{argmax}\n\\DeclareMathOperator*{\\minimize}{minimize}\n\\DeclareMathOperator*{\\maximize}{maximize}\n\\DeclareMathOperator*{\\find}{find}\n\\DeclareMathOperator{\\st}{subject\\,\\,to}\n\\newcommand{\\E}{E}\n\\newcommand{\\Expect}[1]{\\E\\left[ #1 \\right]}\n\\newcommand{\\Var}[1]{\\mathrm{Var}\\left[ #1 \\right]}\n\\newcommand{\\Cov}[2]{\\mathrm{Cov}\\left[#1,\\ #2\\right]}\n\\newcommand{\\given}{\\ \\vert\\ }\n\\newcommand{\\X}{\\mathbf{X}}\n\\newcommand{\\x}{\\mathbf{x}}\n\\newcommand{\\y}{\\mathbf{y}}\n\\newcommand{\\P}{\\mathcal{P}}\n\\newcommand{\\R}{\\mathbb{R}}\n\\newcommand{\\norm}[1]{\\left\\lVert #1 \\right\\rVert}\n\\newcommand{\\snorm}[1]{\\lVert #1 \\rVert}\n\\newcommand{\\tr}[1]{\\mbox{tr}(#1)}\n\\newcommand{\\brt}{\\widehat{\\beta}^R_{s}}\n\\newcommand{\\brl}{\\widehat{\\beta}^R_{\\lambda}}\n\\newcommand{\\bls}{\\widehat{\\beta}_{ols}}\n\\newcommand{\\blt}{\\widehat{\\beta}^L_{s}}\n\\newcommand{\\bll}{\\widehat{\\beta}^L_{\\lambda}}\n\\newcommand{\\U}{\\mathbf{U}}\n\\newcommand{\\D}{\\mathbf{D}}\n\\newcommand{\\V}{\\mathbf{V}}\n\\]"
   },
   {
     "objectID": "schedule/slides/02-lm-example.html#economic-mobility",
@@ -4274,7 +4274,7 @@
     "href": "schedule/slides/02-lm-example.html#diagnostic-plots",
     "title": "UBC Stat406 2024W",
     "section": "Diagnostic plots",
-    "text": "Diagnostic plots\n\n\nstuff <- tibble(\n  residuals = residuals(full),\n  fitted = fitted(full),\n  stdresiduals = rstandard(full)\n)\nggplot(stuff, aes(fitted, residuals)) +\n  geom_point() +\n  geom_smooth(\n    se = FALSE,\n    colour = \"steelblue\",\n    linewidth = 2\n  ) +\n  ggtitle(\"Residuals vs Fitted\")\n\n\n\n\n\n\n\n\n\n\n\nggplot(stuff, aes(sample = stdresiduals)) +\n  geom_qq(size = 2) +\n  geom_qq_line(linewidth = 2, color = \"steelblue\") +\n  labs(\n    x = \"Theoretical quantiles\",\n    y = \"Standardized residuals\",\n    title = \"Normal Q-Q\"\n  )"
+    "text": "Diagnostic plots\nNB: the line in the QQ plot isn’t right for either geom_qq_line or plot.lm…\n\n\nstuff <- tibble(\n  residuals = residuals(full),\n  fitted = fitted(full),\n  stdresiduals = rstandard(full)\n)\nggplot(stuff, aes(fitted, residuals)) +\n  geom_point() +\n  geom_smooth(\n    se = FALSE,\n    colour = \"steelblue\",\n    linewidth = 2\n  ) +\n  ggtitle(\"Residuals vs Fitted\")\n\n\n\n\n\n\n\n\n\n\n\nggplot(stuff, aes(sample = stdresiduals)) +\n  geom_qq(size = 2) +\n  geom_qq_line(linewidth = 2, color = \"steelblue\") +\n  labs(\n    x = \"Theoretical quantiles\",\n    y = \"Standardized residuals\",\n    title = \"Normal Q-Q\"\n  )"
   },
   {
     "objectID": "schedule/slides/02-lm-example.html#can-also-just-use-dispatched-plot",
diff --git a/sitemap.xml b/sitemap.xml
index 53b3320..9a1c947 100644
--- a/sitemap.xml
+++ b/sitemap.xml
@@ -2,194 +2,194 @@
 
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/00-r-review.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/handouts/keras-nnet.html
-    2024-09-14T15:54:43.952Z
+    2024-09-16T18:38:52.617Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/11-kernel-smoothers.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/09-l1-penalties.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/18-the-bootstrap.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/23-nnets-other.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/25-pca-issues.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/24-pca-intro.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/15-LDA-and-QDA.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/08-ridge-regression.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/00-quiz-0-wrap.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/27-kmeans.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/14-classification-intro.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/04-bias-variance.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/00-cv-for-many-models.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/01-lm-review.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/06-information-criteria.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/12-why-smooth.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/00-intro-to-class.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/handouts/lab00-git.html
-    2024-09-14T15:54:43.956Z
+    2024-09-16T18:38:52.617Z
   
   
     https://UBC-STAT.github.io/stat-406/course-setup.html
-    2024-09-14T15:54:43.932Z
+    2024-09-16T18:38:52.597Z
   
   
     https://UBC-STAT.github.io/stat-406/computing/windows.html
-    2024-09-14T15:54:43.932Z
+    2024-09-16T18:38:52.597Z
   
   
     https://UBC-STAT.github.io/stat-406/computing/mac_x86.html
-    2024-09-14T15:54:43.932Z
+    2024-09-16T18:38:52.597Z
   
   
     https://UBC-STAT.github.io/stat-406/computing/index.html
-    2024-09-14T15:54:43.932Z
+    2024-09-16T18:38:52.597Z
   
   
     https://UBC-STAT.github.io/stat-406/index.html
-    2024-09-14T15:54:43.932Z
+    2024-09-16T18:38:52.597Z
   
   
     https://UBC-STAT.github.io/stat-406/computing/mac_arm.html
-    2024-09-14T15:54:43.932Z
+    2024-09-16T18:38:52.597Z
   
   
     https://UBC-STAT.github.io/stat-406/computing/ubuntu.html
-    2024-09-14T15:54:43.932Z
+    2024-09-16T18:38:52.597Z
   
   
     https://UBC-STAT.github.io/stat-406/syllabus.html
-    2024-09-14T15:54:43.988Z
+    2024-09-16T18:38:52.649Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/index.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/00-course-review.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/00-version-control.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/faq.html
-    2024-09-14T15:54:43.932Z
+    2024-09-16T18:38:52.597Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/21-nnets-intro.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/03-regression-function.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/19-bagging-and-rf.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/22-nnets-estimation.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/16-logistic-regression.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/20-boosting.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/00-classification-losses.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/10-basis-expansions.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/26-pca-v-kpca.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/13-gams-trees.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/05-estimating-test-mse.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/28-hclust.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/07-greedy-selection.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/02-lm-example.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/17-nonlinear-classifiers.html
-    2024-09-14T15:54:43.964Z
+    2024-09-16T18:38:52.625Z
   
   
     https://UBC-STAT.github.io/stat-406/schedule/slides/00-gradient-descent.html
-    2024-09-14T15:54:43.960Z
+    2024-09-16T18:38:52.625Z