Hospital stays | R Documentation |
The function gives the frequency distribution of the length of hospital stay.
data_stays
data_stays |
A vector of (non-negative integer) count values. |
The data set consists of the number of hospital stays by United States residents aged 66 and over. Recently, it was used by Aryuyuen et al. (2014) and fitted by the zero-inflated negative binomial-generalized exponential distribution.
data_stays gives the observed frequencies of the number of hospital stays by United States residents aged 66 and over.
Muhammad Imran
R implementation and documentation: Muhammad Imran imranshakoor84@yahoo.com.
Aryuyuen, S., Bodhisuwan, W., & Supapakorn, T. (2014). Zero-inflated negative binomial-generalized exponential distribution and its applications. Songklanakarin Journal of Science and Technology, 36(4), 483-91.
Flynn, M., & Francis, L. A. (2009). More flexible GLMs zero-inflated models and hybrid models. Casualty Actuarial Society, 2009, 148-224.
x<-data_stays
summary(x)
table (x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.