1.在stata中找到:帮助——搜索——输入meta_dialog——确定
2.选择proof12
3.点击安装
4.创建profile.do文件
ctrl+9创建do文件——将下面的代码复制到文件中——重命名为profile.do保存在C:\ado\plus下
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
}
5.在stata的命令窗口输入以下代码
run C:\ado\plus\profile.do
6.meta分析模块安装完毕
记录学习过程中的解决方案,希望对大家有所帮助!嘻嘻