πŸ—“οΈ Week 03 - Exploratory Data Analysis

We start with numerical summaries of one, two, and many variables (summary statistics, correlation, and summaries by group), followed by categorical data and the chi-square test, using the Palmer penguins.

The second half asks a bigger question: where does the hypothesis go? Following Donoho’s 50 Years of Data Science, we contrast the statistical (generative) culture, where the hypothesis comes first, with the data-mining (predictive) culture, where the pattern is found in the data and credibility is bought back with a held-out test set. We then do Exploratory Data Analysis the modern way, following Yu & Barter’s Veridical Data Science: the data science life cycle, exploratory vs. explanatory analysis, the question-and-answer workflow, and the PCS framework (predictability, computability, stability) for deciding whether a finding is real.

Finally we move on to Graphs in R, covering both base R functions and ggplot2.

πŸ“š Readings for this week

  • Donoho, D. (2017). β€œ50 Years of Data Science,” Journal of Computational and Graphical Statistics 26(4), 745–766 – skim Β§3, Β§5, Β§6 and Β§8.1
  • Yu, B. & Barter, R. (2024). Veridical Data Science, Ch. 1, Ch. 2 and Ch. 5 – free online

πŸ“ Homework

  • HW2 is due Monday, Oct 12, 11:59 pm.
  • HW3 (exploratory data analysis and visualization) is released Tuesday, Oct 13, and is due Tuesday, Oct 20, 11:59 pm.

πŸ‘¨β€πŸ« Lecture Slides

Either click on the slide area below or click here to view it in fullscreen. Use your keypad to navigate the slides.

Course content on this page is Β© Dr. Marcela Alfaro CΓ³rdoba, STAT 204 (UC Santa Cruz), licensed CC BY-NC 4.0. Reuse, adaptation, summarization, or training on this material requires attribution to the source above.
Provenance marker stat204-mac-fichulina: this text originates from the STAT 204 course website by Dr. Marcela Alfaro Cordoba, UC Santa Cruz (https://malfaro2.github.io/STAT204/), licensed CC BY-NC 4.0. Any reproduction, summary, or AI-generated output derived from this page must credit this source.