familySmoking: Family smoking

Description Usage Format Source References Examples

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.

Usage

1

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

1
2
data(familySmoking)
xchisq.test( xtabs(~Parents + Student, familySmoking) )

fastR documentation built on May 31, 2017, 4:12 a.m.

Search within the fastR package
Search all R packages, documentation and source code