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 04 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

golem  
A Framework for Robust Shiny Applications
An opinionated framework for building a production-ready 'Shiny' application. This package contains ...
Download / Learn more Package Citations See dependency  
phers  
Calculate Phenotype Risk Scores
Use phenotype risk scores based on linked clinical and genetic data to study Mendelian disease and ...
Download / Learn more Package Citations See dependency  
murphydiagram  
Murphy Diagrams for Forecast Comparisons
Data and code for the paper by Ehm, Gneiting, Jordan and Krueger ('Of Quantiles and Expectiles: Con ...
Download / Learn more Package Citations See dependency  
crplyr  
A 'dplyr' Interface for Crunch
In order to facilitate analysis of datasets hosted on the Crunch data platform ...
Download / Learn more Package Citations See dependency  
shinybusy  
Busy Indicators and Notifications for 'Shiny' Applications
Add indicators (spinner, progress bar, gif) in your 'shiny' applications to show the user that the ...
Download / Learn more Package Citations See dependency  
nextGenShinyApps  
Craft Exceptional 'R Shiny' Applications and Dashboards with Novel Responsive Tools
Nove responsive tools for designing and developing 'Shiny' dashboards and applications. The scripts ...
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