Learn R Programming

drgee (version 1.0.1)

drFit: Doubly Robust Generalized Estimating Equations

Description

Doubly robust estimation given a drgeeData object.

Usage

drFit(object, rootFinder=findRoots, ...)

Arguments

object
A drgeeData object.
rootFinder
A function used to solve a system of non linear equations. Default is findRoots.
...
Further arguments to be passed to geeFit and rootFinder.

Value

  • A list containing:
  • coefficientsThe estimated parameters in the main model.
  • vcovThe estimated covariance matrix.
  • optim.objectThe optimization object returned from the function rootFinder, if called.

encoding

latin1

Details

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.

See Also

drgee, drgeeData, findRoots and robVcov.