Related Experiment Video
Updated: May 12, 2026

A Machine Learning Approach to Design an Efficient Selective Screening of Mild Cognitive Impairment
Published on: January 11, 2020
A prediction rule for the development of delirium among patients in medical wards: Chi-Square Automatic Interaction
Daiki Kobayashi1, Osamu Takahashi, Hiroko Arioka
1Division of General Internal Medicine, Department of Medicine, St. Luke's International Hospital, Tokyo, Japan.
Objective:
To predict development of delirium among patients in medical wards by a Chi-Square Automatic Interaction Detector (CHAID) decision tree model.
Methods:
This was a retrospective cohort study of all adult patients admitted to medical wards at a large community hospital. The subject patients were randomly assigned to either a derivation or validation group (2:1) by computed random number generation. Baseline data and clinically relevant factors were collected from the electronic chart. Primary outcome was the development of delirium during hospitalization. All potential predictors were included in a forward stepwise logistic regression model. CHAID decision tree analysis was also performed to make another prediction model with the same group of patients. Receiver operating characteristic curves were drawn, and the area under the curves (AUCs) were calculated for both models. In the validation group, these receiver operating characteristic curves and AUCs were calculated based on the rules from derivation.
Results:
A total of 3,570 patients were admitted: 2,400 patients assigned to the derivation group and 1,170 to the validation group. A total of 91 and 51 patients, respectively, developed delirium. Statistically significant predictors were delirium history, age, underlying malignancy, and activities of daily living impairment in CHAID decision tree model, resulting in six distinctive groups by the level of risk. AUC was 0.82 in derivation and 0.82 in validation with CHAID model and 0.78 in derivation and 0.79 in validation with logistic model.
Conclusion:
We propose a validated CHAID decision tree prediction model to predict the development of delirium among medical patients.
Related Concept Videos
Introduction to Test of Independence
The test statistic for a test of independence is similar to that of a goodness-of-fit test:
Survival Tree
Building a Survival Tree
Constructing a survival tree begins...