HurdleGEE_c: Generalized Estimating Equations, Truncated Count component...

Description Usage Arguments Examples

Description

This function calculates the Generalized Estimating Equations (GEE) parameter estimates and standard errors for the truncated count component of a hurdle model for longitudinal excess zero count responses with independent working correlation structure, based on Dobbie and Welsh (2001). Within the estimation method, responses are filtered to include only the positive counts from the original data. Data must be organized by subject, and an intercept term is assumed for both the logistic and truncated count components of the model. The function outputs a list with parameter estimates betaHat and parameter covariance estimate covEst, along with estimated rates muHat and residuals r_c.

Usage

1
HurdleGEE_c(y, subjectID, N, X_c)

Arguments

y

The vector of response counts, ordered by subject, time within subject.

subjectID

The vector of subject ID values for each response.

N

The number of subjects.

X_c

The design matrix for all covariates in the truncated count component of the model, including an intercept.

Examples

1

lalondetl/GMM documentation built on May 30, 2019, 11:40 p.m.