drgeeData
object.drFit(object, rootFinder=findRoots, ...)
drgeeData
object.findRoots
.geeFit
and rootFinder
.rootFinder
, if called.drFit
performs doubly robust estimation (as described in
the man page for drgee
) given a drgeeData
object. The models are specified by variables y, a, x, yx, ax, v,
z
and as character variables olink
and elink
which are assumed to be found in the input
argument object
as a drgeeData
object.
The rootFinder
argument is not needed when
object$olink
is "identity"
. Any user supplied
function to the argument rootFinder
is expected to have
the same input and output as findRoots
.
Robust variance is calculated by robVcov
.
drFit
is meant to be called by drgee
.
drgee
, drgeeData
, findRoots
and robVcov
.