Hello,
The following command extracts a corr coefficient and p-value from a
custom meta-analysis regression. I cannot get the variable names (or
labels) to display for each row. Could someone suggest a solution?
Thanks,
Wendy
~~~~~~~~~~~~~~~~~~
/* start */
local i 0
foreach v of varlist s_Sex s_Age s_Race s_PriorASB s_OtherRisk s_ES {
qui metaregW2 es_adj `v' [w=weight] , model(ml)
local i = `i' + 1
if `i' == 1 {
di ""
di " Coeff p-value"
}
di "`rl'" %9.3f r(corr) %9.3f r(pr) `i'
}
/* stop */
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/