* Stata
logit y x1 x2, or               // 二元 logistic，报告 OR
estat gof, group(10)            // Hosmer-Lemeshow 校准检验
lroc                            // ROC 曲线与 AUC

## R
fit <- glm(y ~ x1 + x2, data = df, family = binomial)
exp(cbind(OR = coef(fit), confint(fit)))   // OR 与 95% CI
summary(fit)