Description Usage Arguments Examples
This function calculates the Generalized Estimating Equations (GEE) parameter estimates and standard errors for the logistic component of a hurdle model for longitudinal excess zero count responses with independent working correlation structure, based on Dobbie and Welsh (2001). Responses are treated as binary indicators of 0 count values, therefore the probability modeled is that of a zero count. 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 probabilities pHat and residuals r_l.
1 | HurdleGEE_l(y, subjectID, N, X_l)
|
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_l |
The design matrix for all covariates in the logistic component of the model, including an intercept. |
1 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.