Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

Cigarett

Effect of mother's smoking on birth weight of newborn


Description

Data for Exercise 2.27

Usage

Cigarett

Format

A data frame/tibble with 16 observations on two variables

cigarettes

mothers' estimated average number of cigarettes smoked per day

weight

children's birth weights (in pounds)

References

Kitchens, L. J. (2003) Basic Statistics and Data Analysis. Pacific Grove, CA: Brooks/Cole, a division of Thomson Learning.

Examples

plot(weight ~ cigarettes, data = Cigarett)
model <- lm(weight ~ cigarettes, data = Cigarett)
abline(model, col = "red")
with(data = Cigarett,
     cor(weight, cigarettes)
)
rm(model)

BSDA

Basic Statistics and Data Analysis

v1.2.0
GPL (>= 2)
Authors
Alan T. Arnholt [aut, cre], Ben Evans [aut]
Initial release
2017-07-29

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.