STATA之—安装meta分析模块
     2018-7-14    +0°    61  

首先加载META模块:

运行Stata

在command窗口输入

net from http://www.stata-press.com/data/mais
net install mais
spinst_mais

然后回车,完成准备工作。

1、安装“meta_dialog”模块

在帮助search中输入“meta_dialog”,在搜索结果中点击SJ-4-2 pr0012 . . . . install

2、生成profiledo文件

命令行输入help meta dialog弹出页面中有如下代码

windowns-Do-file Editor-输入如下命令:

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
}

另存为pfofile.do文件,拷贝文件到C:\ado\plus\

mac版是拷贝到...\ado\base中

也可以直接下载profile.do文件,直接复制到目录C:\ado\plus或mac版的...\ado\base中即可。

  网盘云盘下载

pfofile.do | 密码: kd4

3、重新启动软件就成功了!!!

STATA之---安装meta分析模块