From 98b1f804910a5ffcc6acbea94759026ed996b1c4 Mon Sep 17 00:00:00 2001 From: Edwin Vargas Navarro Date: Fri, 17 Apr 2026 14:26:26 -0700 Subject: [PATCH] fix: new stat20 links --- 05-variables/index.qmd | 6 +++--- index.qmd | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/05-variables/index.qmd b/05-variables/index.qmd index d805ed6..a061291 100644 --- a/05-variables/index.qmd +++ b/05-variables/index.qmd @@ -52,13 +52,13 @@ Figure 2 has examples of each variable type. ![Variable Types.](images/variable_types.png){#fig-inflation fig-align=center width=90% fig-alt=""} ::: -_What do we mean by "meaningful" arithmetic?_ From [Stat 20](https://www.stat20.org/1-questions-and-data/02-taxonomy-of-data/notes): +_What do we mean by "meaningful" arithmetic?_ From [Stat 20](https://stat20.berkeley.edu/spring-2026/1-questions-and-data/02-taxonomy-of-data/notes.html): > What unites both types of numerical variables is that the magnitude of the numbers have meaning and you can perform mathematical operations on them and the result also has meaning. It is possible and meaningful to talk about the average air temperature across three locations. It is also possible and meaningful to talk about the sum total number of people across ten households. Just because a variable has numbers for values does not make it numerical. Consider phone area codes: Berkeley is 510, San Francisco is 415, Palo Alto is 650, and so on. While area codes are numbers, you can't do any arithmetic---comparative or otherwise---with them that "makes sense": what does it mean to add area codes? have one area code (650) that is "larger" than another (510)? Area codes are therefore an example of a nominal categorical variable. -Variable types are closely tied to measurement. Consider the following survey item from [Stat 20](https://www.stat20.org/1-questions-and-data/02-taxonomy-of-data/notes), which describes a common ordinal categorical variable in opinion surveys: +Variable types are closely tied to measurement. Consider the following survey item from [Stat 20](https://stat20.berkeley.edu/spring-2026/1-questions-and-data/02-taxonomy-of-data/notes.html), which describes a common ordinal categorical variable in opinion surveys: > Consider the question:“Do you strongly agree, agree, feel neutral about, disagree, or strongly disagree with the following statement: Dogs are better than cats?” When you record answers to this question, you’re recording measurements on a categorical variable that takes values “strongly agree”, “agree”, “neutral”, “disagree”, “strongly disagree”. Those are the levels of the categorical variable and they have a natural ordering: “strongly agree” is closer to “agree” than it is to “strongly disagree”. @@ -69,7 +69,7 @@ _Aside: What is a discrete variable type, really?_ If you think about it deeply ## External Reading * (mentioned in notes) "Chapter 4: From Concepts to Models." Elizabeth Heger Boyle, Deborah Carr, Benjamin Cornwell, Shelley Correll, Robert Crosnoe, Jeremy Freese, and Waters, Mary C. 2017. _The Art and Science of Social Research_. New York: W. W. Norton & Company. -* (mentioned in notes) _Stat 20 notes_, [Taxonomy of Data](https://www.stat20.org/1-questions-and-data/02-taxonomy-of-data/notes) +* (mentioned in notes) _Stat 20 notes_, [Taxonomy of Data](https://stat20.berkeley.edu/spring-2026/1-questions-and-data/02-taxonomy-of-data/notes.html) ## References diff --git a/index.qmd b/index.qmd index 106debd..35e6088 100644 --- a/index.qmd +++ b/index.qmd @@ -15,7 +15,7 @@ We strongly recommend supplementing the notes presented here with the fantastic - Data 8: [_Computational and Inferential Thinking: The Foundations of Data Science_](https://inferentialthinking.com/), 2nd Edition, by Ani Adhikari, John DeNero, David Wagner. - CS 61A: [_Composing Programs_](https://www.composingprograms.com/), by John DeNero. -- Stat 20: [Course Notes](https://www.stat20.org/notes) by Andrew Bray. +- Stat 20: [Course Notes](https://stat20.berkeley.edu/spring-2026/notes.html) by Andrew Bray. ## License