├── docs ├── robots.txt ├── 31-ml-intro_files │ └── figure-html │ │ ├── roc-3-1.png │ │ ├── f_1-vs-cutoff-1.png │ │ ├── accuracy-vs-cutoff-1.png │ │ └── precision-recall-1-1.png ├── site_libs │ ├── bootstrap │ │ └── bootstrap-icons.woff │ ├── kePrint-0.0.1 │ │ └── kePrint.js │ ├── quarto-html │ │ ├── tippy.css │ │ ├── quarto-syntax-highlighting.css │ │ └── anchor.min.js │ ├── quarto-nav │ │ └── headroom.min.js │ ├── lightable-0.0.1 │ │ └── lightable.css │ └── clipboard │ │ └── clipboard.min.js ├── 33-smoothing_files │ └── figure-html │ │ ├── loess-1.png │ │ ├── final-loess-1.png │ │ ├── loess-final-1.png │ │ ├── gaussian-kernel-1.png │ │ ├── polls-2008-data-1.png │ │ ├── regression-p-hat-1.png │ │ ├── triweight-kernel-1.png │ │ ├── unnamed-chunk-5-1.png │ │ ├── unnamed-chunk-7-1.png │ │ ├── unnamed-chunk-8-1.png │ │ ├── unnamed-chunk-9-1.png │ │ ├── binsmoother-final-1.png │ │ ├── binsmoother-expained-1.png │ │ ├── ggplot-loess-default-1.png │ │ ├── ggplot-loess-degree-1-1.png │ │ ├── true-p-better-colors-1.png │ │ ├── two-or-seven-scatter-1.png │ │ ├── signal-plus-noise-example-1.png │ │ ├── final-ksmooth-normal-kernel-1.png │ │ ├── two-or-seven-images-large-x1-1.png │ │ ├── linear-regression-not-flexible-1.png │ │ └── polls-2008-parabola-line-loess-1.png ├── 04-r-basics_files │ └── figure-html │ │ ├── co2-plot-1.png │ │ └── wrong-co2-plot-1.png ├── 10-distributions_files │ └── figure-html │ │ ├── ecdf-1.png │ │ ├── first-boxplot-1.png │ │ ├── boxplot-exercise-1.png │ │ ├── height-histogram-1.png │ │ ├── female-male-boxplots-1.png │ │ ├── hist-non-normal-data-1.png │ │ ├── two-densities-one-plot-1.png │ │ ├── data-and-normal-densities-1.png │ │ ├── state-region-distribution-1.png │ │ ├── example-of-smoothed-density-1.png │ │ ├── normal-distribution-density-1.png │ │ └── histogram-qqplot-female-heights-1.png ├── 11-ggplot2_files │ └── figure-html │ │ ├── ggplot-qq-1.png │ │ ├── barplot-geom-1.png │ │ ├── ggplot-density-1.png │ │ ├── ggplot-example-2-1.png │ │ ├── ggplot-example-3-1.png │ │ ├── ggplot-example-4-1.png │ │ ├── ggplot-example-5-1.png │ │ ├── ggplot-example-6-1.png │ │ ├── ggplot-example-7-1.png │ │ ├── ggplot-example-8-1.png │ │ ├── ggplot-example-9-1.png │ │ ├── unnamed-chunk-14-1.png │ │ ├── unnamed-chunk-16-1.png │ │ ├── unnamed-chunk-17-1.png │ │ ├── unnamed-chunk-18-1.png │ │ ├── unnamed-chunk-19-1.png │ │ ├── unnamed-chunk-20-1.png │ │ ├── ggplot-example-10-1.png │ │ ├── ggplot-example-11-1.png │ │ ├── ggplot-example-12-1.png │ │ ├── ggplot-example-13-1.png │ │ ├── gridExtra-example-1.png │ │ ├── final-ggplot-example-1.png │ │ ├── ggplot-example-plot-1.png │ │ ├── height-histogram-geom-1.png │ │ ├── region-freq-barplot-1.png │ │ ├── female-male-boxplots-geom-1.png │ │ └── ggplot2-image-new-colors-1.png ├── 13-wrangling_files │ └── figure-html │ │ ├── caribbean-1.png │ │ ├── ev-vs-population-1.png │ │ ├── unnamed-chunk-18-1.png │ │ └── caribbean-with-nicknames-1.png ├── pset1_files │ └── figure-html │ │ ├── unnamed-chunk-10-1.png │ │ ├── unnamed-chunk-11-1.png │ │ ├── unnamed-chunk-13-1.png │ │ ├── unnamed-chunk-15-1.png │ │ ├── unnamed-chunk-16-1.png │ │ ├── unnamed-chunk-18-1.png │ │ ├── unnamed-chunk-19-1.png │ │ ├── unnamed-chunk-2-1.png │ │ ├── unnamed-chunk-21-1.png │ │ ├── unnamed-chunk-22-1.png │ │ ├── unnamed-chunk-23-1.png │ │ ├── unnamed-chunk-3-1.png │ │ ├── unnamed-chunk-4-1.png │ │ └── unnamed-chunk-9-1.png ├── pset2_files │ └── figure-html │ │ ├── unnamed-chunk-10-1.png │ │ ├── unnamed-chunk-22-1.png │ │ ├── unnamed-chunk-24-1.png │ │ ├── unnamed-chunk-25-1.png │ │ ├── unnamed-chunk-26-1.png │ │ ├── unnamed-chunk-27-1.png │ │ ├── unnamed-chunk-28-1.png │ │ ├── unnamed-chunk-33-1.png │ │ ├── unnamed-chunk-34-1.png │ │ ├── unnamed-chunk-35-1.png │ │ ├── unnamed-chunk-5-1.png │ │ ├── unnamed-chunk-7-1.png │ │ └── unnamed-chunk-9-1.png ├── 19-models_files │ └── figure-html │ │ ├── poll-spread-qq-1.png │ │ ├── pollster-bias-1.png │ │ ├── simulated-polls-1.png │ │ ├── unnamed-chunk-2-1.png │ │ ├── time-trend-estimate-1.png │ │ ├── time-trend-variability-1.png │ │ ├── pollster-bias-histogram-1.png │ │ ├── simulated-pollster-data-1.png │ │ ├── t-distribution-examples-1.png │ │ ├── fivethirtyeight-densities-1.png │ │ ├── polls-2016-spread-histogram-1.png │ │ ├── simulated-data-without-bias-1.png │ │ ├── trend-estimate-for-all-pollsters-1.png │ │ ├── confidence-coverage-2008-election-1.png │ │ ├── posterior-versus-original-estimates-1.png │ │ ├── time-trend-estimate-several-pollsters-1.png │ │ └── comparison-forecast-with-and-without-bias-1.png ├── 20-regression_files │ └── figure-html │ │ ├── boxplot-1-1.png │ │ ├── scatterplot-1.png │ │ ├── ascombe-quartet-1.png │ │ ├── regression-line-1.png │ │ ├── unnamed-chunk-4-1.png │ │ ├── unnamed-chunk-9-1.png │ │ ├── lse-distributions-1.png │ │ ├── qqnorm-of-strata-1.png │ │ ├── regression-fallacy-1.png │ │ ├── rss-versus-estimate-1.png │ │ ├── two-regression-lines-1.png │ │ ├── father-son-regression-1.png │ │ ├── what-correlation-looks-like-1.png │ │ ├── regression-line-standard-units-1.png │ │ ├── conditional-averages-follow-line-1.png │ │ ├── sample-correlation-distribution-1.png │ │ ├── sample-correlation-distribution-2-1.png │ │ └── small-sample-correlation-not-normal-1.png ├── 22-linear-models_files │ └── figure-html │ │ ├── gravity-1.png │ │ ├── unnamed-chunk-17-1.png │ │ ├── unnamed-chunk-18-1.png │ │ ├── falling-object-fit-1.png │ │ ├── lm-diagnostic-plot-1.png │ │ ├── lm-residual-boxplots-1.png │ │ ├── weight-by-diet-boxplots-1.png │ │ └── weight-by-sex-diet-boxplots-1.png ├── 35-caret_files │ └── figure-html │ │ ├── caret-highlight-1.png │ │ ├── train-knn-plot-1.png │ │ └── cv-10-fold-accuracy-estimate-1.png ├── 36-algorithms_files │ └── figure-html │ │ ├── olive-eda-1.png │ │ ├── olive-tree-1.png │ │ ├── best-knn-fit-1.png │ │ ├── cond-prob-rf-1.png │ │ ├── curse-of-dim-1.png │ │ ├── lda-estimate-1.png │ │ ├── lda-explained-1.png │ │ ├── qda-estimate-1.png │ │ ├── qda-explained-1.png │ │ ├── rf-cond-prob-1.png │ │ ├── curse-of-dim-2-1.png │ │ ├── curse-of-dim-4-1.png │ │ ├── logistic-p-hat-1.png │ │ ├── polls-2008-tree-1.png │ │ ├── cond-prob-final-rf-1.png │ │ ├── polls-2008-again-1.png │ │ ├── polls-2008-rf-fit-1.png │ │ ├── qda-does-not-fit-1.png │ │ ├── olive-two-predictors-1.png │ │ ├── polls-2008-final-fit-1.png │ │ ├── polls-2008-tree-fit-1.png │ │ ├── more-trees-better-fit-1.png │ │ ├── polls-2008-tree-over-fit-1.png │ │ ├── conditional-prob-glm-fit-2-1.png │ │ └── naive-with-good-prevalence-1.png ├── 01-quarto_files │ └── figure-html │ │ └── unnamed-chunk-4-1.png ├── 34-cross-validation_files │ └── figure-html │ │ ├── knn-fit-1.png │ │ ├── knn-1-overfit-1.png │ │ ├── accuracy-vs-k-knn-1.png │ │ ├── median-is-normal-1.png │ │ ├── mnist-27-glm-est-1.png │ │ └── income-distribution-1.png ├── 06-tidyverse_files │ └── figure-html │ │ └── unnamed-chunk-37-1.png ├── 12-dataviz-principles_files │ └── figure-html │ │ ├── donutchart-1.png │ │ ├── piechart-1.png │ │ ├── slope-plot-1.png │ │ ├── bland-altman-1.png │ │ ├── show-data-1-1.png │ │ ├── show-data-2-1.png │ │ ├── two-barplots-1.png │ │ ├── area-not-radius-1.png │ │ ├── excel-barplot-1.png │ │ ├── available-shapes-1.png │ │ ├── measels-exercise-1.png │ │ ├── no-transformation-1.png │ │ ├── barplot-from-zero-1-1.png │ │ ├── barplot-from-zero-2-1.png │ │ ├── barplot-from-zero-3-1.png │ │ ├── pseud-3d-exercise-2-1.png │ │ ├── pseudo-3d-exercise-1.png │ │ ├── r-color-brewer-div-1.png │ │ ├── r-color-brewer-seq-1.png │ │ ├── us-murders-barplot-1.png │ │ ├── boxplot-adjacent-comps-1.png │ │ ├── boxplots-not-adjacent-1.png │ │ ├── correct-transformation-1.png │ │ ├── barplot-better-than-area-1.png │ │ ├── encoding-third-variable-1.png │ │ ├── points-plot-not-from-zero-1.png │ │ ├── reorder-boxplot-example-1.png │ │ ├── show-points-with-jitter-1.png │ │ ├── show-the-data-comparison-1.png │ │ ├── color-blind-friendly-colors-1.png │ │ ├── colors-for-different-lines-1.png │ │ ├── do-not-order-alphabetically-1.png │ │ ├── baplot-not-from-zero-exercises-1.png │ │ ├── barplot-plot-exercise-example-1.png │ │ ├── common-axes-histograms-right-1.png │ │ ├── common-axes-histograms-right-2-1.png │ │ ├── common-axes-histograms-wrong-1.png │ │ ├── scatter-plot-instead-of-slope-1.png │ │ ├── boxplot-with-points-with-jitter-1.png │ │ ├── boxplot-adjacent-comps-with-color-1.png │ │ └── no-transformations-wrong-use-of-barplot-1.png ├── 17-probability_files │ └── figure-html │ │ ├── unnamed-chunk-11-1.png │ │ ├── unnamed-chunk-17-1.png │ │ ├── unnamed-chunk-19-1.png │ │ ├── unnamed-chunk-20-1.png │ │ ├── unnamed-chunk-4-1.png │ │ └── unnamed-chunk-5-1.png ├── 25-matrices-in-R_files │ └── figure-html │ │ ├── example-images-1.png │ │ ├── unnamed-chunk-20-1.png │ │ ├── unnamed-chunk-21-1.png │ │ ├── unnamed-chunk-28-1.png │ │ ├── unnamed-chunk-33-1.png │ │ ├── unnamed-chunk-33-2.png │ │ ├── unnamed-chunk-45-1.png │ │ ├── digit-images-example-1.png │ │ └── boxplot-of-digit-averages-1.png ├── 27-dimension-reduction_files │ └── figure-html │ │ ├── iris-pca-1.png │ │ ├── dist-approx-4-1.png │ │ ├── max-rotation-1.png │ │ ├── mnist-pca-1-4-1.png │ │ ├── mnist-pca-last,-1.png │ │ ├── unnamed-chunk-16-1.png │ │ ├── unnamed-chunk-21-1.png │ │ ├── unnamed-chunk-28-1.png │ │ ├── unnamed-chunk-6-1.png │ │ ├── unnamed-chunk-7-1.png │ │ ├── unnamed-chunk-8-1.png │ │ ├── distance-approx-2-1.png │ │ ├── distance-illustration-1.png │ │ ├── mnist-pca-1-2-scatter-1.png │ │ ├── illustrate-pca-twin-heights-1.png │ │ ├── mnist-pca-variance-explained-1.png │ │ └── illustrate-pca-twin-heights-iris-1.png ├── 29-regularization_files │ └── figure-html │ │ ├── best-penalty-1.png │ │ ├── movie-effects-1.png │ │ ├── unnamed-chunk-31-1.png │ │ ├── user-effect-hist-1.png │ │ ├── movie-id-and-user-hists-1.png │ │ ├── regularization-shrinkage-1.png │ │ └── sparsity-of-movie-recs-1.png ├── 18-inference_files │ └── figure-html │ │ ├── first-simulated-poll-1.png │ │ ├── confidence-interval-coverage-1.png │ │ ├── normal-approximation-for-polls-1.png │ │ └── standard-error-versus-sample-size-1.png ├── 26-linear-algebra_files │ └── figure-html │ │ ├── unnamed-chunk-15-1.png │ │ ├── unnamed-chunk-19-1.png │ │ ├── unnamed-chunk-20-1.png │ │ ├── unnamed-chunk-7-1.png │ │ └── unnamed-chunk-8-1.png ├── 30-matrix-factorization_files │ └── figure-html │ │ └── movie-cor-1.png ├── 07-dates-and-times_files │ └── figure-html │ │ ├── unnamed-chunk-26-1.png │ │ ├── unnamed-chunk-27-1.png │ │ ├── unnamed-chunk-28-1.png │ │ └── unnamed-chunk-31-1.png ├── 16-text-mining_files │ └── figure-html │ │ ├── percent-diff-by-word-1.png │ │ └── tweets-by-time-by-device-1.png ├── 21-multivariate-regression_files │ └── figure-html │ │ ├── bb-vs-hrs-1.png │ │ ├── r-hat-hist-1.png │ │ ├── runs-vs-bb-1.png │ │ ├── runs-vs-sb-1.png │ │ ├── runs-vs-hrs-1.png │ │ ├── hr-by-runs-qq-1.png │ │ ├── mlb-2002-payroll-1.png │ │ ├── model-predicts-runs-1.png │ │ ├── hr-versus-runs-regression-1.png │ │ ├── predicted-runs-vs-salary-1.png │ │ ├── runs-vs-bb-by-hr-strata-1.png │ │ └── hr-versus-runs-regression-easy-1.png ├── 24-corrleation-not-causation_files │ └── figure-html │ │ ├── dredging-1.png │ │ ├── outlier-1.png │ │ ├── confounding-1.png │ │ ├── null-corr-hist-1.png │ │ ├── admission-by-major-1.png │ │ ├── simpsons-paradox-1.png │ │ ├── uc-berkeley-majors-1.png │ │ ├── scatter-plot-of-ranks-1.png │ │ ├── divorce-versus-margarine-1.png │ │ └── simpsons-paradox-explained-1.png ├── 28-gene-expression-case-study_files │ └── figure-html │ │ ├── unnamed-chunk-10-1.png │ │ ├── unnamed-chunk-11-1.png │ │ ├── unnamed-chunk-11-2.png │ │ ├── unnamed-chunk-11-3.png │ │ ├── unnamed-chunk-11-4.png │ │ ├── unnamed-chunk-11-5.png │ │ ├── unnamed-chunk-12-1.png │ │ └── unnamed-chunk-8-1.png └── sitemap.xml ├── data ├── home.zip ├── population.rds ├── santoslozada-howard-2017-preprint.pdf └── covid19-tests.txt ├── .gitignore ├── test_files ├── figure-markdown │ └── unnamed-chunk-1-1.png └── figure-commonmark │ └── unnamed-chunk-1-1.png ├── README.md ├── test.md ├── 2023.Rproj ├── midterm-analysis.R ├── intro.qmd ├── r4ds.scss ├── _quarto.yml ├── 15-locales.qmd ├── 38-making-webpage.qmd ├── 28-gene-expression-case-study.qmd ├── 05-vectorization.qmd ├── 32-conditional-expectations.qmd ├── 35-caret.qmd ├── project-ideas.md ├── index.qmd ├── 01-quarto.qmd ├── 07-dates-and-times.qmd ├── 10-distributions.qmd └── 08-importing-data.qmd /docs/robots.txt: -------------------------------------------------------------------------------- 1 | Sitemap: http://datasciencelabs.github.io/2023/sitemap.xml 2 | -------------------------------------------------------------------------------- /data/home.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/data/home.zip -------------------------------------------------------------------------------- /data/population.rds: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/data/population.rds -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | /.quarto/ 2 | .Rproj.user 3 | *notes* 4 | /*_cache 5 | /*_files 6 | *.sh 7 | .DS_Store 8 | *with-solutions* 9 | census-key.R -------------------------------------------------------------------------------- /data/santoslozada-howard-2017-preprint.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/data/santoslozada-howard-2017-preprint.pdf -------------------------------------------------------------------------------- /docs/31-ml-intro_files/figure-html/roc-3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/31-ml-intro_files/figure-html/roc-3-1.png -------------------------------------------------------------------------------- /docs/site_libs/bootstrap/bootstrap-icons.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/site_libs/bootstrap/bootstrap-icons.woff -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/loess-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/loess-1.png -------------------------------------------------------------------------------- /test_files/figure-markdown/unnamed-chunk-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/test_files/figure-markdown/unnamed-chunk-1-1.png -------------------------------------------------------------------------------- /docs/04-r-basics_files/figure-html/co2-plot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/04-r-basics_files/figure-html/co2-plot-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/ecdf-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/ecdf-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-qq-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-qq-1.png -------------------------------------------------------------------------------- /docs/13-wrangling_files/figure-html/caribbean-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/13-wrangling_files/figure-html/caribbean-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-10-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-10-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-11-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-11-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-13-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-13-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-15-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-15-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-16-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-16-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-18-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-18-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-19-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-19-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-2-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-21-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-21-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-22-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-22-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-23-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-23-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-3-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-4-1.png -------------------------------------------------------------------------------- /docs/pset1_files/figure-html/unnamed-chunk-9-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset1_files/figure-html/unnamed-chunk-9-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-10-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-10-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-22-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-22-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-24-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-24-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-25-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-25-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-26-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-26-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-27-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-27-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-28-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-28-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-33-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-33-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-34-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-34-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-35-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-35-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-5-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-5-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-7-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-7-1.png -------------------------------------------------------------------------------- /docs/pset2_files/figure-html/unnamed-chunk-9-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/pset2_files/figure-html/unnamed-chunk-9-1.png -------------------------------------------------------------------------------- /test_files/figure-commonmark/unnamed-chunk-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/test_files/figure-commonmark/unnamed-chunk-1-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/barplot-geom-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/barplot-geom-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/poll-spread-qq-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/poll-spread-qq-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/pollster-bias-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/pollster-bias-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/boxplot-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/boxplot-1-1.png -------------------------------------------------------------------------------- /docs/22-linear-models_files/figure-html/gravity-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/22-linear-models_files/figure-html/gravity-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/final-loess-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/final-loess-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/loess-final-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/loess-final-1.png -------------------------------------------------------------------------------- /docs/35-caret_files/figure-html/caret-highlight-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/35-caret_files/figure-html/caret-highlight-1.png -------------------------------------------------------------------------------- /docs/35-caret_files/figure-html/train-knn-plot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/35-caret_files/figure-html/train-knn-plot-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/olive-eda-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/olive-eda-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/olive-tree-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/olive-tree-1.png -------------------------------------------------------------------------------- /docs/01-quarto_files/figure-html/unnamed-chunk-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/01-quarto_files/figure-html/unnamed-chunk-4-1.png -------------------------------------------------------------------------------- /docs/04-r-basics_files/figure-html/wrong-co2-plot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/04-r-basics_files/figure-html/wrong-co2-plot-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-density-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-density-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-2-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-3-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-4-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-5-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-5-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-6-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-6-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-7-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-7-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-8-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-8-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-9-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-9-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/unnamed-chunk-14-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/unnamed-chunk-14-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/unnamed-chunk-16-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/unnamed-chunk-16-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/unnamed-chunk-17-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/unnamed-chunk-17-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/unnamed-chunk-18-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/unnamed-chunk-18-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/unnamed-chunk-19-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/unnamed-chunk-19-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/unnamed-chunk-20-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/unnamed-chunk-20-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/simulated-polls-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/simulated-polls-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/unnamed-chunk-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/unnamed-chunk-2-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/scatterplot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/scatterplot-1.png -------------------------------------------------------------------------------- /docs/31-ml-intro_files/figure-html/f_1-vs-cutoff-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/31-ml-intro_files/figure-html/f_1-vs-cutoff-1.png -------------------------------------------------------------------------------- /docs/34-cross-validation_files/figure-html/knn-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/34-cross-validation_files/figure-html/knn-fit-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/best-knn-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/best-knn-fit-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/cond-prob-rf-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/cond-prob-rf-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/curse-of-dim-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/curse-of-dim-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/lda-estimate-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/lda-estimate-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/lda-explained-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/lda-explained-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/qda-estimate-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/qda-estimate-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/qda-explained-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/qda-explained-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/rf-cond-prob-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/rf-cond-prob-1.png -------------------------------------------------------------------------------- /docs/06-tidyverse_files/figure-html/unnamed-chunk-37-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/06-tidyverse_files/figure-html/unnamed-chunk-37-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-10-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-10-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-11-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-11-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-12-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-12-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-13-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-13-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/gridExtra-example-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/gridExtra-example-1.png -------------------------------------------------------------------------------- /docs/13-wrangling_files/figure-html/ev-vs-population-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/13-wrangling_files/figure-html/ev-vs-population-1.png -------------------------------------------------------------------------------- /docs/13-wrangling_files/figure-html/unnamed-chunk-18-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/13-wrangling_files/figure-html/unnamed-chunk-18-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/time-trend-estimate-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/time-trend-estimate-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/ascombe-quartet-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/ascombe-quartet-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/regression-line-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/regression-line-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/unnamed-chunk-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/unnamed-chunk-4-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/unnamed-chunk-9-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/unnamed-chunk-9-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/gaussian-kernel-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/gaussian-kernel-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/polls-2008-data-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/polls-2008-data-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/regression-p-hat-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/regression-p-hat-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/triweight-kernel-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/triweight-kernel-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/unnamed-chunk-5-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/unnamed-chunk-5-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/unnamed-chunk-7-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/unnamed-chunk-7-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/unnamed-chunk-8-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/unnamed-chunk-8-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/unnamed-chunk-9-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/unnamed-chunk-9-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/curse-of-dim-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/curse-of-dim-2-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/curse-of-dim-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/curse-of-dim-4-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/logistic-p-hat-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/logistic-p-hat-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/polls-2008-tree-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/polls-2008-tree-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/first-boxplot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/first-boxplot-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/final-ggplot-example-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/final-ggplot-example-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot-example-plot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot-example-plot-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/height-histogram-geom-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/height-histogram-geom-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/region-freq-barplot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/region-freq-barplot-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/donutchart-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/donutchart-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/piechart-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/piechart-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/slope-plot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/slope-plot-1.png -------------------------------------------------------------------------------- /docs/17-probability_files/figure-html/unnamed-chunk-11-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/17-probability_files/figure-html/unnamed-chunk-11-1.png -------------------------------------------------------------------------------- /docs/17-probability_files/figure-html/unnamed-chunk-17-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/17-probability_files/figure-html/unnamed-chunk-17-1.png -------------------------------------------------------------------------------- /docs/17-probability_files/figure-html/unnamed-chunk-19-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/17-probability_files/figure-html/unnamed-chunk-19-1.png -------------------------------------------------------------------------------- /docs/17-probability_files/figure-html/unnamed-chunk-20-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/17-probability_files/figure-html/unnamed-chunk-20-1.png -------------------------------------------------------------------------------- /docs/17-probability_files/figure-html/unnamed-chunk-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/17-probability_files/figure-html/unnamed-chunk-4-1.png -------------------------------------------------------------------------------- /docs/17-probability_files/figure-html/unnamed-chunk-5-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/17-probability_files/figure-html/unnamed-chunk-5-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/time-trend-variability-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/time-trend-variability-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/lse-distributions-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/lse-distributions-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/qqnorm-of-strata-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/qqnorm-of-strata-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/regression-fallacy-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/regression-fallacy-1.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/example-images-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/example-images-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/iris-pca-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/iris-pca-1.png -------------------------------------------------------------------------------- /docs/29-regularization_files/figure-html/best-penalty-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/29-regularization_files/figure-html/best-penalty-1.png -------------------------------------------------------------------------------- /docs/29-regularization_files/figure-html/movie-effects-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/29-regularization_files/figure-html/movie-effects-1.png -------------------------------------------------------------------------------- /docs/31-ml-intro_files/figure-html/accuracy-vs-cutoff-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/31-ml-intro_files/figure-html/accuracy-vs-cutoff-1.png -------------------------------------------------------------------------------- /docs/31-ml-intro_files/figure-html/precision-recall-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/31-ml-intro_files/figure-html/precision-recall-1-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/binsmoother-final-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/binsmoother-final-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/cond-prob-final-rf-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/cond-prob-final-rf-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/polls-2008-again-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/polls-2008-again-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/polls-2008-rf-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/polls-2008-rf-fit-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/qda-does-not-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/qda-does-not-fit-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/boxplot-exercise-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/boxplot-exercise-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/height-histogram-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/height-histogram-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/bland-altman-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/bland-altman-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/show-data-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/show-data-1-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/show-data-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/show-data-2-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/two-barplots-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/two-barplots-1.png -------------------------------------------------------------------------------- /docs/18-inference_files/figure-html/first-simulated-poll-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/18-inference_files/figure-html/first-simulated-poll-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/pollster-bias-histogram-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/pollster-bias-histogram-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/simulated-pollster-data-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/simulated-pollster-data-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/t-distribution-examples-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/t-distribution-examples-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/rss-versus-estimate-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/rss-versus-estimate-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/two-regression-lines-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/two-regression-lines-1.png -------------------------------------------------------------------------------- /docs/22-linear-models_files/figure-html/unnamed-chunk-17-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/22-linear-models_files/figure-html/unnamed-chunk-17-1.png -------------------------------------------------------------------------------- /docs/22-linear-models_files/figure-html/unnamed-chunk-18-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/22-linear-models_files/figure-html/unnamed-chunk-18-1.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/unnamed-chunk-20-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/unnamed-chunk-20-1.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/unnamed-chunk-21-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/unnamed-chunk-21-1.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/unnamed-chunk-28-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/unnamed-chunk-28-1.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/unnamed-chunk-33-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/unnamed-chunk-33-1.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/unnamed-chunk-33-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/unnamed-chunk-33-2.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/unnamed-chunk-45-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/unnamed-chunk-45-1.png -------------------------------------------------------------------------------- /docs/26-linear-algebra_files/figure-html/unnamed-chunk-15-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/26-linear-algebra_files/figure-html/unnamed-chunk-15-1.png -------------------------------------------------------------------------------- /docs/26-linear-algebra_files/figure-html/unnamed-chunk-19-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/26-linear-algebra_files/figure-html/unnamed-chunk-19-1.png -------------------------------------------------------------------------------- /docs/26-linear-algebra_files/figure-html/unnamed-chunk-20-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/26-linear-algebra_files/figure-html/unnamed-chunk-20-1.png -------------------------------------------------------------------------------- /docs/26-linear-algebra_files/figure-html/unnamed-chunk-7-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/26-linear-algebra_files/figure-html/unnamed-chunk-7-1.png -------------------------------------------------------------------------------- /docs/26-linear-algebra_files/figure-html/unnamed-chunk-8-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/26-linear-algebra_files/figure-html/unnamed-chunk-8-1.png -------------------------------------------------------------------------------- /docs/29-regularization_files/figure-html/unnamed-chunk-31-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/29-regularization_files/figure-html/unnamed-chunk-31-1.png -------------------------------------------------------------------------------- /docs/29-regularization_files/figure-html/user-effect-hist-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/29-regularization_files/figure-html/user-effect-hist-1.png -------------------------------------------------------------------------------- /docs/30-matrix-factorization_files/figure-html/movie-cor-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/30-matrix-factorization_files/figure-html/movie-cor-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/binsmoother-expained-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/binsmoother-expained-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/ggplot-loess-default-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/ggplot-loess-default-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/ggplot-loess-degree-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/ggplot-loess-degree-1-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/true-p-better-colors-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/true-p-better-colors-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/two-or-seven-scatter-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/two-or-seven-scatter-1.png -------------------------------------------------------------------------------- /docs/34-cross-validation_files/figure-html/knn-1-overfit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/34-cross-validation_files/figure-html/knn-1-overfit-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/olive-two-predictors-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/olive-two-predictors-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/polls-2008-final-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/polls-2008-final-fit-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/polls-2008-tree-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/polls-2008-tree-fit-1.png -------------------------------------------------------------------------------- /docs/07-dates-and-times_files/figure-html/unnamed-chunk-26-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/07-dates-and-times_files/figure-html/unnamed-chunk-26-1.png -------------------------------------------------------------------------------- /docs/07-dates-and-times_files/figure-html/unnamed-chunk-27-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/07-dates-and-times_files/figure-html/unnamed-chunk-27-1.png -------------------------------------------------------------------------------- /docs/07-dates-and-times_files/figure-html/unnamed-chunk-28-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/07-dates-and-times_files/figure-html/unnamed-chunk-28-1.png -------------------------------------------------------------------------------- /docs/07-dates-and-times_files/figure-html/unnamed-chunk-31-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/07-dates-and-times_files/figure-html/unnamed-chunk-31-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/female-male-boxplots-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/female-male-boxplots-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/hist-non-normal-data-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/hist-non-normal-data-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/female-male-boxplots-geom-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/female-male-boxplots-geom-1.png -------------------------------------------------------------------------------- /docs/11-ggplot2_files/figure-html/ggplot2-image-new-colors-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/11-ggplot2_files/figure-html/ggplot2-image-new-colors-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/area-not-radius-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/area-not-radius-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/excel-barplot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/excel-barplot-1.png -------------------------------------------------------------------------------- /docs/13-wrangling_files/figure-html/caribbean-with-nicknames-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/13-wrangling_files/figure-html/caribbean-with-nicknames-1.png -------------------------------------------------------------------------------- /docs/16-text-mining_files/figure-html/percent-diff-by-word-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/16-text-mining_files/figure-html/percent-diff-by-word-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/fivethirtyeight-densities-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/fivethirtyeight-densities-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/polls-2016-spread-histogram-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/polls-2016-spread-histogram-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/simulated-data-without-bias-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/simulated-data-without-bias-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/father-son-regression-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/father-son-regression-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/bb-vs-hrs-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/bb-vs-hrs-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/r-hat-hist-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/r-hat-hist-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/runs-vs-bb-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/runs-vs-bb-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/runs-vs-sb-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/runs-vs-sb-1.png -------------------------------------------------------------------------------- /docs/22-linear-models_files/figure-html/falling-object-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/22-linear-models_files/figure-html/falling-object-fit-1.png -------------------------------------------------------------------------------- /docs/22-linear-models_files/figure-html/lm-diagnostic-plot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/22-linear-models_files/figure-html/lm-diagnostic-plot-1.png -------------------------------------------------------------------------------- /docs/22-linear-models_files/figure-html/lm-residual-boxplots-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/22-linear-models_files/figure-html/lm-residual-boxplots-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/dredging-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/dredging-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/outlier-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/outlier-1.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/digit-images-example-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/digit-images-example-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/dist-approx-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/dist-approx-4-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/max-rotation-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/max-rotation-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/mnist-pca-1-4-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/mnist-pca-1-4-1.png -------------------------------------------------------------------------------- /docs/34-cross-validation_files/figure-html/accuracy-vs-k-knn-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/34-cross-validation_files/figure-html/accuracy-vs-k-knn-1.png -------------------------------------------------------------------------------- /docs/34-cross-validation_files/figure-html/median-is-normal-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/34-cross-validation_files/figure-html/median-is-normal-1.png -------------------------------------------------------------------------------- /docs/34-cross-validation_files/figure-html/mnist-27-glm-est-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/34-cross-validation_files/figure-html/mnist-27-glm-est-1.png -------------------------------------------------------------------------------- /docs/35-caret_files/figure-html/cv-10-fold-accuracy-estimate-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/35-caret_files/figure-html/cv-10-fold-accuracy-estimate-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/more-trees-better-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/more-trees-better-fit-1.png -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Welcome to BST 260: Introduction to Data Science 2 | 3 | * This repository provides the code for the [Fall 2023 course notes](https://datasciencelabs.github.io/2023/). 4 | 5 | -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/two-densities-one-plot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/two-densities-one-plot-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/available-shapes-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/available-shapes-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/measels-exercise-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/measels-exercise-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/no-transformation-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/no-transformation-1.png -------------------------------------------------------------------------------- /docs/16-text-mining_files/figure-html/tweets-by-time-by-device-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/16-text-mining_files/figure-html/tweets-by-time-by-device-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/runs-vs-hrs-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/runs-vs-hrs-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/mnist-pca-last,-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/mnist-pca-last,-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/unnamed-chunk-16-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/unnamed-chunk-16-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/unnamed-chunk-21-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/unnamed-chunk-21-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/unnamed-chunk-28-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/unnamed-chunk-28-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/unnamed-chunk-6-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/unnamed-chunk-6-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/unnamed-chunk-7-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/unnamed-chunk-7-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/unnamed-chunk-8-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/unnamed-chunk-8-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/signal-plus-noise-example-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/signal-plus-noise-example-1.png -------------------------------------------------------------------------------- /docs/34-cross-validation_files/figure-html/income-distribution-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/34-cross-validation_files/figure-html/income-distribution-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/polls-2008-tree-over-fit-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/polls-2008-tree-over-fit-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/data-and-normal-densities-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/data-and-normal-densities-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/state-region-distribution-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/state-region-distribution-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/barplot-from-zero-1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/barplot-from-zero-1-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/barplot-from-zero-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/barplot-from-zero-2-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/barplot-from-zero-3-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/barplot-from-zero-3-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/pseud-3d-exercise-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/pseud-3d-exercise-2-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/pseudo-3d-exercise-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/pseudo-3d-exercise-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/r-color-brewer-div-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/r-color-brewer-div-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/r-color-brewer-seq-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/r-color-brewer-seq-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/us-murders-barplot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/us-murders-barplot-1.png -------------------------------------------------------------------------------- /docs/18-inference_files/figure-html/confidence-interval-coverage-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/18-inference_files/figure-html/confidence-interval-coverage-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/trend-estimate-for-all-pollsters-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/trend-estimate-for-all-pollsters-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/what-correlation-looks-like-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/what-correlation-looks-like-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/hr-by-runs-qq-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/hr-by-runs-qq-1.png -------------------------------------------------------------------------------- /docs/22-linear-models_files/figure-html/weight-by-diet-boxplots-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/22-linear-models_files/figure-html/weight-by-diet-boxplots-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/confounding-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/confounding-1.png -------------------------------------------------------------------------------- /docs/25-matrices-in-R_files/figure-html/boxplot-of-digit-averages-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/25-matrices-in-R_files/figure-html/boxplot-of-digit-averages-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/distance-approx-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/distance-approx-2-1.png -------------------------------------------------------------------------------- /docs/29-regularization_files/figure-html/movie-id-and-user-hists-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/29-regularization_files/figure-html/movie-id-and-user-hists-1.png -------------------------------------------------------------------------------- /docs/29-regularization_files/figure-html/regularization-shrinkage-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/29-regularization_files/figure-html/regularization-shrinkage-1.png -------------------------------------------------------------------------------- /docs/29-regularization_files/figure-html/sparsity-of-movie-recs-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/29-regularization_files/figure-html/sparsity-of-movie-recs-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/final-ksmooth-normal-kernel-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/final-ksmooth-normal-kernel-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/two-or-seven-images-large-x1-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/two-or-seven-images-large-x1-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/conditional-prob-glm-fit-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/conditional-prob-glm-fit-2-1.png -------------------------------------------------------------------------------- /docs/36-algorithms_files/figure-html/naive-with-good-prevalence-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/36-algorithms_files/figure-html/naive-with-good-prevalence-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/example-of-smoothed-density-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/example-of-smoothed-density-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/normal-distribution-density-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/normal-distribution-density-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/boxplot-adjacent-comps-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/boxplot-adjacent-comps-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/boxplots-not-adjacent-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/boxplots-not-adjacent-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/correct-transformation-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/correct-transformation-1.png -------------------------------------------------------------------------------- /docs/18-inference_files/figure-html/normal-approximation-for-polls-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/18-inference_files/figure-html/normal-approximation-for-polls-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/confidence-coverage-2008-election-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/confidence-coverage-2008-election-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/regression-line-standard-units-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/regression-line-standard-units-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/mlb-2002-payroll-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/mlb-2002-payroll-1.png -------------------------------------------------------------------------------- /docs/22-linear-models_files/figure-html/weight-by-sex-diet-boxplots-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/22-linear-models_files/figure-html/weight-by-sex-diet-boxplots-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/null-corr-hist-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/null-corr-hist-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/distance-illustration-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/distance-illustration-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/mnist-pca-1-2-scatter-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/mnist-pca-1-2-scatter-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/linear-regression-not-flexible-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/linear-regression-not-flexible-1.png -------------------------------------------------------------------------------- /docs/33-smoothing_files/figure-html/polls-2008-parabola-line-loess-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/33-smoothing_files/figure-html/polls-2008-parabola-line-loess-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/barplot-better-than-area-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/barplot-better-than-area-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/encoding-third-variable-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/encoding-third-variable-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/points-plot-not-from-zero-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/points-plot-not-from-zero-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/reorder-boxplot-example-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/reorder-boxplot-example-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/show-points-with-jitter-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/show-points-with-jitter-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/show-the-data-comparison-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/show-the-data-comparison-1.png -------------------------------------------------------------------------------- /docs/18-inference_files/figure-html/standard-error-versus-sample-size-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/18-inference_files/figure-html/standard-error-versus-sample-size-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/posterior-versus-original-estimates-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/posterior-versus-original-estimates-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/time-trend-estimate-several-pollsters-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/time-trend-estimate-several-pollsters-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/conditional-averages-follow-line-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/conditional-averages-follow-line-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/sample-correlation-distribution-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/sample-correlation-distribution-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/sample-correlation-distribution-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/sample-correlation-distribution-2-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/model-predicts-runs-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/model-predicts-runs-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/admission-by-major-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/admission-by-major-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/simpsons-paradox-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/simpsons-paradox-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/uc-berkeley-majors-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/uc-berkeley-majors-1.png -------------------------------------------------------------------------------- /docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-10-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-10-1.png -------------------------------------------------------------------------------- /docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-1.png -------------------------------------------------------------------------------- /docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-2.png -------------------------------------------------------------------------------- /docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-3.png -------------------------------------------------------------------------------- /docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-4.png -------------------------------------------------------------------------------- /docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-11-5.png -------------------------------------------------------------------------------- /docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-12-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-12-1.png -------------------------------------------------------------------------------- /docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-8-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/28-gene-expression-case-study_files/figure-html/unnamed-chunk-8-1.png -------------------------------------------------------------------------------- /docs/10-distributions_files/figure-html/histogram-qqplot-female-heights-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/10-distributions_files/figure-html/histogram-qqplot-female-heights-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/color-blind-friendly-colors-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/color-blind-friendly-colors-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/colors-for-different-lines-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/colors-for-different-lines-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/do-not-order-alphabetically-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/do-not-order-alphabetically-1.png -------------------------------------------------------------------------------- /docs/20-regression_files/figure-html/small-sample-correlation-not-normal-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/20-regression_files/figure-html/small-sample-correlation-not-normal-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/baplot-not-from-zero-exercises-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/baplot-not-from-zero-exercises-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/barplot-plot-exercise-example-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/barplot-plot-exercise-example-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/common-axes-histograms-right-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/common-axes-histograms-right-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/common-axes-histograms-right-2-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/common-axes-histograms-right-2-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/common-axes-histograms-wrong-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/common-axes-histograms-wrong-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/scatter-plot-instead-of-slope-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/scatter-plot-instead-of-slope-1.png -------------------------------------------------------------------------------- /docs/19-models_files/figure-html/comparison-forecast-with-and-without-bias-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/19-models_files/figure-html/comparison-forecast-with-and-without-bias-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/hr-versus-runs-regression-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/hr-versus-runs-regression-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/predicted-runs-vs-salary-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/predicted-runs-vs-salary-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/runs-vs-bb-by-hr-strata-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/runs-vs-bb-by-hr-strata-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/scatter-plot-of-ranks-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/scatter-plot-of-ranks-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/illustrate-pca-twin-heights-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/illustrate-pca-twin-heights-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/mnist-pca-variance-explained-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/mnist-pca-variance-explained-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/boxplot-with-points-with-jitter-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/boxplot-with-points-with-jitter-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/divorce-versus-margarine-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/divorce-versus-margarine-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/boxplot-adjacent-comps-with-color-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/boxplot-adjacent-comps-with-color-1.png -------------------------------------------------------------------------------- /docs/21-multivariate-regression_files/figure-html/hr-versus-runs-regression-easy-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/21-multivariate-regression_files/figure-html/hr-versus-runs-regression-easy-1.png -------------------------------------------------------------------------------- /docs/24-corrleation-not-causation_files/figure-html/simpsons-paradox-explained-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/24-corrleation-not-causation_files/figure-html/simpsons-paradox-explained-1.png -------------------------------------------------------------------------------- /docs/27-dimension-reduction_files/figure-html/illustrate-pca-twin-heights-iris-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/27-dimension-reduction_files/figure-html/illustrate-pca-twin-heights-iris-1.png -------------------------------------------------------------------------------- /docs/12-dataviz-principles_files/figure-html/no-transformations-wrong-use-of-barplot-1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/datasciencelabs/2023/HEAD/docs/12-dataviz-principles_files/figure-html/no-transformations-wrong-use-of-barplot-1.png -------------------------------------------------------------------------------- /test.md: -------------------------------------------------------------------------------- 1 | # test 2 | 3 | ## Intro 4 | 5 | This is my project 6 | 7 | ## EDA 8 | 9 | Here is the distribution of my data 10 | 11 | ``` r 12 | x <- rnorm(100) 13 | hist(x) 14 | ``` 15 | 16 |  17 | -------------------------------------------------------------------------------- /2023.Rproj: -------------------------------------------------------------------------------- 1 | Version: 1.0 2 | 3 | RestoreWorkspace: Default 4 | SaveWorkspace: Default 5 | AlwaysSaveHistory: Default 6 | 7 | EnableCodeIndexing: Yes 8 | UseSpacesForTab: Yes 9 | NumSpacesForTab: 2 10 | Encoding: UTF-8 11 | 12 | RnwWeave: Sweave 13 | LaTeX: pdfLaTeX 14 | -------------------------------------------------------------------------------- /docs/site_libs/kePrint-0.0.1/kePrint.js: -------------------------------------------------------------------------------- 1 | $(document).ready(function(){ 2 | if (typeof $('[data-toggle="tooltip"]').tooltip === 'function') { 3 | $('[data-toggle="tooltip"]').tooltip(); 4 | } 5 | if ($('[data-toggle="popover"]').popover === 'function') { 6 | $('[data-toggle="popover"]').popover(); 7 | } 8 | }); 9 | -------------------------------------------------------------------------------- /midterm-analysis.R: -------------------------------------------------------------------------------- 1 | 2 | x <- read.csv("~/Downloads/2023-10-16T1140_Grades-BST_260.csv") |> janitor::clean_names() |> dplyr::slice(-1) 3 | 4 | 5 | y <- readr::parse_number(x$midterm_1_2023_757880) 6 | x <- readr::parse_number(x$diagnostic_assessment_726041) 7 | x[x==0] <- NA 8 | 9 | library(ggplot2) 10 | library(dplyr) 11 | 12 | data.frame(x=as.character(x), y=y) |> 13 | filter(x!=15 | is.na(x)) |> 14 | mutate(x = ifelse(x<18, "<18", x)) |> 15 | mutate(y=y/16*100, x = ifelse(is.na(x), "NA", x)) |> 16 | group_by(x) |> 17 | summarize(avg = mean(y, na.rm=TRUE), min = min(y, na.rm = TRUE), n = n()) |> 18 | filter(!is.na(avg)) |> 19 | mutate(x = factor(x, levels = c("NA", "20", "19", "18", "<18")), avg = round(avg), min = round(min)) |> 20 | arrange(x) |> 21 | setNames(c("Diagnostic", "Midterm 1 avg", "Minimum", "N")) 22 | -------------------------------------------------------------------------------- /intro.qmd: -------------------------------------------------------------------------------- 1 | # Course description {.unnumbered} 2 | 3 | This course introduces UNIX/Linux shell, version control with git and GitHub, R programming, data wrangling with dplyr and data.table, data visualization with ggplot2 and shiny, and reproducible document preparation with RStudio, knitr and markdown. We briefly introduce Monte Carlo simulations, statistical modeling, high-dimensional data techniques, and machine learning and how these are applied to real data. Throughout the course, we use motivating case studies and data analysis problem sets based on challenges similar to those you encounter in scientific research. 4 | 5 | Lectures will be mostly live coding. We will go over exercises and challenges together but will pause 1-4 times per lectures so students can complete exercises on their own. The midterm questions will be selected from the exercises presented in class. Some time will be dedicated to answering problem set questions. Lectures will not be recorded. 6 | 7 | Students are required to have a GitHub account and create a repository for the course. 8 | 9 | Problem sets are mostly composed of open ended questions. Submission should be in the form of a scientific report. Problem set submission need to be completely reproducible. Specifically, students are expected to upload a Quarto document to their GitHub class repository that graders can compile into a readable report. 10 | 11 | -------------------------------------------------------------------------------- /docs/site_libs/quarto-html/tippy.css: -------------------------------------------------------------------------------- 1 | .tippy-box[data-animation=fade][data-state=hidden]{opacity:0}[data-tippy-root]{max-width:calc(100vw - 10px)}.tippy-box{position:relative;background-color:#333;color:#fff;border-radius:4px;font-size:14px;line-height:1.4;white-space:normal;outline:0;transition-property:transform,visibility,opacity}.tippy-box[data-placement^=top]>.tippy-arrow{bottom:0}.tippy-box[data-placement^=top]>.tippy-arrow:before{bottom:-7px;left:0;border-width:8px 8px 0;border-top-color:initial;transform-origin:center top}.tippy-box[data-placement^=bottom]>.tippy-arrow{top:0}.tippy-box[data-placement^=bottom]>.tippy-arrow:before{top:-7px;left:0;border-width:0 8px 8px;border-bottom-color:initial;transform-origin:center bottom}.tippy-box[data-placement^=left]>.tippy-arrow{right:0}.tippy-box[data-placement^=left]>.tippy-arrow:before{border-width:8px 0 8px 8px;border-left-color:initial;right:-7px;transform-origin:center left}.tippy-box[data-placement^=right]>.tippy-arrow{left:0}.tippy-box[data-placement^=right]>.tippy-arrow:before{left:-7px;border-width:8px 8px 8px 0;border-right-color:initial;transform-origin:center right}.tippy-box[data-inertia][data-state=visible]{transition-timing-function:cubic-bezier(.54,1.5,.38,1.11)}.tippy-arrow{width:16px;height:16px;color:#333}.tippy-arrow:before{content:"";position:absolute;border-color:transparent;border-style:solid}.tippy-content{position:relative;padding:5px 9px;z-index:1} -------------------------------------------------------------------------------- /r4ds.scss: -------------------------------------------------------------------------------- 1 | /*-- scss:defaults --*/ 2 | 3 | $primary: #637238 !default; 4 | 5 | /*-- scss:rules --*/ 6 | 7 | .sidebar-title { 8 | color: #637238; 9 | } 10 | 11 | div.sidebar-item-container .active { 12 | font-weight: bold; 13 | } 14 | 15 | .sidebar nav[role=doc-toc] ul>li>a.active, .sidebar nav[role=doc-toc] ul>li>ul>li>a.active{ 16 | font-weight: bold; 17 | } 18 | 19 | img.quarto-cover-image { 20 | box-shadow: 0 .5rem 1rem rgba(0,0,0,.15); 21 | } 22 | 23 | /* Headings ------------------------------------------------------ */ 24 | 25 | h2 { 26 | margin-top: 2rem; 27 | margin-bottom: 1rem; 28 | font-size: 1.5rem; 29 | } 30 | h3 { margin-top: 1.5em; font-size: 1.2rem; } 31 | h4 { margin-top: 1.5em; font-size: 1.1rem; } 32 | h5 { margin-top: 1.5em; font-size: 1rem; } 33 | 34 | h1, h2, h3, h4, h5 { 35 | line-height: 1.3; 36 | } 37 | 38 | .quarto-section-identifier { 39 | color: #6C6C6C; 40 | font-weight: normal; 41 | } 42 | 43 | /* Code ------------------------------------------------ */ 44 | 45 | code { 46 | color: #373a3c; 47 | } 48 | 49 | code a:any-link { 50 | text-decoration: underline; 51 | text-decoration-color: #ccc; 52 | } 53 | 54 | pre { 55 | background-image: linear-gradient(160deg,#f8f8f8 0,#f1f1f1 100%); 56 | } 57 | 58 | /* Printing ------------------------------------------------ */ 59 | 60 | @media print { 61 | :root { 62 | font-size: 11pt; 63 | } 64 | #quarto-sidebar, #TOC, .nav-page { 65 | display: none; 66 | } 67 | .page-columns .content { 68 | grid-column-start: page-start; 69 | } 70 | .fixed-top { 71 | position: relative; 72 | } 73 | .panel-caption, .figure-caption, figcaption { 74 | color: #666; 75 | } 76 | } 77 | -------------------------------------------------------------------------------- /_quarto.yml: -------------------------------------------------------------------------------- 1 | project: 2 | type: book 3 | output-dir: docs 4 | 5 | execute: 6 | cache: true 7 | 8 | book: 9 | title: "BST 260 Introduction to Data Science" 10 | subtitle: "2023 Notes" 11 | author: "Rafael Irizarry" 12 | date: "8/19/2023" 13 | chapters: 14 | - index.qmd 15 | - intro.qmd 16 | - schedule.qmd 17 | - 01-quarto.qmd 18 | - 02-unix.qmd 19 | - 03-git.qmd 20 | - 04-r-basics.qmd 21 | - 05-vectorization.qmd 22 | - 06-tidyverse.qmd 23 | - 07-dates-and-times.qmd 24 | - 08-importing-data.qmd 25 | - 09-data-table.qmd 26 | - pset1.qmd 27 | - 10-distributions.qmd 28 | - 11-ggplot2.qmd 29 | - 12-dataviz-principles.qmd 30 | - 13-wrangling.qmd 31 | - 14-web-scraping.qmd 32 | - 15-locales.qmd 33 | - 16-text-mining.qmd 34 | - 17-probability.qmd 35 | - 18-inference.qmd 36 | - 19-models.qmd 37 | - pset2.qmd 38 | - 20-regression.qmd 39 | - 21-multivariate-regression.qmd 40 | - 22-linear-models.qmd 41 | - 23-association-tests.qmd 42 | - 24-corrleation-not-causation.qmd 43 | - 25-matrices-in-R.qmd 44 | - 26-linear-algebra.qmd 45 | - 27-dimension-reduction.qmd 46 | - 28-gene-expression-case-study.qmd 47 | - 29-regularization.qmd 48 | - 30-matrix-factorization.qmd 49 | - 31-ml-intro.qmd 50 | - 32-conditional-expectations.qmd 51 | - 33-smoothing.qmd 52 | - 34-cross-validation.qmd 53 | - 35-caret.qmd 54 | - 36-algorithms.qmd 55 | reader-mode: true 56 | site-url: http://datasciencelabs.github.io/2023 57 | repo-url: https://github.com/datasciencelabs/2023 58 | repo-branch: main 59 | repo-actions: [source, issue] 60 | sidebar: 61 | collapse-level: 1 62 | 63 | format: 64 | html: 65 | theme: 66 | - cosmo 67 | - r4ds.scss 68 | 69 | editor: source 70 | 71 | -------------------------------------------------------------------------------- /15-locales.qmd: -------------------------------------------------------------------------------- 1 | # Locales 2 | 3 | Notice the character on this file. 4 | 5 | ```{r} 6 | fn <- file.path(system.file("extdata", package = "dslabs"), "calificaciones.csv") 7 | readLines(fn) 8 | ``` 9 | 10 | The unrecognizable characters actually lead to `read.csv` failing: 11 | 12 | ```{r} 13 | try({x <- read.csv(fn)}) 14 | ``` 15 | 16 | This is because it is not UTF encoding, which is the default: 17 | 18 | ```{r} 19 | Sys.getlocale() 20 | ``` 21 | 22 | The `locale` is a group of information about your system. This includes the encoding, the language, and the time zone. This can affect how data is read into R. A mismatch of encodings creates weird problems often without warning or error. 23 | 24 | You can use the `stri_enc_detect` function in the **stringi** package to predict the encoding of a character: 25 | 26 | ```{r} 27 | library(stringi) 28 | x <- readLines(fn, n = 1) 29 | stri_enc_detect(x) 30 | ``` 31 | 32 | We can also use this **readr** function to detect encoding of files: 33 | 34 | ```{r} 35 | library(readr) 36 | guess_encoding(fn) 37 | ``` 38 | 39 | The `read_csv` permits us to define elements of the encoding through the `locale` argument. It switches the local only temporarily, while running the parser _read_csv_. The locale for R remains the same after calling this. 40 | 41 | ```{r} 42 | x <- read_csv(fn, locale = locale(encoding = "ISO-8859-1")) 43 | x 44 | ``` 45 | 46 | Now notice the last column. Compare it to what we saw with `readLines`. They were numbers that used the European decimal point. This confuses `read_csv`. We can also change the encoding so the Europearn decimals are used. 47 | 48 | ```{r} 49 | x <- read_csv(fn, locale = locale(encoding = "ISO-8859-1", decimal_mark = ",")) 50 | x 51 | ``` 52 | 53 | Now let's try to change the dates to date format: 54 | 55 | ```{r} 56 | library(lubridate) 57 | dmy(x$f.n.) 58 | ``` 59 | 60 | Nothing gets correctly converted. This is because the dates are in Spanish. You can change the locale to use Spanish as the language: 61 | ```{r} 62 | parse_date(x$f.n., format = "%d de %B de %Y", locale = locale(date_names = "es")) 63 | ``` 64 | 65 | Finally notice that two students turned in the homework past the deadline of September 21 66 | 67 | ```{r} 68 | x$estampa >= make_date(2023, 9, 22) 69 | ``` 70 | 71 | However, with times we have to be particularly careful as some functions default to UTC. 72 | 73 | ```{r} 74 | tz(x$estampa) 75 | ``` 76 | 77 | But these times are in the default GMT. If we change to out timezone: 78 | 79 | ```{r} 80 | with_tz(x$estampa, tz = Sys.timezone()) >= make_date(2023, 9, 22) 81 | ``` 82 | 83 | we see everybody turned it in on time. 84 | -------------------------------------------------------------------------------- /38-making-webpage.qmd: -------------------------------------------------------------------------------- 1 | # Making a web page 2 | 3 | 4 | ## HTML 5 | 6 | It's worth learning HTML and CSS 7 | 8 | Here a very basic HTML page: 9 | 10 | ``` 11 | 12 | 13 |
14 |This is a very basic HTML page.
19 | 20 | 21 | ``` 22 | 23 | On most web servers, the URL will default to the file `index.html` 24 | 25 | CSS is used to change the style, whle keeping the HTML the same: 26 | 27 | ``` 28 | 29 | 30 | 31 |This is a very basic HTML page with some CSS styling.
54 | 55 | 56 | ``` 57 | 58 | 59 | Usually, we keep the CSS in a separate file, as they can be quite long. You can Typically we call the file `sytle.css`. 60 | 61 | ``` 62 | body { 63 | font-family: Arial, sans-serif; 64 | background-color: #f0f0f0; 65 | margin: 0; 66 | padding: 0; 67 | } 68 | 69 | h1 { 70 | color: navy; 71 | text-align: center; 72 | } 73 | 74 | p { 75 | color: #333333; 76 | margin-left: 20px; 77 | } 78 | ``` 79 | 80 | Then we add a line to the html file to make let the browser know to use the style: 81 | 82 | ``` 83 | 84 | 85 | 86 |This is a very basic HTML page with external CSS styling.
92 | 93 | 94 | ``` 95 | 96 | There are many css file you can borrow to make the page follow different styles. 97 | 98 | ## Markdown 99 | 100 | * To avoid learning HTML syntax you can instead use markdown to create pages. 101 | 102 | * Markdown is what Quarto is based on. If you remove the runable code from quarto it becomes a markdown document. 103 | 104 | * GitHub uses markdown for the README files shown in repositores. 105 | 106 | - Example: