data-chestSim: Simulated data from the Chest Clinic example

data-chestSimR Documentation

Simulated data from the Chest Clinic example

Description

Simulated data from the Chest Clinic example (also known as the Asia example) from Lauritzen and Spiegelhalter, 1988 (see reference below).

Usage

data(chestSim500)

Format

A data frame with 500 observations on the following 8 variables.

asia

Recent visit to Asia?; a factor with levels yes no

tub

Has tuberculosis?; a factor with levels yes no

smoke

Is a smoker?; a factor with levels yes no

lung

Has lung cancer?; a factor with levels yes no

bronc

Has bronchitis?; a factor with levels yes no

either

Either lung cancer or tuberculosis?; a factor with levels yes no

xray

Positive x-ray? a factor with levels yes no

dysp

Dyspnoea (shortness of breath)?; a factor with levels yes no

Details

Notice that the chest clinic example is a contrieved example; it does not originate from an empirical study.

References

Lauritzen and Spiegelhalter (1988) Local Computations with Probabilities on Graphical Structures and their Application to Expert Systems (with Discussion). J. Roy. Stat. Soc. 50, p. 157-224.

Examples


data(chestSim500)
## maybe str(chestSim500) ; plot(chestSim500) ...


hojsgaard/gRbase documentation built on Jan. 10, 2024, 9:40 p.m.