geega function

Generalized estimating equations for the incidence part

Generalized estimating equations for the incidence part

Fit the logistic model in the incidence part with the GEE approach

geega(w, Z, gamma, id, corstr)

Arguments

  • w: conditional probability of a patient remains uncured at the mth iteration. We use Status as initial value.
  • Z: a matrix of covariates corresponding to the incidence part.
  • gamma: initial beta for the GEE for the latency part. We use 0 as the initial value.
  • id: a vector which identifies the clusters. The length of id should be the same as the number of observations.
  • corstr: a character string specifying the correlation structure. The following are permitted: independence and exchangeable.
  • Maintainer: Yi Niu
  • License: GPL (>= 2)
  • Last published: 2018-04-01

Useful links