Learn R Programming

multgee (version 1.5.0)

LORgee.control: Control For The GEE Solver

Description

Control variables for the GEE solver in the functions nomLORgee and ordLORgee.

Usage

LORgee.control(tolerance = 0.001, maxiter = 15, verbose = FALSE, TRACE = FALSE)

Arguments

tolerance
positive convergence tolerance. The algorithm converges when the maximum of the absolute relative difference in parameter estimates is less than or equal to tolerance.
maxiter
positive integer that indicates the maximum number of iterations in the Fisher-scoring iterative algorithm.
verbose
logical that indicates if output should be printed at each iteration.
TRACE
logical that indicates if the parameter estimates and the convergence criterion at each iteration should be saved.

See Also

nomLORgee and ordLORgee.

Examples

Run this code
data(arthritis)
fitmod <- ordLORgee(y~factor(trt)+factor(baseline)+factor(time), 
                    data = arthritis, id = id, repeated = time)
## A one-step GEE estimator
fitmod1 <- update(fitmod, control = LORgee.control(maxiter=1))
coef(fitmod)
coef(fitmod1)

Run the code above in your browser using DataLab