INS and diabetes mellitus: Logistic regression analysis using only DM subjects showed that a history of metformin use reduced the risk of delirium in patients with DM (OR = 0.50, 95% CI: 0.32–0.79, p = 0.003) even after controlling for age, sex, dementia status, BMI, and history of insulin use (Table 2).