Week 8

Chi-squared tests and ANOVA
Published

November 18, 2024

Modified

December 2, 2024

Overview of Week 8

Mon: Day 13

  • Chi-squared tests of association and homogeneity
  • Fisher’s exact test
  • Sections 8.3-8.4

Wed: Day 14

  • ANOVA = Analysis of Variance
  • Comparing more than 2 means
  • Section 5.5

Slides & Recordings

  • Pre-recorded lessons are on Echo Cloud (aka echo 360 or echo video).
Day Topic Slides: html Slides: pdf Slides: web-page Slides with notes Recording Link Duration Code: qmd Code: html
13 Chi-sqr intro Day 13: slides 1-10 Day 13 Part 1 18 min
Chi-sqr test: 8.3.1 - 8.3.4 Day 13: slides 11-17 same same Day 13 Part 2 23 min same
Chi-sqr in R, Fisher’s Exact Test, Chi-sqr vs. prop’s Day 13: R tip, slides 18-33 same same Day 13 Part 3 57 min same
14 ANOVA intro Day 14: slides 1-15 Day 14 Part 1 29 min
ANOVA table Day 14: slides 16-28 same same Day 14 Part 2 27 min same
ANOVA in R, conditions, post-hoc testing Day 14: slides 29-47 same same Day 14 Part 3 39 min same

Datasets

All datasets can be found on GitHub

Class discussion

During class you will be working in groups discussing the following:

Day 13

  • Questions from HW 6
    • Book: 8.28 (warm-up), 8.32, 8.34, 8.38 (modified; see assignment)

Day 14

  • Slide 12: “Hypothetical examples” question
  • Slide 29 questions
  • Questions from HW 6
    • Book 5.44, 5.48
    • R1: Palmer Penguins ANOVA

Homework

  • HW 6 covers Days 13 -14 and is due on Sat, 11/23
  • Check out this spreadsheet for typos in book.

Exam 2 information

  • Exam 2 will be on Mon, Oct. 30th
  • Samples of past exam questions and answers (on Sakai)
  • Material will cover Days 8-13,
    • which is approximately Ch 4, 5.1-5.4, 8.1-8.4 from the textbook, and supplementary material.
  • The exam will be in-class and handwritten. Bring a calculator.
  • You may bring one page of notes on an 8.5” x 11” sheet of paper.
    • You may use both sides.
    • You may type your notes.
    • You may not use screenshots of the notes or textbook
    • You will be turning in the page of notes with the exam, so please add your name to the sheet.