Package: SurvTrunc 0.2.0

SurvTrunc: Analysis of Doubly Truncated Data

Package performs Cox regression and survival distribution function estimation when the survival times are subject to double truncation. In case that the survival and truncation times are quasi-independent, the estimation procedure for each method involves inverse probability weighting, where the weights correspond to the inverse of the selection probabilities and are estimated using the survival times and truncation times only. A test for checking this independence assumption is also included in this package. The functions available in this package for Cox regression, survival distribution function estimation, and testing independence under double truncation are based on the following methods, respectively: Rennert and Xie (2018) <doi:10.1111/biom.12809>, Shen (2010) <doi:10.1007/s10463-008-0192-2>, Martin and Betensky (2005) <doi:10.1198/016214504000001538>. When the survival times are dependent on at least one of the truncation times, an EM algorithm is employed to obtain point estimates for the regression coefficients. The standard errors are calculated using the bootstrap method. See Rennert and Xie (2022) <doi:10.1111/biom.13451>. Both the independent and dependent cases assume no censoring is present in the data. Please contact Lior Rennert <[email protected]> for questions regarding function coxDT and Yidan Shi <[email protected]> for questions regarding function coxDTdep.

Authors:Lior Rennert <[email protected]> and Yidan Shi <[email protected]>

SurvTrunc_0.2.0.tar.gz
SurvTrunc_0.2.0.zip(r-4.7)SurvTrunc_0.2.0.zip(r-4.6)SurvTrunc_0.2.0.zip(r-4.5)
SurvTrunc_0.2.0.tgz(r-4.6-any)SurvTrunc_0.2.0.tgz(r-4.5-any)
SurvTrunc_0.2.0.tar.gz(r-4.7-any)SurvTrunc_0.2.0.tar.gz(r-4.6-any)
SurvTrunc_0.2.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html
DESCRIPTION
card.svg |card.png
SurvTrunc/json (API)

# Install 'SurvTrunc' in R:
install.packages('SurvTrunc', repos = c('https://rennertl.r-universe.dev', 'https://cloud.r-project.org'))
Datasets:
  • AIDS - AIDS blood transfusion data

On CRAN:

Conda:

This package does not link to any Github/Gitlab/R-forge repository. No issue tracker or development information is available.

1.00 score 8 scripts 239 downloads 4 exports 3 dependencies

Last updated from:9f4c484247. Checks:7 NOTE, 2 OK. Indexed: yes.

TargetResultTimeFilesSyslog
linux-devel-x86_64NOTE160
source / vignettesOK148
linux-release-x86_64NOTE111
macos-release-arm64NOTE125
macos-oldrel-arm64NOTE196
windows-develNOTE81
windows-releaseNOTE92
windows-oldrelNOTE75
wasm-releaseOK91

Exports:cdfDTcoxDTcoxDTdepindeptestDT

Dependencies:latticeMatrixsurvival