Skip to content

SurvTrunc

Analysis of Doubly Truncated Data

v0.2.0 · Sep 16, 2022 · GPL-2

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.

Downloads

182

Last 30 days

23155th

499

Last 90 days

1.9K

Last year

Trend: -1.6% (30d vs prior 30d)

CRAN Check Status

14 NOTE
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang NOTE
r-devel-linux-x86_64-debian-gcc NOTE
r-devel-linux-x86_64-fedora-clang NOTE
r-devel-linux-x86_64-fedora-gcc NOTE
r-devel-macos-arm64 NOTE
r-devel-windows-x86_64 NOTE
r-oldrel-macos-arm64 NOTE
r-oldrel-macos-x86_64 NOTE
r-oldrel-windows-x86_64 NOTE
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 NOTE
r-release-macos-arm64 NOTE
r-release-macos-x86_64 NOTE
r-release-windows-x86_64 NOTE
Check details (16 non-OK)
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Lior Rennert <liorr@clemson.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Lior",
                      family = "Rennert",
                      role = c("aut", "cre"),
                      email = "liorr@clemson.edu"),
               person(given = "Yidan",
                      family = "Shi",
                      role = "aut",
                      email = "yidan.shi@pennmedicine.upenn.edu"))
as necessary.
NOTE r-devel-linux-x86_64-debian-clang

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Lior Rennert <liorr@clemson.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Lior",
                      family = "Rennert",
                      role = c("aut", "cre"),
                      email = "liorr@clemson.edu"),
               person(given = "Yidan",
                      family = "Shi",
                      role = "aut",
                      email = "yidan.shi@pennmedicine.upenn.edu"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^

Check History

NOTE 0 OK · 14 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

CRAN incoming feasibility

Maintainer: ‘Lior Rennert <liorr@clemson.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Lior",
                      family = "Rennert",
                      role = c("aut", "cre"),
                      email = "liorr@clemson.edu"),
               person(given = "Yidan",
                      family = "Shi",
                      role = "aut",
                      email = "yidan.shi@pennmedicine.upenn.edu"))
as necessary.
NOTE r-devel-linux-x86_64-debian-gcc

CRAN incoming feasibility

Maintainer: ‘Lior Rennert <liorr@clemson.edu>’

No Authors@R field in DESCRIPTION.
Please add one, modifying
  Authors@R: c(person(given = "Lior",
                      family = "Rennert",
                      role = c("aut", "cre"),
                      email = "liorr@clemson.edu"),
               person(given = "Yidan",
                      family = "Shi",
                      role = "aut",
                      email = "yidan.shi@pennmedicine.upenn.edu"))
as necessary.
NOTE r-devel-linux-x86_64-fedora-clang

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-devel-linux-x86_64-fedora-gcc

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-devel-macos-arm64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-devel-windows-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-patched-linux-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-release-linux-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-release-macos-arm64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-release-macos-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-release-windows-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-oldrel-macos-arm64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-oldrel-macos-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^
NOTE r-oldrel-windows-x86_64

Rd files

checkRd: (-1) coxDT.Rd:76: Lost braces; missing escapes or markup?
    76 | The estimation procedure here is performed using coxph {survival} and inserting these estimated
       |                                                        ^

Dependency Network

Dependencies Reverse dependencies survival SurvTrunc

Version History

new 0.2.0 Mar 10, 2026
updated 0.2.0 ← 0.1.0 diff Sep 15, 2022
new 0.1.0 Jul 27, 2018