ahs: Australian Health Survey

Description Usage Format Source Examples

Description

The Australian health survey was used by Bonat and Jorgensen (2016) as an example of multivariate count regression model. The data consists of five count response variables concerning health system access measures and nine covariates concerning social conditions in Australian for 1987-88.

Usage

1

Format

a data.frame with 5190 records and 15 variables.

Source

Deb, P. and Trivedi, P. K. (1997) Demand for medical care by the elderly: A finite mixture approach. Journal of Applied Econometrics 12(3):313–336.

Bonat, W. H. and Jorgensen, B. (2016) Multivariate covariance generalized linear models. Journal of Royal Statistical Society - Series C 65:649–675.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
require(mcglm)
data(ahs, package="mcglm")
form1 <- Ndoc ~ income + age
form2 <- Nndoc ~ income + age
Z0 <- mc_id(ahs)
fit.ahs <- mcglm(linear_pred = c(form1, form2),
                 matrix_pred = list(Z0, Z0), link = c("log","log"),
                 variance = c("poisson_tweedie","poisson_tweedie"),
                 data = ahs)
summary(fit.ahs)

wbonat/mcglm documentation built on June 23, 2020, 11:06 a.m.