# Load library
library(tidyverse)
# Import data
worry_large <- read_csv(file = "https://raw.githubusercontent.com/zief0002/epsy-5261/main/data/worry-large.csv")
# View data
worry_largeworry-large.csv
The worry-large.csv data include information on the results of a poll question related to worry about hunger and homelessness. These data were simulated to have the same proportion of respondents who answered “Yes” and “No” to a Gallup 2021 poll (see here). But, to pedagogically show the effects of sample size on inferential measures (e.g., the SE), it was simulated to have a sample size five times larger than the original data ().
The attributes included in the data are:
id: An ID number for each respondentworried: Does the poll respondent worry-large “a great deal” about hunger and homelessness? (Yes, No)
Preview
# A tibble: 5,050 × 2
id worried
<dbl> <chr>
1 1 Yes
2 2 Yes
3 3 Yes
4 4 Yes
5 5 Yes
6 6 Yes
7 7 Yes
8 8 Yes
9 9 Yes
10 10 Yes
# ℹ 5,040 more rows