Fit a generalized estimating equation (GEE) model with fixed additive correlation structure
Fit a generalized estimating equation (GEE) model with fixed additive correlation structure
The geekin function fits generalized estimating equations but where the correlation structure is given as linear function of (scaled) fixed correlation structures.
geekin( formula, family = gaussian, data, weights, subset, id, na.action, control = geepack::geese.control(...), varlist,...)
Arguments
formula: See corresponding documentation to glm.
family: See corresponding documentation to glm.
data: See corresponding documentation to glm.
weights: See corresponding documentation to glm.
subset: See corresponding documentation to glm.
id: a vector which identifies the clusters. The length of id
should be the same as the number of observations. Data must be sorted so that observations on a cluster are contiguous rows for all entities in the formula. If not the function will give an error
na.action: See corresponding documentation to glm.
control: See corresponding documentation to glm.
varlist: a list containing one or more matrix or bdsmatrix objects that represent the correlation structures
...: further arguments passed to or from other methods.
Returns
Returns an object of type geeglm.
Details
The geekin function is essentially a wrapper function to geeglm. Through the varlist argument, it allows for correlation structures of the form
R = sum_i=1^k alpha_i R_i
where alpha_i are(nuisance) scale parameters that are used to scale the off-diagonal elements of the individual correlation matrices, R_i.