Other packages > Find by keyword >

SurvTrunc  

Analysis of Doubly Truncated Data
View on CRAN: Click here


Download and install SurvTrunc package within the R console
Install from CRAN:
install.packages("SurvTrunc")

Install from Github:
library("remotes")
install_github("cran/SurvTrunc")

Install by package version:
library("remotes")
install_version("SurvTrunc", "0.2.0")



Attach the package and use:
library("SurvTrunc")
Maintained by
Lior Rennert
[Scholar Profile | Author Map]
All associated links for this package
First Published: 2018-07-28
Latest Update: 2022-09-16
Description:
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 <liorr@clemson.edu> for questions regarding function coxDT and Yidan Shi <yidan.shi@pennmedicine.upenn.edu> for questions regarding function coxDTdep.
How to cite:
Lior Rennert (2018). SurvTrunc: Analysis of Doubly Truncated Data. R package version 0.2.0, https://cran.r-project.org/web/packages/SurvTrunc. Accessed 07 Aug. 2026.
Previous versions and publish date:
(2026-07-09 08:27), 0.1.0 (2018-07-28 18:40)
Other packages that cited SurvTrunc R package
View SurvTrunc citation profile
Other R packages that SurvTrunc depends, imports, suggests or enhances
Complete documentation for SurvTrunc
Functions, R codes and Examples using the SurvTrunc R package
Some associated functions: AIDS . cdfDT . coxDT . coxDTdep . indeptestDT . 
Some associated R codes: AIDS.R . NPweights.R . coxDT.R . coxDTdep.R . coxDTdep_internal.R . indeptestDT.R .  Full SurvTrunc package functions and examples
Downloads during the last 30 days

Today's Hot Picks in Authors and Packages

bbricks  
Bayesian Methods and Graphical Model Structures for Statistical Modeling
A set of frequently used Bayesian parametric and nonparametric model structures, as well as a set of ...
Download / Learn more Package Citations See dependency  
modelwordcloud  
Model Word Clouds
Makes a word cloud of text, sized by the frequency of the word, and colored either by user-specified ...
Download / Learn more Package Citations See dependency  
BayesESS  
Determining Effective Sample Size
Determines effective sample size of a parametric prior distribution in Bayesian models. For a web-b ...
Download / Learn more Package Citations See dependency  
enrichwith  
Methods to Enrich R Objects with Extra Components
Provides the "enrich" method to enrich list-like R objects with new, relevant components. The curren ...
Download / Learn more Package Citations See dependency  
r2resize  
In-Text Resize for Images, Tables and Fancy Resize Containers in 'shiny', 'rmarkdown' and 'quarto' Documents
Automatic resizing toolbar for containers, images and tables. Various resizable or expandable contai ...
Download / Learn more Package Citations See dependency  

28,083

R Packages

239,283

Dependencies

74,457

Author Associations

28,084

Publication Badges

© Copyright since 2022. All right reserved, rpkg.net.  Based in Cambridge, Massachusetts, USA