Stata如何绘制列线图?

列线图(Alignment Diagram),又称诺莫图(Nomogram图),它是建立在多因素回归分析的基础上,将多个预测指标进行整合,然后采用带有刻度的线段,按照一定的比例绘制在同一平面上,从而用以表达预测模型中各个变量之间的相互关系。

安装Stata社区命令nomolog,Stata代码如下:


net describe st0391_1, from(http://www.stata-journal.com/software/sj15-3)
net install st0391_1.pkg
net get st0391_1.pkg

生成列线图,Stata代码如下:


use nomolog_ex.dta
logit outcome age transfusions
nomolog, title("Changed variable ranges") vli1(age,10,80,10,0) vli2(transfusions,0,60,10,0)

参考文献:
Nomograms in Stata
http://www.zlotnik.net/stata/nomograms/
A general-purpose nomogram generator for predictive logistic regression models
https://journals.sagepub.com/doi/pdf/10.1177/1536867X1501500212