The R Package stagedtrees for Structural Learning of Stratified Staged Trees.
An object of class bn.fit
. Refer to the documentation of bnlearn
for details.
A discrete Bayesian network modeling the survival of the Titanic passengers. The Bayesian network was learned as in the referenced paper. The vertices are:
(1st, 2nd, 3rd, Crew);
(Male, Female);
(Child, Adult);
(No, Yes).
Carli, F., Leonelli, M., Riccomagno, E., & Varando, G. (2022). The R Package stagedtrees for Structural Learning of Stratified Staged Trees. Journal of Statistical Software, 102, 1-30.