Learn R Programming

BNDataGenerator (version 1.0)

gen_asia: Asia (synthetic) data based on a model set by Lauritzen and Spiegelhalter

Description

Small synthetic data set from Lauritzen and Spiegelhalter (1988) about lung diseases (tuberculosis, lung cancer or bronchitis) and visits to Asia.

Usage

gen_asia()

Arguments

Value

D (dyspnoea)
A two-level factor with levels yes and no.
T (tuberculosis)
A two-level factor with levels yes and no.
L (lung cancer)
A two-level factor with levels yes and no.
B (bronchitis)
A two-level factor with levels yes and no.
A (visit to Asia)
A two-level factor with levels yes and no.
S (smoking)
A two-level factor with levels yes and no.
X (chest X-ray)
A two-level factor with levels yes and no.
E (tuberculosis versus lung cancer/bronchitis)
A two-level factor with levels yes and no.

References

Lauritzen S, Spiegelhalter D (1988). "Local Computation with Probabilities on Graphical Structures and their Application to Expert Systems (with discussion)". Journal of the Royal Statistical Society: Series B (Statistical Methodology), 50(2), 157-224.

See Also

See demo(asia).