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))
แบบฝึกหัดนี้เป็นส่วนหนึ่งของหลักสูตร
Inference for Categorical Data in R
แบบฝึกหัดเชิงโต้ตอบแบบลงมือทำจริง
เปลี่ยนทฤษฎีให้เป็นการลงมือทำด้วยแบบฝึกหัดเชิงโต้ตอบหนึ่งในของเรา
เริ่มแบบฝึกหัด