Click on the text like “Week 1: Sep 5 – 7” to expand or collapse the items we covered in that week.

I will fill in more detail and provide links to lecture notes and labs as we go along. Items for future dates are tentative and subject to change.

Chapter 1: Observational Units, Categorical and Quantitative Variables

Wed, Sept 5

  • In class, we will work on:
    • Introductory lab: pdf
    • Here’s a link to sign up for our class at gryd.us (this is the site where we will use R, you will need to do this to complete the lab): https://beta.gryd.us/course/3wwAgQ39gQHjApaijRcWTE/register/
      • Important: Please use your mtholyoke.edu email address to register for this site! Otherwise you will have to pay… :(
  • After class, please do the following:
    • Fill out a brief pre-course questionairre
    • Fill out this poll about when my office hours should be held: http://whenisgood.net/d8wmb4z
    • Sign up for our class at gryd.us if you didn’t already (this is the site where we will use R): https://beta.gryd.us/course/3wwAgQ39gQHjApaijRcWTE/register/
    • Sign up for our class at Piazza (anonymous question and answer forum): https://piazza.com/mtholyoke/fall2018/stat14002
    • Reading: Read Chapter 1 of Stats: Data and Models 4th edition, or Chapter 2 of the 3rd edition
    • Homework 1: Complete 4 DataCamp chapters from the Introduction to R course: Intro to basics, Vectors, Factors, and Data frames. You will get an email by the end of the day on Sept 5 inviting you to join our class organization with an assignment pointing you to the specific chapters to do. You should feel free to work on this in groups – but please each complete your own copy of this assignment! Your grade on this assignment is only for completion, not correctness. If you get stuck, post a message on Piazza! I don’t expect you to remember everything or feel like an expert at it; that’s what the rest of the class is for! This is just a first introduction.

Fri, Sept 7

  • In class, we will work on:
    • Matching up ideas from the textbook and the data camp assignment.
    • Introduction to R and Categorical Data lab on Gryd.
  • After class, please do the following:
    • Read:
      • Stats: Data and Models 4th edition: Chapter 2, or
      • Stats: Data and Models 3rd edition: Chapter 3
    • Start on Homework 2: Data camp assignment about “Introduction to the Tidyverse”, due Wednesday Sep 12.

Mon, Sep 10

  • In class, we will work on:
    • Wrap-up of lab from Friday; things to know about R so far. R Commands summary: pdf
    • Material from Chapter 2 and related R functionality:
      • Example involving Joint, Marginal, and Conditional distributions based on a sample; Independence; and Simpson’s Paradox. pdf
      • The count function in R
  • After class, please do the following:
    • Read:
      • Stats: Data and Models 4th edition: Chapters 3 and 4, or
      • Stats: Data and Models 3rd edition: Chapters 4 and 5
    • Finish Homework 2: Data camp assignment about “Introduction to the Tidyverse”, due Wednesday Sep 12.

Wed, Sep 12

  • In class, we will work on:
    • Material from Chapters 3 and 4 and related R functionality:
      • Brief recap of data visualization with ggplot2: pdf
      • Start on a lab about data visualizations and calculating quantitative summaries of data
  • After class, please do the following:
    • No new work outside of class.

Fri, Sep 14

  • In class, we will work on:
    • More about visualization:
      • Understanding and interpreting common types of plots: pdf
      • Finish data visualizations part of lab 02
  • After class, please do the following:
    • Start on Homework 3: Assignment covering Chapters 1 – 2 and data visualizations, on Gryd, due Wednesday Sep 19.

Mon, Sep 17

  • In class, we will work on:
    • When to use mean/median, standard deviation/IQR. pdf
    • R commands for dealing with quantitative variables. pdf
    • Brief recap of all functionality related to reading in and summarizing data in R so far (see Resources tab)
    • Finish the whole Bechdel test lab; please submit by the end of the day today.
  • After class, please do the following:
    • Homework 3: Assignment covering Chapters 1 – 2 and data visualizations, on Gryd, due Wednesday Sep 19.
    • Read:
      • Stats: Data and Models 4th edition: Sections 6.1 through 6.3 (but not the sections about Kendall’s Tau or Spearman’s Rho; also, we won’t be calculating correlation by hand, so don’t worry about those calculations - we will want to understand its properties and what it does and does not tell us), or
      • Stats: Data and Models 3rd edition: Chapter 7 (but not the sections about Kendall’s Tau, Spearman’s Rho, or Straightening Scatterplots; also, we won’t be calculating correlation by hand, so don’t worry about those calculations - we will want to understand its properties and what it does and does not tell us)

Wed, Sep 19

  • Homework 3 due!
  • In class, we will work on:
    • Material from Chapter 6 (4th edition); or Chapter 7 (3rd edition)
    • Thinking about the relationship between 2 quantitative variables: scatter plots and correlation pdf
    • Building some intuition about what correlation means: pdf
    • Lab03 on Gryd: practice working with scatter plots and correlation.
  • After class, please:
    • Read:
      • Stats: Data and Models 4th edition: Chapter 11
      • Stats: Data and Models 4th edition: Chapter 12

Fri, Sep 21

  • In class, we will work on:
    • Material from Chapter 11 (4th edition); or Chapter 12 (3rd edition)
    • Sampling Summary pdf
    • Lab04 on Gryd: Goldfish lab, introduction to sampling distributions and bias.
  • After class, please:
    • Read:
      • Stats: Data and Models 4th edition: Chapter 12
      • Stats: Data and Models 4th edition: Chapter 13
    • Homework 4: Assignment covering Chapters 3 – 4 and 6, on Gryd, due Wednesday Sep 26 at midnight.

Mon, Sep 24

  • In class, we will work on:
    • Quiz on material from HW03. Solutions to HW03 are posted on Gryd and a sample quiz is posted on the Quizzes/Exams page on the course website.
    • Wrap up of Lab03 on Gryd, which we did on Friday Sep 21
    • Summary of Experiments and Observational Studies: pdf
    • Examples
  • After class, please:
    • Homework 4: Assignment covering Chapters 3 – 4 and 6, on Gryd, due Wednesday Sep 26 at midnight.

Wed, Sep 26

  • Homework 4 due at midnight!
  • In class, we will work on:
    • Introduction to hypothesis testing pdf
  • After class, please:
    • Homework 5 due Wednesday, Oct 3
    • Read
      • Stats: Data and Models 4th edition: Sections 16.1, 16.2, and 16.3. Don’t worry about the formulas, we will be using R for computations.
      • Stats: Data and Models 3rd edition: Chapter 17 - just the first few sections, up to and including “The Binomial Model”; stop before “The Normal Model to the Rescue!” Don’t worry about the formulas, we will be using R for computations.

Fri, Sep 28

  • In class, we will work on:
    • The binomial model and its use for hypothesis tests about a proportion.
      • UPDATED, CORRECT VERSION: pdf
      • ORIGINAL, INCORRECT VERSION: pdf
    • Lab 06 on Gryd
  • After class, please:
    • Homework 5 due Wednesday, Oct 3

More on inference for a population proportion.

Mon, Oct 1

  • In class, we will work on:
    • Quiz on material from HW4 (see Quizzes/Exams page for review materials)
    • Correction to discussion of pbinom from last class.
    • Wrap up Lab 06 on Gryd
    • More about hypothesis tests for a population proportion.
      • Worksheet: pdf
      • Solutions: pdf
  • After class, please:
    • Homework 5 due Wednesday, Oct 3

Wed, Oct 3

  • Homework 5 due today!!
  • In class, we will work on:
    • Review of examples from last class
    • Lab 07 on Gryd: more examples of hypothesis tests about proportions, practice doing computations in R
  • After class, please:
    • Start reviewing for our first midterm

Fri, Oct 5

  • In class, we will work on:
    • More practice with hypothesis tests for population proportions
      • Worksheet: pdf
    • How can we plot p-values calculated based on a binomial distribution? pdf
  • After class, please:
    • Review for our first midterm

Mon, Oct 8

  • No Class: mid-semester break. Safe travels!

Wed, Oct 10

  • In class, we will work on:
    • Start thinking about confidence intervals for a population proportion
  • After class, please:
    • Do the take-home part of the midterm!

Fri, Oct 12

  • Take-home portion of midterm due today at start of class!
  • In-class portion of midterm held today!

Mon, Oct 15

  • In class, we will work on:
    • More examples of finding and interpreting confidence intervals for a population proportion: pdf
  • After class, please:
    • Read:
      • SDM4: Chapter 5, Sections 17.3, 17.4, and 17.5
      • SDM3: Chapter 6, Second half of Chapter 18 (starting at “What About Quantitative Data?”)
    • Homework 6 due Wed, Oct 24 (will be assigned on Gryd by Tuesday Oct 16)

Wed, Oct 17

  • In class, we will work on:
  • After class, please:
    • Work on Homework 6 due Wed, Oct 24

Fri, Oct 19

  • Class cancelled for LEAP day

Mon, Oct 22

  • In class, we will work on:
    • Overview of Lab 11 from Gryd (introduction to sampling distribution of the sample mean)
    • The normal distribution: pdf
    • Sampling distribution of the sample mean: pdf
  • After class, please:
    • Homework 6 due Wed, Oct 24
    • Read:
      • SDM4: Chapter 20
      • SDM3: Chapter 23

Wed, Oct 24

  • Homework 6 is due today!!
  • In class, we will work on:
    • Finish examples about sampling distribution of the sample mean from last class
    • Hypothesis tests about a population mean
      • Normal-distribution based hypothesis tests (necessary for conceptual understanding, but not the actual method we will be using!!). pdf

Fri, Oct 26

  • In class, we will work on:
    • Wrap up last example of normal-distribution hypothesis tests from last class.
    • \(t\)-distribution based hypothesis tests (this is the actual method we will be using!!). pdf
    • Start Lab 13 on Gryd: more examples

Mon, Oct 29

  • In class, we will work on:
    • Quiz on inference for a population proportion. See quizzes page for a sample quiz.
    • Lab 13 on Gryd

Wed, Oct 31

  • In class, we will work on:
    • Review of second example from Lab 13
    • Introduce confidence intervals for a population mean: pdf
    • Lab 14 on Gryd
  • After class, please:
    • Read:
      • SDM4: Chapter 21
      • SDM3: Chapter 21 (the material we’ve been working on for the last few days was in Chapter 23 - I had previously pointed you to Chapter 21 for this.)
    • Start HW7, due Wed. Nov 7

Fri, Nov 2

  • In class, we will work on:
    • Review Lab 14; Start Lab 15
  • After class, please:
    • Work on HW7, due Wed. Nov 7

Mon, Nov 5

  • In class, we will work on:
    • More time for Lab 15

Wed, Nov 7

  • In class, we will work on:
    • Additional ideas about hypothesis tests and confidence intervals: pdf
  • After class, please:
    • Work on HW7, due Mon. Nov 12
    • Read:
      • SDM4 Chapter 7
      • SDM3 Chapter 8

Fri, Nov 9

  • In class, we will work on:
    • Start on Linear Regression: pdf
    • Lab 16
  • After class, please:
    • Work on HW7, due Mon. Nov 12

Mon, Nov 12

  • Homework 7 due today!
  • In class, we will work on:
    • Wrap up for lab 17 on Gryd: pdf
    • Motivation for ideas thinking about model fit: pdf
    • \(R^2\) and Residual Standard Error (RSE): pdf
    • Lab 17 on Gryd: Anscombe’s data
    • Linear Regression: conditions for inference and residual diagnostics: pdf
  • After class, please:
    • Review for Midterm 2

Wed, Nov 14

  • In class, we will work on:
    • Finish handout about conditions for inference and residual diagnostics from last class
    • Lab 18 on Gryd
  • After class, please:
    • Review for Midterm 2

Fri, Nov 16

  • In class, we will work on:
    • I will answer any questions you have about the exam. I will not specifically prepare any material. Please come with questions or examples you would like to look at. It would be good to take a look at the practice exam posted on the quizzes/exams page on the course website.

Mon, Nov 19

  • Midterm 2 in class today: covers inference for a population mean and population proportion; Homeworks 6 and 7

Wed, Nov 21

  • No Class: Thanksgiving break. Safe travels!

Fri, Nov 23

  • No Class: Thanksgiving break. Safe travels!

Mon, Nov 26

  • In class, we will work on:
    • Inference for linear regression: pdf
    • Summary of things related to linear regression so far: pdf
    • Lab 19 on Gryd
  • After class, please:
    • Work on Homework 8, due Wed Dec 5

Wed, Nov 28

  • In class, we will work on:
    • Inference for linear regression
  • After class, please:
    • Work on Homework 8, due Wed Dec 5

Fri, Nov 30

  • In class, we will work on:
    • More about linear regression
  • After class, please:
    • Work on Homework 8, due Wed Dec 5

Mon, Dec 3

  • In class, we will work on:
    • More about linear regression
  • After class, please:
    • Work on Homework 8, due Wed Dec 5

Wed, Dec 5

  • Homework 8 due today!!
  • In class, we will work on:
    • Fitting two lines: pdf
  • After class, please:
    • Work on Homework 9, due Mon Dec 10

Fri, Dec 7

  • In class, we will work on:
    • More about linear regression
  • After class, please:
    • Work on Homework 9, due Mon Dec 10

Mon, Dec 10

  • Homework 9 due today!!

We will have a cumulative final exam.