Note: I have posted last year’s midterm on the Resources page, along with some grading guidelines.

On Monday, we will go over last week’s homework, focusing mainly on the case study on gas prices; see ut2000_boot.R and GasPrices.R scripts from the R Scripts tab. Then we will launch into this week’s case study, on modeling the effect of a marketing display on demand for cheese, using data from dozens of grocery stories across the country. See Exercises 5 for details on the case study.

On Wednesday, we will spend 10-15 minutes on the cheese case study. See the cheese_intro.R script from the R Scripts tab.

Then we will start Chapter 7 of the course packet on hypothesis testing. Key topics:

  • the logic and step-by-step process of hypothesis testing
  • permutation tests: shuffling the cards
  • using and interpreting p values

Please see the colon_cancer.R script from the R Scripts tab.

Software

Outside of class, complete the following R walkthroughs.

For Wednesday of this week (week 6):

For Monday of next week (week 7):

  • Titanic, revisited: a simple example of a permutation test in a two-by-two contingency table.

Readings

For Wednesday of this week (week 6), please read the first three-quarters of Chapter 7, which encompasses the following two sections:

  • Assessing the evidence for a hypothesis
  • Permutation tests

For Monday of next week (week 7), please finish Chapter 7 by reading the section on “Hypothesis testing in regression.”

Videos

For Wednesday:

For Monday of next week:

Exercises

Exercises 5 this week are on multiple regression modeling and hypothesis testing. They are due in class on February 26.