| 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.
asiaRecent visit to Asia?; a factor with levels yes no
tubHas tuberculosis?; a factor with levels yes no
smokeIs a smoker?; a factor with levels yes no
lungHas lung cancer?; a factor with levels yes no
broncHas bronchitis?; a factor with levels yes no
eitherEither lung cancer or tuberculosis?; a factor with levels yes no
xrayPositive x-ray? a factor with levels yes no
dyspDyspnoea (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.