1/20/2020
Questions about R or Chapter 1
Simulation with R - Open Shooting.R script
- Setting up trials
- Simulating a success or failure
- Creating a cumulative sum
- Creating a shooting percentage over time
- Creating a plot of the shooting percentage versus trial number
Chapter 2
- Is there a home field advantage in the NFL?
- Introduce prop.test(c(s1,s2), c(n1,n2))
- Hypothesis Testing - see handout for definitions
- How do we establish causation?
- What is confounding?
- Simulation with cards - one trial
- Use Statkey or SRIS website to simulate sampling distribution of the difference in two proportions.
- Is Rafael Nadal better on clay than other surfaces?
Class exercises from Chapter 2
Reading Assignment -
Please read Chapter 3 for class on Wednesday.