Learn R Programming

MOTE (version 1.2.2)

chisq_data: Chi-Square Test Example Data

Description

Example data for a chi-square test of independence. Individuals were polled and asked to report their number of friends (low, medium, high) and their number of children (1, 2, 3 or more). The analysis examines whether there is an association between friend group size and number of children. It was hypothesized that those with more children may have less time for friendship-maintaining activities.

Usage

data(chisq_data)

Arguments

Format

A data frame with 2 variables:

friends

Factor with levels "low", "medium", and "high" indicating self-reported number of friends.

kids

Factor with levels "1", "2", and "3+" indicating number of children.

References

Nolan, S. A., & Heinzen, T. E. (*4th ed.*). *Statistics for the Behavioral Sciences*. Macmillan Learning.