Learn R Programming

multgee (version 1.5.0)

waldts: 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.

Examples

Run this code
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)

Run the code above in your browser using DataLab