Summary of opportunity costs

Foundations of Inference in R

Jo Hardin

Instructor

Significance

ch3_2_v2.003.png

# Calculate the p-value
opp_perm %>%
  summarize(pvalue = 
      mean(stat <= diff_orig))
# A tibble: 1 × 1
  pvalue
   <dbl>
1  0.007
Foundations of Inference in R

Causation

  • Study was randomized (i.e. individuals were randomly assigned the choices)

  • Nothing systematically different about participants in treatment and control groups

  • Therefore, any difference in buying rates is due to the options given (i.e. being reminded to save)

Foundations of Inference in R

Random sample

  • 150 individuals in the sample were not randomly sampled from all people

  • In order to generalize, we need more information about the students and who they represent

ch3_3_v4.010.png

Foundations of Inference in R

Let's practice!

Foundations of Inference in R

Preparing Video For Download...