Weighted Sum-of-Trees Model for Clustered Data

Kevin McCoy, Zachary Wooten, Katarzyna Tomczak, Christine B. Peterson
2/3/2026
stat.MEcs.LG

No confident code implementation found for this paper.

Abstract

Clustered data, which arise when observations are nested within groups, are incredibly common in clinical, education, and social science research. Traditionally, a linear mixed model, which includes random effects to account for within-group correlation, would be used to model the observed data and make new predictions on unseen data.

Show full abstract

Some work has been done to extend the mixed model approach beyond linear regression into more complex and non-parametric models, such as decision trees and random forests. However, existing methods are limited to using the global fixed effects for prediction on data from out-of-sample groups, effectively assuming that all clusters share a common outcome model. We propose a lightweight sum-of-trees model in which we learn a decision tree for each sample group. We combine the predictions from these trees using weights so that out-of-sample group predictions are more closely aligned with the most similar groups in the training data. This strategy also allows for inference on the similarity across groups in the outcome prediction model, as the unique tree structures and variable importances for each group can be directly compared. We show our model outperforms traditional decision trees and random forests in a variety of simulation settings. Finally, we showcase our method on real-world data from the sarcoma cohort of The Cancer Genome Atlas, where patient samples are grouped by sarcoma subtype.

View on arXivView PDF

Code Implementations

No confident code match yet

We couldn't find an author-owned or strongly-evidenced community implementation for this paper. Any repos shown below are weak matches — verify before relying on them.

No code implementations found yet.

Know of an implementation? Let us know in the comments below!

Similar Papers

Cite this paper

@article{mccoy2026weighted,
  title  = {Weighted Sum-of-Trees Model for Clustered Data},
  author = {Kevin McCoy and Zachary Wooten and Katarzyna Tomczak and Christine B. Peterson},
  year   = {2026},
  eprint = {2602.02931},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2602.02931v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2602.02931.svg)](https://codeofpaper.com/paper/2602.02931)

Discussion