data-chestSim | R Documentation |
Simulated data from the Chest Clinic example (also known as the Asia example) from Lauritzen and Spiegelhalter, 1988 (see reference below).
data(chestSim500)
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
Notice that the chest clinic example is a contrieved example; it does not originate from an empirical study.
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.
data(chestSim500)
## maybe str(chestSim500) ; plot(chestSim500) ...
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.