Welcome!
This application is designed to help you understand transformation models as defined by
Hothorn, Möst & Bühlmann, 2018.
The purpose of a transformation model is to predict the distribution of a response \(Y\).
Increasingly complex transformation models for a continuous response are presented on their respective page:
- The unconditional case, where the distribution of \(Y\) is modeled without involving any predictor.
- The linear case, where predictors \(X\) are introduced in the model as a linear shift term with a fixed effect.
- The stratified linear case, where each stratum gets a different transformation but the regession coefficients of the shift term stay the same.
- The conditional case, where the distribution of \(Y\) is modeled fully interacting with \(X\). The predictors no longer have a fixed effect, but rather an effect that can vary depending on the response.
Additionaly, transformation models for other types of response variables are presented:
- Categorical response variable (unconditional case).
- Count response variable.
Features
I recommend opening the application in full-screen.
On each model's page, a transformation model is fitted to a pre-loaded dataset. You can display the dataset and information about it at the bottom of the page.
In the left-side menu, the model status displays the current parameters. Below, you can change some parameters of the model, which is instantly fitted again. This might take a few seconds.
In the centre of the page, a summary of the currently fitted model and several plots are shown. The plots are updated at the same time as the model.
On the last page, you can build a transformation model adapted to your specific needs. Describe your data, and obtain R code ready to be copied into your environment. This feature is limited at the moment.
Acknowledgements
This application was created as a Master Thesis project in Applied Information and Data Science at Lucerne University of Applied Sciences and Arts.
I would like to express my sincere gratitude to the people who contributed to its developement:
- Dr. Luisa Barbanti for her kind and insightful guidance throughout this project.
- Nisia Trisconi for co-supervising the thesis and testing the application.
- Dr. Torsten Hothorn for providing ideas of what to implement in the application, and testing it.
- Dr. Sandra Siegfried for testing the application.
- Dr. Balint Tamasi for testing the application.
- Dr. Lucas Kook for providing the code of the categorical plots originally found in Kook et al., 2020.
Copyrights and Reproducibility
This work is licensed under CC BY-NC-SA 4.0
Main packages versions:
- mlt (T. Hothorn, 2025): 1.7-1
- tram (T. Hothorn, L. Barbanti, S. Siegfried, L. Kook, 2025): 1.2-5
- cotram (S. Siegfried, L. Barbanti, T. Hothorn, 2025): 0.5-3
- shiny (W. Chang, J. Cheng, JJ. Allaire, C. Sievert, B. Schloerke, G. Aden-Buie, Y. Xie, J. Allen, J. McPherson, A. Dipert, B.Borges, 2025): 1.11.1
- ggplot2 (H. Wickham, W. Chang, L. Henry, T. Pedersen, K. Takahashi, C. Wilke, K. Woo, H. Yutani, D. Dunnington, T. van den Brand, 2025): 4.0.0
GitHub directory: https://github.com/jugwen/interactive-transformation-models
Contact: Gwen Junod - gwen.junod@gmail.com