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 05 Jun. 2026.
Previous versions and publish date:
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

ibb  
R Wrapper for Istanbul Municipality Open Data Portal
Call wrappers for Istanbul Metropolitan Municipality's Open Data Portal (Turkish: Istanbul B ...
Download / Learn more Package Citations See dependency  
quickcode  
Quick and Essential 'R' Tricks for Better Scripts
The NOT functions, 'R' tricks and a compilation of some simple quick plus often used 'R' codes to im ...
Download / Learn more Package Citations See dependency  
envirem  
Generation of ENVIREM Variables
Generation of bioclimatic rasters that are complementary to the typical 19 bioclim variables. ...
Download / Learn more Package Citations See dependency  
crossurr  
Cross-Fitting for Doubly Robust Evaluation of High-Dimensional Surrogate Markers
Doubly robust methods for evaluating surrogate markers as outlined in: Agniel D, Hejblum BP, Thiebau ...
Download / Learn more Package Citations See dependency  
msm  
Multi-State Markov and Hidden Markov Models in Continuous Time
Functions for fitting continuous-time Markov and hidden Markov multi-state models to longitudinal d ...
Download / Learn more Package Citations See dependency  

27,268

R Packages

233,548

Dependencies

72,590

Author Associations

27,205

Publication Badges

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