Chapter 3. Using R to introduce basic concepts of hypothesis testing

This chapter explains the logic used to test hypotheses from a frequentist perspective (i.e., the perspective most commonly taught for data analysis). 

Along the way we also introduce these concepts:

  • Population vs. sample
  • Sampling error
  • Randomization test
  • Null vs. alternative hypotheses, and why the null hypothesis is so important
  • Null distribution
  • p-values: what are they and how do we interpret them?