1. Learn
  2. /
  3. Courses
  4. /
  5. Inference for Categorical Data in R

Exercise

Interpreting the test

What is your conclusion regarding the association between sex and support for the death penalty? Recall that this code calculates the p-value:

# Compute two-tailed p-value
null %>%
  summarize(pval = 2 * mean(stat <= d_hat))

Instructions

50 XP

Possible answers