第1个回答 2017-08-02
在stata安装目录中添加文件profile.do,其内容如下:
if _caller() >= 8 {
window menu clear
window menu append submenu "stUser" "Meta-Analysis"
window menu append item "Meta-Analysis" "Of Binary and Continuous (metan)" "db metan"
window menu append item "Meta-Analysis" "Of Effects (meta)" "db meta"
window menu append item "Meta-Analysis" "Of p-values (metap)" "db metap"
window menu append item "Meta-Analysis" "Cumulative (metacum)" "db metacum"
window menu append item "Meta-Analysis" "Regression (metareg)" "db metareg"
window menu append item "Meta-Analysis" "Funnel Graph, metan-based (funnel)" "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 (metannt)" "db metannt"
window menu append item "Meta-Analysis" "Influence Analysis, metan-based (metaninf)" "db metaninf"
window menu append item "Meta-Analysis" "Influence Analysis, meta-based (metainf)" "db metainf"
window menu append item "Meta-Analysis" "Galbraith Plot for Heterogeneity (galbr)" "db galbr"
window menu append item "Meta-Analysis" "Publication Bias (metabias)" "db metabias"
window menu append item "Meta-Analysis" "Trim and Fill Analysis (metatrim)" "db metatrim"
window menu refresh
}
这样在user中就会出现meta analysis这个文件夹,
不过相应的meta模块需要安装,比如meta,metan,metareg等等(方法:ssc install meta),
要使得这些按钮最后能使用,得安装一个模块,即metadialog,
方法:ssc install metadialog