Package: afttest
Type: Package
Title: Model Diagnostics for Accelerated Failure Time Models
Version: 4.6.1
Date: 2026-8-30 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', 
    Journal of Statistical Software, to appear, <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
Config/roxygen2/version: 8.1.0
NeedsCompilation: yes
Packaged: 2026-08-31 23:34:19 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-09-01 00:00:03 UTC
Built: R 4.6.0; x86_64-apple-darwin20; 2026-09-01 01:14:00 UTC; unix
Archs: afttest.so.dSYM
