Integrating Copula-Based Random Forest and Deep Learning Approaches for Analyzing Heterogeneous Treatment Effects in Survival Analysis
Abstract
1. Introduction
2. Differential Gene Expression Analysis of TCGA-BRCA Data
- A reduced gene expression matrix (samples × 6 PCs),
- A categorical variable indicating race (Black or African American vs. White),
- A binary outcome variable representing vital status.
- Convert the variable race into a factor to ensure appropriate handling in modeling.
- Encode the vital_status variable as a binary outcome (0 = alive, 1 = deceased) to facilitate survival analysis.
- Normalize and transform the gene expression matrix to a format compatible with statistical models.
3. LSTM, CNN-LSTM, and Copula-Based Random Forest
3.1. Gaussian Copula Transformation
3.2. Copula-Based Random Forest Model
3.3. LSTM and CNN-LSTM
3.4. HT and IPTW Weights in Causal Inference
3.5. Model Training and Evaluation
4. Results
- For Black or African American ():
- For White ():
5. Conclusions
Funding
Data Availability Statement
Acknowledgments
Conflicts of Interest
Appendix A. R Code
References
- Ling, Y.; Upadhyaya, P.; Chen, L.; Jiang, X.; Kim, Y. Emulate randomized clinical trials using heterogeneous treatment effect estimation for personalized treatments: Methodology review and benchmark. J. Biomed. Inform. 2023, 137, 104256. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Hu, L.; Ji, J.; Li, F. Estimating heterogeneous survival treatment effect in observational data using machine learning. Stat. Med. 2021, 40, 4691–4713. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Dimitriou, E.; Fong, E.; Diaz-Ordaz, K.; Lehmann, B. Data Fusion for Heterogeneous Treatment Effect Estimation with Multi-Task Gaussian Processes. arXiv 2024. [Google Scholar]
- Imbens, G.W.; Rubin, D.B. Causal Inference in Statistics, Social, and Biomedical Sciences; Cambridge University Press: Cambridge, UK, 2015. [Google Scholar]
- Rubin, D.B. Estimating causal effects of treatments in randomized and nonrandomized studies. J. Educ. 1974, 66, 688–701. [Google Scholar] [CrossRef] [Scilit]
- Rosenbaum, P.R.; Rubin, D.B. The Central Role of the Propensity Score in Observational Studies for Causal Effects. Biometrika 1983, 70, 41–55. [Google Scholar] [CrossRef]
- Lu, M.; Sadiq, S.; Feaster, D.J.; Ishwaran, H. Estimating individualized treatment rules with censored data. Stat. Med. 2021, 40, 2477–2493. [Google Scholar]
- Van der Laan, M.J.; Rose, S. Targeted Learning: Causal Inference for Observational and Experimental Data; Springer: New York, NY, USA, 2011. [Google Scholar]
- Athey, S.; Imbens, G.W. Recursive partitioning for heterogeneous causal effects. Proc. Natl. Acad. Sci. USA 2016, 113, 7353–7360. [Google Scholar] [CrossRef] [Scilit]
- Therneau, T.M.; Grambsch, P.M. Modeling Survival Data: Extending the Cox Model; Springer: New York, NY, USA, 2000. [Google Scholar]
- Zhao, Q.; Hastie, T.; Tibshirani, R. Efficient computation of regularization paths for generalized additive models. J. Comput. Graph. Stat. 2019, 28, 727–744. [Google Scholar]
- Wager, S.; Athey, S. Estimation and inference of heterogeneous treatment effects using random forests. J. Am. Stat. Assoc. 2018, 113, 1228–1242. [Google Scholar] [CrossRef] [Scilit]
- Katzman, J.L.; Shaham, U.; Cloninger, A.; Bates, J.; Jiang, T.; Kluger, Y. DeepSurv: Personalized treatment recommender system using a Cox proportional hazards deep neural network. BMC Med. Res. Methodol. 2018, 18, 24. [Google Scholar] [CrossRef] [Scilit]
- Wang, Y.; Xie, J.; Zhao, X. DeepSurv landmarking: A deep learning approach for dynamic survival analysis with longitudinal data. J. Stat. Comput. Simul. 2024, 95, 186–207. [Google Scholar] [CrossRef] [Scilit]
- Joe, H. Dependence Modeling with Copulas; CRC Press: Boca Raton, FL, USA, 2014. [Google Scholar]
- Nelsen, R.B. An Introduction to Copulas, 2nd ed.; Springer Science & Business Media: Berlin/Heidelberg, Germany, 2013. [Google Scholar]
- Ishwaran, H.; Kogalur, U.B.; Blackstone, E.H.; Lauer, M.S. Random survival forests. Ann. Appl. Stat. 2008, 2, 841–860. [Google Scholar] [CrossRef] [Scilit]
- Lee, C.; Zame, W.R.; Yoon, J.; van der Schaar, M. DeepHit: A deep learning approach to survival analysis with competing risks. Proc. Aaai Conf. Artif. Intell. 2018, 32, 2314–2321. [Google Scholar] [CrossRef] [Scilit]
- Harrell, F.E.; Califf, R.M.; Pryor, D.B.; Lee, K.L.; Rosati, R.A. Evaluating the yield of medical tests. JAMA 1982, 247, 2543–2546. [Google Scholar] [CrossRef]
- Imbens, G.W. Nonparametric Estimation of Average Treatment Effects Under Exogeneity: A Review. Rev. Econ. Stat. 2004, 86, 4–29. [Google Scholar] [CrossRef] [Scilit]
- Austin, P.C. An Introduction to Propensity Score Methods for Reducing the Effects of Confounding in Observational Studies. Multivar. Behav. Res. 2011, 46, 399–424. [Google Scholar] [CrossRef] [Scilit]
- Anderson, C.; Rutkowski, L. Multinomial logistic regression. In Multinomial Logistic Regression; Osborne, J., Ed.; SAGE Publications, Inc.: Thousand Oaks, CA, USA, 2008; pp. 390–409. [Google Scholar] [CrossRef] [Scilit]
- Love, M.I.; Huber, W.; Anders, S. Moderated estimation of fold change and dispersion for RNA-seq data with DESeq2. Genome Biol. 2014, 15, 550. [Google Scholar] [CrossRef] [Scilit]
- Colaprico, A.; Silva, T.C.; Olsen, C.; Garofano, L.; Cava, C.; Garolini, D.; Sabedot, T.; Malta, T.M.; Pagnotta, S.M.; Castiglioni, I.; et al. TCGAbiolinks: An R/Bioconductor package for integrative analysis of TCGA data. Nucleic Acids Res. 2015, 44, e71. [Google Scholar] [CrossRef] [Scilit]
- Silva, C.T.; Colaprico, A.; Olsen, C.; DÁngelo, F.; Bontempi, G.; Ceccarelli, M.; Noushmehr, H. TCGA Workflow: Analyze cancer genomics and epigenomics data using Bioconductor packages. F1000Research 2016, 5, 1542. [Google Scholar] [CrossRef] [Scilit]
- Mounir, M.; Lucchetta, M.; Silva, C.T.; Olsen, C.; Bontempi, G.; Chen, X.; Noushmehr, H.; Colaprico, A.; Papaleo, E. New functionalities in the TCGAbiolinks package for the study and integration of cancer data from GDC and GTEx. PLoS Comput. Biol. 2019, 15, e1006701. [Google Scholar] [CrossRef] [Scilit]
- Sklar, A. Fonctions de répartition à n dimensions et leurs marges. Publ. L’Institut Stat. L’UniversitÉ Paris 1959, 8, 229–231. [Google Scholar]
- Joe, H. Multivariate Models and Dependence Concepts; CRC Press: Boca Raton, FL, USA, 1997. [Google Scholar]
- Laan, M.J.; Robins, J.M. Unified Methods for Censored Longitudinal Data and Causality; Springer: New York, NY, USA, 2003. [Google Scholar]
- Pouliasis, G.; Torres-Alves, G.A.; Morales-Napoles, O. Stochastic Modeling of Hydroclimatic Processes Using Vine Copulas. Water 2021, 13, 2156. [Google Scholar] [CrossRef] [Scilit]
- Breiman, L. Random Forests. Mach. Learn. 2001, 45, 5–32. [Google Scholar] [CrossRef] [Scilit]



| Race | Alive | Dead | Total |
|---|---|---|---|
| Black or African American | 159 | 32 | 191 |
| White | 721 | 159 | 880 |
| Total | 880 | 191 | 1071 |
| Race | HT Weight |
|---|---|
| Black or African American | 5.605 |
| White | 1.217 |
| Race | Outcome | Probability | IPTW |
|---|---|---|---|
| Black or African American | Alive | 0.1807 | 5.53 |
| Black or African American | Dead | 0.1675 | 5.97 |
| White | Alive | 0.8193 | 1.22 |
| White | Dead | 0.8325 | 1.20 |
| Model | Race | RMSE | MAE | C_Statistic | ATE | CATE | Weighting |
|---|---|---|---|---|---|---|---|
| CNN-LSTM | Black or African American | 0.2991 | 0.2147 | 0.8890 | 1.1980 | 1.2080 | No Weights |
| CNN-LSTM | White | 0.2991 | 0.2147 | 0.8890 | 1.2073 | 1.2011 | No Weights |
| CBRF | Black or African American | 0.5037 | 0.4913 | 0.5042 | 1.4638 | 1.4883 | No Weights |
| CBRF | White | 0.5037 | 0.4913 | 0.5042 | 1.4924 | 1.4891 | No Weights |
| LSTM | Black or African American | 0.3112 | 0.2330 | 0.8853 | 1.2204 | 1.2142 | No Weights |
| LSTM | White | 0.3112 | 0.2330 | 0.8853 | 1.2109 | 1.2014 | No Weights |
| CNN-LSTM | Black or African American | 0.2916 | 0.2047 | 0.8893 | 1.2035 | 1.1624 | HW Weights |
| CNN-LSTM | White | 0.2916 | 0.2047 | 0.8893 | 1.1889 | 1.2116 | HW Weights |
| CBRF | Black or African American | 0.4829 | 0.4714 | 0.5140 | 1.4366 | 1.4527 | HW Weights |
| CBRF | White | 0.4829 | 0.4714 | 0.5140 | 1.4813 | 1.5294 | HW Weights |
| LSTM | Black or African American | 0.3041 | 0.2036 | 0.8706 | 1.1325 | 1.1569 | HW Weights |
| LSTM | White | 0.3041 | 0.2036 | 0.8706 | 1.1676 | 1.2120 | HW Weights |
| CNN-LSTM | Black or African American | 0.2604 | 0.1745 | 0.8944 | 1.0971 | 1.1325 | IPTW Weights |
| CNN-LSTM | White | 0.2604 | 0.1745 | 0.8944 | 1.1485 | 1.1079 | IPTW Weights |
| CBRF | Black or African American | 0.4972 | 0.4889 | 0.4885 | 1.4748 | 1.4816 | IPTW Weights |
| CBRF | White | 0.4972 | 0.4889 | 0.4885 | 1.4978 | 1.4855 | IPTW Weights |
| LSTM | Black or African American | 0.2751 | 0.1894 | 0.8748 | 1.1214 | 1.1558 | IPTW Weights |
| LSTM | White | 0.2751 | 0.1894 | 0.8748 | 1.1802 | 1.1479 | IPTW Weights |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the author. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Kim, J.-M. Integrating Copula-Based Random Forest and Deep Learning Approaches for Analyzing Heterogeneous Treatment Effects in Survival Analysis. Mathematics 2025, 13, 1659. https://doi.org/10.3390/math13101659
Kim J-M. Integrating Copula-Based Random Forest and Deep Learning Approaches for Analyzing Heterogeneous Treatment Effects in Survival Analysis. Mathematics. 2025; 13(10):1659. https://doi.org/10.3390/math13101659
Chicago/Turabian StyleKim, Jong-Min. 2025. "Integrating Copula-Based Random Forest and Deep Learning Approaches for Analyzing Heterogeneous Treatment Effects in Survival Analysis" Mathematics 13, no. 10: 1659. https://doi.org/10.3390/math13101659
APA StyleKim, J.-M. (2025). Integrating Copula-Based Random Forest and Deep Learning Approaches for Analyzing Heterogeneous Treatment Effects in Survival Analysis. Mathematics, 13(10), 1659. https://doi.org/10.3390/math13101659
