Package: tram 1.4-7

Torsten Hothorn

tram: Transformation Models

Formula-based user-interfaces to specific transformation models implemented in package 'mlt' (<doi:10.32614/CRAN.package.mlt>, <doi:10.32614/CRAN.package.mlt.docreg>). Available models include Cox models, some parametric survival models (Weibull, etc.), models for ordered categorical variables, normal and non-normal (Box-Cox type) linear models, and continuous outcome logistic regression (Lohse et al., 2017, <doi:10.12688/f1000research.12934.1>). The underlying theory is described in Hothorn et al. (2018) <doi:10.1111/sjos.12291>. An extension to transformation models for clustered data is provided (Barbanti and Hothorn, 2022, <doi:10.1093/biostatistics/kxac048>) and a tutorial explains applications in survival analysis (Siegfried et al., 2025, <doi:10.48550/arXiv.2402.06428>). Multivariate conditional transformation models (Klein et al, 2022, <doi:10.1111/sjos.12501>) and shift-scale transformation models (Siegfried et al, 2023, <doi:10.1080/00031305.2023.2203177>) can be fitted as well. The package contains an implementation of a doubly robust score test, described in Kook et al. (2024, <doi:10.1080/01621459.2024.2395588>).

Authors:Torsten Hothorn [aut, cre], Luisa Barbanti [ctb], Sandra Siegfried [aut], Lucas Kook [aut], Susanne Dandl [ctb], Brian Ripley [ctb], Bill Venables [ctb], Douglas M. Bates [ctb], Nadja Klein [ctb]

tram_1.4-7.tar.gz
tram_1.4-7.zip(r-4.7-any)tram_1.4-7.zip(r-4.6-any)tram_1.4-7.zip(r-4.5-any)
tram_1.4-7.tgz(r-4.6-any)tram_1.4-7.tgz(r-4.5-any)
tram_1.4-7.tar.gz(r-4.7-any)tram_1.4-7.tar.gz(r-4.6-any)
tram_1.4-7.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
tram/json (API)

# Install 'tram' in R:
install.packages('tram', repos = c('https://trafo-universe.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://codeberg.org/thothorn/tram

On CRAN:

Conda:

8.40 score 6 packages 203 scripts 5.9k downloads 1 mentions 21 exports 30 dependencies

Last updated from:b2a93f4b51. Checks:9 OK. Indexed: no.

TargetResultTimeFilesSyslog
linux-develOK429
source / vignettesOK785
linux-releaseOK415
macos-releaseOK292
macos-oldrelOK327
windows-develOK349
windows-releaseOK347
windows-oldrelOK337
wasm-releaseOK166

Exports:AaregBoxCoxColrComprisCoxphL1LehmannLmMmltmtramOVLperm_testPIPolrrobust_score_testROCscore_testSurvregtramtram_dataTV

Dependencies:alabamabasefunBBcodacodetoolsconeprojforeachFormulaicenRegiteratorslatticeMASSMatrixMLEcensmltmultcompmvtnormnloptrnumDerivorthopolynompolynomquadprogRcppRcppArmadilloRcppEigensandwichsurvivalTH.datavariableszoo

Applications of Nonparanormal Adjusted Marginal Inference
Introduction | Continuous outcome: Immunotoxicity study on Chloramine | Binary outcome: Efficacy study of new chemotherapy | Survival outcome: Longevity study of male fruit flies | Meta-analysis: Efficacy study of Enoxaparin | Conclusion

Last update: 2026-10-13
Started: 2025-06-05

Marginally Interpretable Linear Transformation Models
Introduction | Normal and Non-normal Mixed-effects Models | Models for Binary Outcomes | Proportional Odds Models for Bounded Responses | Marginally Interpretable Weibull and Cox Models | Simulations | Change Log

Last update: 2026-09-29
Started: 2019-09-19

Transformation Models: The tram Package
Introduction | Normal Linear Regression Models | Box-Cox Models | Continuous Outcome Logistic Regression | Connection to Quantile Regression | Survival Analysis | Ordinal Regression | Transformation Trees and Forests | Summary

Last update: 2026-07-17
Started: 2017-12-17

Smooth Transformation Models for Survival Analysis: A Tutorial Using R
Introduction | Application | Independent observations | Dependent censoring | Dependent observations | Personalised medicine | Other extensions | Discussion | Comparative overview of R implementations

Last update: 2026-06-24
Started: 2025-09-17

Readme and manuals

Help Manual

Help pageTopics
Aalen Additive Hazards ModelAareg
(Similar to) Box-Cox ModelsBoxCox
Continuous Outcome Logistic RegressionColr
Competing Risk RegressionCompris
Cox Proportional Hazards ModelCoxph
Proportional Reverse Time Hazards Linear RegressionLehmann
Normal Linear ModelLm
Multivariate Conditional Transformation ModelsMmlt
Transformation Models for Clustered Datamtram
Permutation Transformation Testsperm_test perm_test.tram
Ordered Categorical RegressionPolr
Doubly Robust Transformation Score Testrobust_score_test robust_score_test.tram
Transformation Score Tests and Confidence Intervalsscore_test score_test.tram
Parametric Survival ModelsSurvreg
Stratified Linear Transformation Modelstram tram_data
Methods for Stratified Linear Transformation Modelsas.mlt.tram coef.Lm coef.Survreg coef.tram estfun.tram L1 L1.default L1.tram logLik.tram model.frame.tram model.matrix.stram model.matrix.tram OVL OVL.default OVL.tram PI PI.default PI.tram plot.ROCtram plot.tram predict.stram predict.tram residuals.tram ROC ROC.default ROC.tram TV TV.default TV.tram vcov.tram