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) . Earlier structure-learning methods assuming that all observed variables are leaf nodes are described for discrete models in Wang et al. (2017) and for parametric mixed models in Zhou et al. (2020) < https://jmlr.org/papers/v21/20-365.html>.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("sltree")

0.1.1 by Can Zhou, 6 hours ago


Browse source code at https://github.com/cran/sltree


Authors: Can Zhou [aut, cre] , Shuai Wang [aut] , Xiaofei Wang [aut] , Jianhua Guo [aut] , Key Program of the National Natural Science Foundation of China [fnd] (Grant No. 12431009) , National Natural Science Foundation of China [fnd] (Grant No. 12171076 , 12226003 , 12601508) , National Key Research and Development Program of China [fnd] (Grant No. 2020YFA0714100) , Basic Research Program of Jiangsu [fnd] (Grant No. BK20230439) , Alan Genz [ctb, cph] (TVPACK BVND) , R Core Team [cph] (Brent_fmin) , Mingze Huang [ctb, cph] (latentcor) , Grace Yoon [ctb, cph] (latentcor) , Christian Müller [ctb, cph] (latentcor) , Irina Gaynanova [ctb, cph] (latentcor)


Documentation:   PDF Manual  


GPL-3 license


Imports utils, stats, methods, grDevices, graphics, igraph, mvtnorm, pcaPP, Rcpp

Suggests Matrix, pcalg, graph, visNetwork, testthat, knitr, rmarkdown

Linking to Rcpp


See at CRAN