geebt: Generalized estimating equations for the latency part

Description Usage Arguments

View source: R/geebt.R

Description

Fit the PH model in the latency part with the GEE approach.

Usage

1
geebt(Status, Lambda, X, beta, w, id, corstr)

Arguments

Status

the censoring indicator, normally 0 = event of interest happens, and 0 = censoring

Lambda

initial cumulative baseline hazard function from the GEE with independence working corrlation matrix.

X

a matrix of covariates corresponding to the latency part.

beta

initial beta for the GEE for the latency part. We use 0 as the initial value.

w

conditional probability of a patient remains uncured at the mth iteration. We use Status as initial value.

id

a vector which identifies the clusters. The length of id should be the same as the number of observations.

corstr

a character string specifying the correlation structure. The following are permitted: independence and exchangeable.


geecure documentation built on May 2, 2019, 6:03 a.m.