pseudoci.weighted: Pseudo observations for the weighted cumulative incidence...

Description Usage Arguments Value

Description

Computes pseudo-observations for modeling competing risks based on the possibly weighted cumulative incidence function

Usage

1
pseudoci.weighted(time, event, tmax, weights = rep(1, length(time)))

Arguments

time

follow up time

event

cause indicator, use 0 as censoring code and integers for other causes

tmax

a vector of time points at which pseudo-observations are to be computed. If missing, uses each event time

weights

a vector of case weights, i.e., 1/probabilities

Value

A list containing the following objects

time

The ordered time points at which the pseudo-observations are evaluated.

cause

The ordered codes for different causes.

pseudo

A list of matrices - a matrix for each of the causes, ordered by codes. Each row of a matrix belongs to one individual (ordered as in the original data set), each column presents a time point (ordered in time).


sachsmc/pseupersims documentation built on June 12, 2019, 1:14 p.m.