| hospcosts | R Documentation |
Data for the analysis in Beath (2018), previously analysed in Marazzi and Yohai (2004), Cantoni and Ronchetti (2006) and Heritier et al (2009). The data is for 100 patients hospitalised at the Centre Hospitalier Universitaire Vaudois in Lausanne, Switzerland for "medical back problems" (APDRG 243).
hospcosts
A data frame with 100 observations on the following 9 variables.
idpatient id
costscost of stay in Swiss francs
loslength of stay in days
admadmission type, 0 = planned, 1 = emergency
insinsurance type, 0 = regular, 1 = private
ageage in years
sexsex, 0 = female, 1 = male
destdischarge destination, 0 = another health institution, 1 = home
logloslog of length of stay
Heritier et al (2009)
Cantoni, E., & Ronchetti, E. (2006). A robust approach for skewed and heavy-tailed outcomes in the analysis of health care expenditures. Journal of Health Economics, 25(2), 198213. http://doi.org/10.1016/j.jhealeco.2005.04.010
Heritier, S., Cantoni, E., Copt, S. and Victoria-Feser, M-P (2009). Robust Methods in Biostatistics. Wiley.
Marazzi, A., & Yohai, V. J. (2004). Adaptively truncated maximum likelihood regression with asymmetric errors. Journal of Statistical Planning and Inference, 122(12), 271291. http://doi.org/10.1016/j.jspi.2003.06.011
hospcosts.robustmix <- robmixglm(costs~adm+age+dest+ins+loglos+sex, family = "gamma",
data = hospcosts, cores = 1)
summary(hospcosts.robustmix)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.