您当前位置:2021欧洲杯买球 > 2021欧洲杯买球手机版 > 正文

如何在Stata中安装meta命令菜单?

时间:2021-07-09  来源:未知   作者:admin

首先打开Stata, 在命令窗口中输入:ssc install metadialog.pkg

然后将一下内容复制一个新的profile.do文件:

version 7

if _caller() >= 8 {

window menu clear

window menu append submenu "stUser" "&Meta-Analysis"

window menu append item "Meta-Analysis" "Of Binary and Continuous (meta&n)" "db metan"

window menu append item "Meta-Analysis" "Of Effects (&meta)" "db meta"

window menu append item "Meta-Analysis" "Of p-values (meta&p)" "db metap"

window menu append item "Meta-Analysis" "Cumulative (meta&cum)" "db metacum"

window menu append item "Meta-Analysis" "Regression (meta?)" "db metareg"

window menu append item "Meta-Analysis" "Funnel Graph, metan-based (f&unnel)" "db funnel"

window menu append item "Meta-Analysis" "Funnel Graph, &vertical (metafunnel)" "db metafunnel"

window menu append item "Meta-Analysis" "L'abbe Graph, metan-based (&labbe)" "db labbe"

window menu append item "Meta-Analysis" "NNT, metan-based (metann&t)" "db metannt"

window menu append item "Meta-Analysis" "Influence Analysis, metan-based (metan&inf)" "db metaninf"

window menu append item "Meta-Analysis" "Influence Analysis, meta-based (metain&f)" "db metainf"

window menu append item "Meta-Analysis" "Galbraith Plot for Heterogeneity (&galbr)" "db galbr"

window menu append item "Meta-Analysis" "Publication Bias (meta&bias)" "db metabias"

window menu append item "Meta-Analysis" "Trim and Fill Analysis (met&atrim)" "db metatrim"

window menu refresh}

如何建立profile.do?如下图:

图片

图片

然后文件命名为profile.do,放到C盘的ado文件夹中。

图片

最后重新打开Stata就可以找到菜单了。

图片

分享结束

Powered by 2021欧洲杯买球 @2018 RSS地图 HTML地图