Hospital stays {DDPM}R Documentation

The data show the frequency distribution of length of hospital stay

Description

The function gives the frequency distribution of the length of hospital stay.

Usage

data_stays

Arguments

data_stays

A vector of (non-negative integer) count values.

Details

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.

Value

data_stays gives the observed frequencies of the number of hospital stays by United States residents aged 66 and over.

Author(s)

Muhammad Imran

R implementation and documentation: Muhammad Imran imranshakoor84@yahoo.com.

References

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.

Examples

x<-data_stays
summary(x)
table (x)

[Package DDPM version 0.1.0 Index]