R Dataset / Package COUNT / azdrg112
Documentation |
---|
On this R-data statistics page, you will find information about the azdrg112 data set which pertains to azdrg112. The azdrg112 data set is found in the COUNT R package. You can load the azdrg112 data set in R by issuing the following command at the console data("azdrg112"). This will load the data into a variable called azdrg112. If R says the azdrg112 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 azdrg112 R data set. The size of this file is about 14,593 bytes. azdrg112DescriptionThe data set relates to the hospital length of stay for patients having a CABG or PTCA (typel) heart procedure. The data comes from the 1995 Arizona Medicare data for DRG (Diagnostic Related Group) 112. Other predictors include gender(1=female) and age75 (1-age 75+). Type is labeled as 1=emergency or urgent admission; 0= elective. Length of stay (los) ranges from 1 to 53 days. Usagedata(azdrg112) FormatA data frame with 1,798 observations on the following 4 variables.
Detailsazdrg112 is saved as a data frame. Count models typically use los as response variable. 0 counts are not included SourceDRG 112 data from the 1995 Arizona Medicare (MedPar) State files ReferencesHilbe, Joseph M (2007, 2011), Negative Binomial Regression, Cambridge University Press Examplesdata(azdrg112) glmazp <- glm(los ~ type1 + gender + age75, family=poisson, data=azdrg112) summary(glmazp) exp(coef(glmazp)) library(MASS) glmaznb <- glm.nb(los ~ type1 + gender + age75, data=azdrg112) summary(glmaznb) exp(coef(glmaznb)) -- 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-23543.csv | 14.25 KB |