use http://fmwww.bc.edu/repec/bocode/m/metan_example_data.dta, clear
gen logOR = log((tdeath*cnodeath)/(tnodeath*cdeath))
gen selogOR = sqrt((1/tdeath) + (1/tnodeath) + (1/cdeath) + (1/cnodeath))(Example dataset for meta-analyses, Ross Harris 2006)
The following examples use the example dataset accompanying metan.
(Example dataset for meta-analyses, Ross Harris 2006)