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]
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 29 Mar. 2025.
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
02/2702/2803/0103/0203/0303/0403/0503/0603/0703/0803/0903/1003/1103/1203/1303/1403/1503/1603/1703/1803/1903/2003/2103/2203/2303/2403/2503/2603/27Downloads for SurvTrunc0123456789101112TrendBars

Today's Hot Picks in Authors and Packages

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  
gglgbtq  
Show Pride on 'ggplot2' Plots
Provides multiple palettes based on pride flags with tailored themes. ...
Download / Learn more Package Citations See dependency  
landmix  
Landmark Prediction for Mixture Data
Non-parametric prediction of survival outcomes for mixture data that incorporates covariates and a l ...
Download / Learn more Package Citations See dependency  

23,842

R Packages

207,311

Dependencies

64,420

Author Associations

23,781

Publication Badges

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