Learn R Programming

bnRep (version 0.0.3)

titanic: titanic Bayesian Network

Description

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

Arguments

Value

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

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).

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.