sltree - Structure Learning for Semiparametric/Latent Tree Models
Learns the structure of Gaussian latent tree models
(LTMs), discrete LTMs, parametric mixed LTMs, and
semiparametric tree models using information distances and a
bottom-up tree reconstruction algorithm. Gaussian models and
parametric mixed models with binary and conditionally Gaussian
variables use Pearson-correlation-based distances. Discrete
models use determinant-based distances and require the same
number of observed states across variables. Semiparametric
models accommodate continuous, binary, and ordinal variables,
with latent correlations estimated under a Gaussian copula
model using Kendall's tau and bridge functions. Utilities are
provided for data simulation, tree visualization and export,
and topology comparison using the Robinson-Foulds distance. The
semiparametric framework allowing observed internal nodes is
described in Zhou et al. (2026)
<doi:10.1016/j.artint.2026.104499>. Earlier structure-learning
methods assuming that all observed variables are leaf nodes are
described for discrete models in Wang et al. (2017)
<doi:10.4310/SII.2017.v10.n4.a11> and for parametric mixed
models in Zhou et al. (2020)
<https://jmlr.org/papers/v21/20-365.html>.