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)
Finding the totals of string variablesHi everyone, I have this dataset that i need to calculate the totals for each program. So, for exam…
Differences in correlation coefficients produced by corr and regFor certain variables, corr and reg produce different correlation coefficients that cannot be explai…
Model Validation Using StataHi all, I have a question about how to do model validation using Stata. I used a training dataset …
eventstudy2: why my command neglects results of Mondays?Hello everyone I am using the powerful command, eventstudy2 (Thomas Kaspereit, 2020) for a global e…
Two-way graph for panel dataDear, I want to plot a variable in panel data. Below is an example of my data. Code: year provinc…
Subscribe to:
Post Comments (Atom)
0 Response to Saving coefficients from meta regression as variable (ROBUMETA)
Post a Comment