bootstrap.summary: Based on the output obtained from ipw.bootstrap.ph2 function,...

Description Usage Arguments Value Author(s) References

View source: R/bootstrap.summary.R

Description

Based on the output obtained from ipw.bootstrap.ph2 function, empirical distribution based-variance/-confidence intervals for the estimated regression coefficients, prevalences, cumulative sub-distribution hazards and cumulative incidences for events 1 and 2 are calculated.

Usage

1
2
bootstrap.summary(o.input, b.input, p.mat, i.mat1, i.mat2, time.points,
  alpha = 0.05, ...)

Arguments

o.input

the model fit output obtained from ipw.pi.competing function

b.input

the bootstrap output obtained from ipw.bootstrap.ph2 function

p.mat

design matrix for predicting prevalence by using the inverse of logit function; both of vector and matrix types are allowed; the first component or column should include 1 for the intercept.

i.mat1

design matrix for predicting cumulative sub-distribution hazards and cumulative incidences for event 1

i.mat2

design matrix for predicting cumulative sub-distribution hazards and cumulative incidences for event 2

time.points

time points at which cumulative sub-distribution hazards and cumulative incidences for events 1 and 2 are predicted

alpha

The nominal coverage probability is (1-alpha)*100%. Default to 0.05

Value

The output is a list of class ipw.bootstrap.ph2, which contains the following elements.

Author(s)

Noorie Hyun, nhyun@mcw.edu, Xiao Li xiaoli@mcw.edu

References


xiaoli-mcw/PIcompete documentation built on May 20, 2020, 7:44 p.m.