FamilySmoking: Family smoking

FamilySmokingR Documentation

Family smoking

Description

A cross-tabulation of whether a student smokes and how many of his or her parents smoke from a study conducted in the 1960's.

Format

A data frame with 5375 observations on the following 2 variables.

student

a factor with levels DoesNotSmoke Smokes

parents

a factor with levels NeitherSmokes OneSmokes

BothSmoke

Source

S. V. Zagona (ed.), Studies and issues in smoking behavior, University of Arizona Press, 1967.

References

The data also appear in

Brigitte Baldi and David S. Moore, The Practice of Statistics in the Life Sciences, Freeman, 2009.

Examples


data(FamilySmoking)
xchisq.test( tally(parents ~ student, data = FamilySmoking) )


rpruim/fastR documentation built on Nov. 12, 2023, 12:26 p.m.