chisq_data: Chi-Square Test Example Data

chisq_dataR Documentation

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)

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.

Source

Simulated data inspired by Nolan & Heinzen (4th ed.), *Statistics for the Behavioral Sciences*. Generated for instructional examples in the MOTE package.

References

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


MOTE documentation built on Dec. 15, 2025, 9:06 a.m.