drgeeData
object.ebeFit(object, rootFinder=findRoots, ...)
drgeeData
object.findRoots
.drgeeFit
or to the function rootFinder
.rootFinder
function. Is NULL
when
object$olink
is "logit"
.ebeFit
performs exposure nuisance model based estimation
(as described in the man page for drgee
) given a
drgeeData
object. The models are specified by variables y, a, x, yx, ax, 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 only needed when object$olink
is
"log"
. The rootFinder
argument is not needed when
object$olink
is "identity"
. Any user supplied
function to rootFinder
is expected to have the same input
and output as findRoots
.
Robust variance is calculated by robVcov
.
ebeFit
is meant to be called by drgee
.
drgeeData
,
drgee
, findRoots
and robVcov
.