1. 学习
  2. /
  3. 课程
  4. /
  5. Inference for Categorical Data in R

Connected

练习

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))

说明

50 XP

答案选项