I developed an iterative loop to calculate Metaan for a total of 39 studies. I have been trying to export Metaan results (scalars) to excel sheet using and modifying the following code. I am only able to export the very last result and not all the results in the same column. Is there a way I can modify the code to get the result I want?
putexcel set testing.xls, modify
forvalues i = 1/40 {
display `i'
metaan ES SE if Study <`i', dl
return list
putexcel (B2) = rscalars
}
Related Posts with Exporting iterative Metaan results to excel
do file editing - period appears after double spaceHello Stata Folk When I enter two spaces in the do file editor (i.e. press the space bar twice) the…
Average marginal effect & Marginal effects at the averagesEstimating a logistic regression, estimating the effect of X on Dummy. Controlling for C1 and C2. (c…
GEE coefficientsDear STATALIST, I am running a Generalized Estimating Equation in STATA with link(log) corr(indepen…
Moderator with control variableArray How should I interpret the X, the moderator and control variable? I know the effect of X is i…
Graphical representation - plotting (moderation)When plotting predicted values of Y across the range of X and with the moderator. (At 5th percentile…
Subscribe to:
Post Comments (Atom)
0 Response to Exporting iterative Metaan results to excel
Post a Comment