afttest.aftgee: Model Diagnostics for Generalized Estimating Equation...

View source: R/afttest.R

afttest.aftgeeR Documentation

Model Diagnostics for Generalized Estimating Equation (aftgee) Objects

Description

Model Diagnostics for Generalized Estimating Equation (aftgee) Objects

Usage

## S3 method for class 'aftgee'
afttest(
  object,
  data,
  npath = 200,
  testType = "omnibus",
  eqType = "ls",
  covTested = 1,
  npathsave = 50,
  linApprox = TRUE,
  seed = NULL,
  ...
)

Arguments

object

A fitted model object of class aftgee from the aftgee package.

data

An optional data frame in which to interpret the variables occurring in the formula.

npath

An integer value specifying the number of approximated processes. The default is given by 200.

testType

A character string specifying the type of the test. The following are permitted:

omnibus

an omnibus test

link

a link function test

covForm

a functional form of a covariate

eqType

The estimating-equation type used for the diagnostic procedure. For a fitted aftgee object, this is fixed to "ls". Any other supplied value is ignored with a warning.

covTested

A single design-matrix column to test when testType is covForm, supplied by position or name.

npathsave

An integer value specifying the number of simulated paths retained in the returned object. The default is 50.

linApprox

A logical value. If TRUE, the multiplier bootstrap is computed using the asymptotic linear approximation, which is significantly faster. If FALSE, the estimating equations are solved numerically for each bootstrap replication. Defaults to TRUE.

seed

An optional integer specifying the random seed for reproducibility.

...

Other arguments passed to methods.


afttest documentation built on Nov. 11, 2026, 9:06 a.m.