Setting up an RStudio Account

Instructions here


Mon 28 Jan

Topic: Introduction to the course. Randomness, modeling, and inference.

Reading:

Assignment:

In Class:

On Your Own:

Notes: instr*


Wed 30 Jan

Topic: Data: cases, variables, tables, and codebooks

Reading:

Assignment:

In-class:

Notes: notes*


Fri 1 Feb

Topic: Organization of data (cont.), descriptive statistics

Reading:

Assignment:

In-Class:

Notes: notes*


Mon 4 Feb

Topic: Descriptive statistics: variance

Reading: SM §3.4, 3.5, XKCD cartoon

Assignment: Exercises 2.09, 2.14, 2.22, 3.02, 3.03, 3.04, 3.05, 3.06, 3.08, 3.11, 3.12, 3.15, 3.17, 3.18, 3.19

In Class: Measures of a distribution

On Your Own: A RadioLab episode about stochasticity

Notes: notes*


Wed 6 Feb

Topic: Groupwise Models

Reading: SM Ch. 4

Assignment: 3.14, 3.16, 3.RQ, 4.03, 4.04, 4.05, 4.06, 4.10

In Class:

Notes: notes*


Fri 8 Feb

Topic: Model values, residuals, and variance. Sampling and resampling.

Reading: SM Ch. 4 (review). SM §5.1, 5.2

Assignment: 3.54, 4.RQ, 4.07, 4.08, 5.01, 5.02

Notes: notes*

In-Class: Unfit models activity


Mon 11 Feb

Topic: Confidence intervals

Reading: SM §5.3, 5.4, 5.5, 5.7

Assignment: 5.RQ, 5.03, 5.12, 5.17, 5.20

In Class: Precision and sampling. (Precision is easy. Accuracy will take the rest of the course!)

Notes: notes*


Wed 13 Feb

Topic: Language of Models

Reading: SM §6.1, 6.2, 6.3, 6.4

Assignment:

In Class: Wednesday Quiz

On Your Own:

Notes: notes*


Fri 15 Feb

Topic: From Model Terms to Formulas and Coefficients

Reading: SM §6.5, 6.6, 6.7, SM §7.1, 7.2

Assignment:

In Class:

Notes: notes*


Mon 18 Feb

Topic: Formulas and Coefficients

Reading:

Assignment:

In Class:

Notes: notes*


Wed 20 Feb

Topic: Fitting and Least Squares

Reading: SM §7.10, SM §8.1, 8.2

Assignment: 7.14, 7.16, 7.21, 7.22, 7.31, 8.01

In Class: Weekly Quiz

Notes: notes*


Fri 22 Feb

Topic: Geometry of Least Squares Fitting

Reading: SM §8.3

Assignment: 8.02, 8.04, 8.05, 8.11

In Class:

Notes: notes*


Mon 25 Feb

Topic: Redundancy and Colinearity

Reading: SM §8.4, 8.5

Assignment: 8.RQ, 8.05, 8.12

In Class: Redundancy activity

Notes: notes*


Wed 27 Feb

Topic: Correlation and Partitioning, \( R^2 \)

Reading: SM Ch. 9

Assignment: 9.01, 9.02, 9.04, 9.05

In Class: Weekly Quiz

Notes: notes*


Fri 1 March

Topic: Correlation and Partitioning (continued)

Reading: SM Ch. 9 (review)

Assignment: 9.RQ, 9.10, 9.11, 9.12, 9.13, 9.21

Notes: notes*


Mon 4 March

Topic: Total and Partial Relationships

Reading: SM Ch. 10

Assignment: 9.22, 9.23, 10.01, 10.04, 10.10

In Class:

Notes: notes*

On Your Own: Is coffee good for you?


Wed 6 March

Topic: Total and Partial Relationships (continued)

Reading: SM Ch. 10 (review)

Assignment: 10.RQ, 10.05, 10.11, 10.12, 10.20

In Class: Weekly Quiz

Notes: notes*


Fri 8 March

Topic: Confidence Intervals on Coefficients

Reading: SM Ch. 12

Assignment: 10.21, 12.01, 12.02, 12.04, 12.05

Notes: notes*


Mon 11 March

Topic: Review for Exam

Reading:

Assignment: Review Problems

Notes: notes*


Wed 13 March

Mid-term Exam

Review Problems: without answers and then again, with answers

[Exam Answers and Grading Rubric] to be posted.


Fri 15 March

Topic: Probability Models

Reading: SM Ch. 11

Assignment: 11.RQ, 11.01, 11.02, 11.04, 11.05, 11.10, 11.21, 11.22

Notes: notes*


Mon 25 March

Topic Continuous Random Variables. Confidence Intervals on Coefficients.

Reading: Review SM Ch. 11. Start on SM Ch. 12

Assignment:


Wed 27 March

Topic: Confidence Intervals on Coefficients (continued)

Reading: SM Ch. 12

Assignment: 12.RQ, 12.10, 12.12

In Class:

Notes: notes*


Fri 29 March

Topic: Hypothesis Testing

Reading: SM Ch. 13

Assignment:

Notes: notes*


Mon 1 April

Topic: Hypothesis Testing (continued)

Reading: Review SM Ch. 13

Assignment:

In Class: 13.15

On Your Own: An introduction to Bayes Theorem

Notes: notes*

On Your Own: The paper that won the 2012 Ignobel prize in neuroscience: On brain activity in a dead salmon


Wed 3 April

Topic: Testing Whole Models with \( R^2 \) and F

Reading: SM §14.1, 14.2, 14.3, 14.5

Assignment: 14.01, 14.02

In Class:

Notes: notes*


Fri 5 April

Topic: Interpreting the p-value

Reading:

Assignment: 14.RQ, 14.04, 14.05, 14.11, 14.12, 14.24

In Class: 14.21

Notes: notes*

On Your Own: Journalistic deficit disorder


Mon 8 April

Topic: Hypothesis Testing on Parts of Models

Reading: SM Ch. 15

Assignment: 15.RQ, 15.01

In Class: Evaluating your election result model

Notes: notes*

On Your Own: Dance of the p-values


Wed 10 April

Topic: Hypothesis Testing on Parts of Models (continued)

Reading: SM Ch. 15 (review)

Assignment: 15.02, 15.04, 15.05, 15.11

Notes: notes*

On Your Own: What is a p-value?


Fri 12 April

Topic: Choosing model terms

Reading: XKCD cartoon

Assignment: 15.12, 15.21

Notes: notes*


Mon 15 April

Topic: Non parametrics

Reading: XKCD cartoon on frequentist vs Bayesian

Assignment: *15.22

Notes: notes*


Toward the End of the Semester

You've now seen the core concepts and methods of statistical modeling. The rest of the semester is intended to help you review and solidify your understanding. We'll do this by using statistical models in three contexts:

  1. Yes/No models — logistic regression. The aims here are to provide you with an important technique that employs the logic of statistical modeling but with a slightly different nomenclature.
  2. Causation and the choice of covariates. You've seen how to choose model terms based on ideas from statistical inference and “evidence.” Now you'll see a new criterion for selecting model terms that respects what you believe is true about causation.
  3. Experiment. The basic idea is to impose an intervention on a system and then analyzing the results. Experiments provide the most compelling form of evidence, yet they cannot always (or even often) be performed.

This is a good time to start to review. As we explore these new contexts, do the exercises from Chapter 15 to solidify your understanding of that basic material. These exercises will be due at the last class day.


Fri 19 April

Topic: Logistic regression

Reading: SM Ch. 16

Assignment:

In Class: Modeling Barry Bonds

Notes: notes*


Mon 22 April

Topic: Odds Ratios and Logistic regression

Reading: SM Ch. 16

In Class: Power and deer crossings

Notes: notes*


Wed 24 April

Topic: Power and the Alternative Hypothesis

In Class:

Notes: notes*


Fri 26 April

Topic: Power. Logistic Regression.

Reading:

Assignment:

In Class:

On Your Own:

Notes: notes*


Mon 29 April

Topic: Causation

Reading:

Assignment: 16.05, 16.10, 16.12 Due on May 10

In-Class: The Power of Vitamin D

Notes: notes*

<! – WEEK 13 –>


Wed 1 May

Topic: Causation

Reading:

Assignment: 17.RQ, 17.01, 17.02, 17.05 Due on May 10


Fri 3 May

Topic: Causation

Reading: SM Ch. 17 and XKCD cartoon

Assignment: 17.06, 17.07, 17.08, 17.10

In Class:


Mon 6 May

Topic: Experiment and Design

Reading: SM Ch. 18

Notes: notes*

Final Exam