Dear All,
May I please ask for your help with the following problem: I am running meta-regression analyses using robumeta (robust variance estimation meta-analysis package).
In order to control for large effect sizes, I would like to use the leave-one-out method. This means: I always drop one study from the analyses and then compare the average effect sizes of each analysis against each other.
My code generally runs fine.
However, I would really appreciate some help from much more advanced STATA users with the following:
1. Save the coefficients from each meta-analysis as a variable or in a matrix. This will be helpful to plot all coefficients from each meta-analysis and see if there are any outliers that drive the effect,
and
2. it would be super helpful to know which study was taken out, hence, which drove the effects. Is it possible to display the author or study id somehow?
This is my code:
foreach num of numlist 1/60 {
robumeta cohensd if studyid!=`num', variance(cohensd_var) study(studyid) weighttype(random) rho(0.8)
dis e(QE)
}
All the best,
Sophia
PS: This is the overall code but probably not needed to answer my question!
drop if not_ma==1
preserve
drop if post_int_categorical==2 | post_int_categorical==3
drop if harshmalspectrum_stricter==0
tab post_int_categorical
foreach num of numlist 1/60 {
dis "These are the main effect analyses for `var'"
robumeta cohensd if studyid!=`num', variance(cohensd_var) study(studyid) weighttype(random) rho(0.8)
dis e(QE)
}
restore
Related Posts with Saving coefficients from meta regression as variable (ROBUMETA)
Creating new variables repeatedlyDear Statalisters, I have 1696 variables for which there daily values available for a period of 16 …
basis of calculation increase progressivelyDear Stata users, I want to forecast demand of labor from 2019 to 2050. The basic formula is Et = E…
How to find a Conditional Greatest Date based on a subject identifier?Hello Forum Members, I hope you can help with this conditional date finding problem. I have a datab…
Dynamic panel quantile regression with fixed effectsHi all, I am studying the impact of quality of institutions on carbon emissions. I would like to kn…
Problem frames: use identical variables with different observations of two framesHello everyone I'm trying to calculate the average price-to-book ratio of dividend-paying companies…
Subscribe to:
Post Comments (Atom)
0 Response to Saving coefficients from meta regression as variable (ROBUMETA)
Post a Comment