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

Connected

练习

Generating from H0

Imagine that when reading the newspaper, you come across someone who makes the following claim: "3/4 of all Americans believe in life after death". This can be interpreted as a point null hypothesis that the population proportion has a value of 0.75.

Use this hypothesis to generate a single dataset to explore.

说明 1 / 共 3 个

undefined XP
    1
    2
    3

Using gss2016,

  • Specify the variable of interest and what constitutes a success.
  • Form a "point" null hypothesis that the true proportion is 0.75.
  • Generate a single simulated dataset under this null hypothesis.