plac-package {plac}R Documentation

A Package for Computating the Pairwise Likelihood Augmented Cox Estimator for Left-Truncated Data.

Description

This package provides both lower-level C++ functions (PLAC_TI(), PLAC_TV() and PLAC_TvR()) and an R wrapper function PLAC() to calculate the pairwise likelihood augmented Cox estimator for left-truncated survival data as proposed by Wu et al. (2015).

Wrapper Function PLAC()

This R wrapper function calls different C++ function depending on the covariate types data has.

C++ Functions

The three C++ functions PLAC_TI(), PLAC_TV() and PLAC_TvR() provide a direct interface to the algorithm in case that users need to supply more flexible time-dependent coavriates other than indicator functions.

References

Wu, F., Kim, S., Qin, J., Saran, R. and Li, Y. (2016) "A Pairwise-Likelihood Augmented Estimator for the Cox Model Under Left-Truncation." (Submitted to Journal of American Statistical Association.)


[Package plac version 0.1.1 Index]