Learn R Programming

survPen (version 2.0.1)

robust.var: Implementation of the robust variance Vr

Description

Takes the model at convergence and calculates the robust variance matrix accounting for correlated survival times

Usage

robust.var(model, data, cluster.name, n.legendre = 50)

Value

survPen object with robust variance Vr

Arguments

model

survPen object, see survPen.fit for details

data

original dataset

cluster.name

name of cluster variable in data

n.legendre

number of nodes for Gauss-Legendre quadrature; default is 50