Learn R Programming

multgee (version 1.0)

LORgee.control: Control For The GEE Solver

Description

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

Usage

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

Arguments

tolerance
positive convergence tolerance. The algorithm converges when the pairwise 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 procedure.
verbose
logical that indicates if output should be printed for each iteration.
TRACE
logical that indicates if the parameter estimates and the convergence criterion for 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), id = "id", 
                    repeated = "time", data = arthritis)
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