LORgee_control: Control For The GEE Solver

View source: R/LORgee.control.R

LORgee_controlR Documentation

Control For The GEE Solver

Description

Control variables 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 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.

Author(s)

Anestis Touloumis

See Also

nomLORgee and ordLORgee.

Examples

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)



multgee documentation built on Sept. 2, 2023, 9:06 a.m.