R Dataset / Package COUNT / lbw
Documentation |
---|
On this R-data statistics page, you will find information about the lbw data set which pertains to lbw. The lbw data set is found in the COUNT R package. You can load the lbw data set in R by issuing the following command at the console data("lbw"). This will load the data into a variable called lbw. If R says the lbw data set is not found, you can try installing the package by issuing this command install.packages("COUNT") and then attempt to reload the data. If you need to download R, you can go to the R project website. You can download a CSV (comma separated values) version of the lbw R data set. The size of this file is about 4,955 bytes. lbwDescriptionThe data come to us from Hosmer and Lemeshow (2000). Called the low birth weight (lbw) data, the response is a binary variable, low, which indicates whether the birth weight of a baby is under 2500g (low=1), or over (low=0). Usagedata(lbw) FormatA data frame with 189 observations on the following 10 variables.
Detailslbw is saved as a data frame. Count models can use ftv as a response variable, or convert it to grouped format SourceHosmer, D and S. Lemeshow (2000), Applied Logistic Regression, Wiley ReferencesHilbe, Joseph M (2007, 2011), Negative Binomial Regression, Cambridge University Press Hilbe, Joseph M (2009), Logistic Regression Models, Chapman & Hall/CRC Examplesdata(lbw) glmbwp <- glm(ftv ~ low + smoke + factor(race), family=poisson, data=lbw) summary(glmbwp) exp(coef(glmbwp)) library(MASS) glmbwnb <- glm.nb(ftv ~ low + smoke + factor(race), data=lbw) summary(glmbwnb) exp(coef(glmbwnb)) -- Dataset imported from https://www.r-project.org. |
Title | Authored on | Content type |
---|---|---|
OpenIntro Statistics Dataset - dream | August 9, 2020 - 12:25 PM | Dataset |
OpenIntro Statistics Dataset - winery_cars | August 9, 2020 - 2:38 PM | Dataset |
R Dataset / Package HSAUR / toothpaste | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HSAUR / pottery | March 9, 2018 - 1:06 PM | Dataset |
R Dataset / Package HistData / Guerry | March 9, 2018 - 1:06 PM | Dataset |
Attachment | Size |
---|---|
dataset-33628.csv | 4.84 KB |