waldts: Wald Test of Nested GEE Models

View source: R/waldts.R

waldtsR Documentation

Wald Test of Nested GEE Models

Description

Comparing two nested GEE models by carrying out a Wald test.

Usage

waldts(object0, object1)

Arguments

object0

A GEE model of the class "LORgee".

object1

A GEE model of the class "LORgee".

Details

The two GEE models implied by object0 and object1 must be nested.

Author(s)

Anestis Touloumis

Examples

data(housing)
set.seed(1)
fitmod1 <- nomLORgee(y ~ factor(time) * sec, data = housing, id = id,
  repeated = time)
set.seed(1)
fitmod0 <- update(fitmod1, formula = y ~ factor(time) + sec)
waldts(fitmod0, fitmod1)


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