birth | R Documentation |
This data set contains records of the birth weight for 189 newborn babies from Massachusetts, USA, and some additional variables regarding the mothers.
birth
A data frame with 189 observations (rows) and 5 variables (columns).
Column name | Data type | Description | Values | |
[,1] | LOW | factor | YES if birth weight is below 2500g, otherwise NO | (NO, YES) |
[,2] | AGE | numeric | The age of the mother in years | (14 - 45) |
[,3] | LWT | numeric | The mother's weight in pound at last menstrual period | (80 - 250) |
[,4] | SMK | factor | YES if mother smokes, otherwise NO | (NO, YES) |
[,5] | BTW | numeric | The birth weight of the baby in g | (709 - 4990) |
This data has a subset of the variables from the original data set. The recorded birth weight were collected in 1989 at the Baystate Medical Centre, Springfield. The researchers were interested in factors associated with the low birth weight. The World Health Organization’s defines low birth weight as less than 2500 grams.
The original data set, birthwt
, can be found
here.
Hosmer, D.W., Lemeshow, S. (1989) Applied Logistic Regression. New York: Wiley.
# The first 10 observations
head(birth, n = 10)
# A short summary of the variables
summary(birth)
# Linear model with interaction term
lm(BWT ~ LWT*SMK, data = birth)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.