geefirth | R Documentation |
geefirth fits GEE with Firth-type penalization to provide bias-corrected finite estimate of the regression coefficient in case of separation or near-to-separation. In addition, it provides bias-correctedsandwich estimate of the standard error of the penalized GEE estimate.
geefirth(formula, id = id, data = parent.env(), corstr = "independence")
formula |
Similar as geeglm |
id |
cluster variable and requirs to be sorted |
data |
data frame that contains the variables mentioned in id and formula |
corstr |
working correlation structure, "independence" (default), "ar1", "unstr", "exchangeable". |
Momenul Haque Mondol mmondol@isrt.ac.bd, M. Shafiqur Rahman shafiq@isrt.ac.bd
data(quasiDat) # Fitting GEE for quasi-separated data geefirth(y ~ x + obstime, id=id, data=quasiDat, corstr = "exchangeable"); data(nearDat) # Fitting GEE for near to quasi-separated data geefirth(y ~ x + obstime, id=id, data=nearDat, corstr = "exchangeable");
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.