Package: afttest
Type: Package
Title: Model Diagnostics for Accelerated Failure Time Models
Version: 4.5.3
Date: 2026-3-20 EDT
Authors@R: c(
    person(given = "Woojung", family = "Bae", 
           email = "matt.woojung@gmail.com", 
           role = c("aut", "cre"),
           comment = c(ORCID = "0000-0001-6760-9900")),
    person(given = "Dongrak", family = "Choi", role = "aut",
           comment = c(ORCID = "0000-0003-3280-3329")),
    person(given = "Jun", family = "Yan", role = "aut",
           comment = c(ORCID = "0000-0003-4401-7296")),
    person(given = "Sangwook", family = "Kang", role = "aut",
           comment = c(ORCID = "0000-0003-2658-481X"))
  )
Maintainer: Woojung Bae <matt.woojung@gmail.com>
Description: A collection of model checking methods for semiparametric 
    accelerated failure time (AFT) models under the rank-based approach. For the 
    (computational) efficiency, Gehan's weight is used. It provides functions to 
    verify whether the observed data fit the specific model assumptions such as 
    a functional form of each covariate, a link function, and an omnibus test. 
    The p-value offered in this package is based on the Kolmogorov-type supremum 
    test and the variance of the proposed test statistics is estimated through 
    the re-sampling method. Furthermore, a graphical technique to compare the 
    shape of the observed residual to a number of the approximated realizations 
    is provided. See the following references; A general model-checking 
    procedure for semiparametric accelerated failure time models, Statistics and 
    Computing, 34 (3), 117 <doi:10.1007/s11222-024-10431-7>; Diagnostics for 
    semiparametric accelerated failure time models with R package 'afttest', 
    arXiv, <doi:10.48550/arXiv.2511.09823>.
Depends: R (>= 3.4.0)
Imports: survival, aftgee, ggplot2, gridExtra
LinkingTo: Rcpp, RcppArmadillo
Suggests: knitr, rmarkdown, testthat (>= 3.0.0)
Config/testthat/edition: 3
License: GPL (>= 3)
URL: https://github.com/WooJungBae/afttest
BugReports: https://github.com/WooJungBae/afttest/issues
Encoding: UTF-8
Language: en-US
RoxygenNote: 7.3.2
NeedsCompilation: yes
Packaged: 2026-03-22 15:14:20 UTC; woojung
Author: Woojung Bae [aut, cre] (ORCID: <https://orcid.org/0000-0001-6760-9900>),
  Dongrak Choi [aut] (ORCID: <https://orcid.org/0000-0003-3280-3329>),
  Jun Yan [aut] (ORCID: <https://orcid.org/0000-0003-4401-7296>),
  Sangwook Kang [aut] (ORCID: <https://orcid.org/0000-0003-2658-481X>)
Repository: CRAN
Date/Publication: 2026-03-22 15:40:02 UTC
Built: R 4.6.0; aarch64-apple-darwin23; 2026-04-25 14:00:40 UTC; unix
Archs: afttest.so.dSYM
