geefirth: Fitting Firth-type GEE for correlated binary data with...

Description Usage Arguments Author(s) Examples

Description

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.

Usage

1
2
geefirth(formula, id = id, data = parent.env(),
  corstr = "independence")

Arguments

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".

Author(s)

Momenul Haque Mondol mmondol@isrt.ac.bd, M. Shafiqur Rahman shafiq@isrt.ac.bd

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
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");

momenulhaque/geefirthr documentation built on June 12, 2019, 3:07 p.m.