titanic: titanic Bayesian Network

titanicR Documentation

titanic Bayesian Network

Description

The R Package stagedtrees for Structural Learning of Stratified Staged Trees.

Format

A discrete Bayesian network modeling the survival of the Titanic passengers. The Bayesian network was learned as in the referenced paper. The vertices are:

Class

(1st, 2nd, 3rd, Crew);

Sex

(Male, Female);

Age

(Child, Adult);

Survived

(No, Yes).

Value

An object of class bn.fit. Refer to the documentation of bnlearn for details.

References

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.


bnRep documentation built on April 12, 2025, 1:13 a.m.