Statalist The Stata Listserver

[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: Bootstrapping metan for odds ratios

From   "Palmer, T.M." <>
To   <>
Subject   st: Bootstrapping metan for odds ratios
Date   Wed, 15 Mar 2006 09:36:24 -0000

Dear Statalist,

I have noticed that when attempting to bootstrap the metan (version
1.86) user command with the "or" odds ratio option the following error
message is returned. 

option or not allowed

This does not happen for either the "rr" or "rd" metan options whose
returned statistics can be bootstrapped. The bootstrap command appears
to interpret the "or" as a logical or operator (which can be denoted by

To bootstrap metan with the "or" option I have placed it within a

program callmetan 
metan cases_treated notcase_treated cases_control notcase_control, ///
	label(namevar=id) randomi nograph or

It is then possible to use the program with the bootstrap command.

bootstrap ES=r(ES) tau2=r(tau2), reps(100): callmetan

Thanks to Dr. Alex Sutton for assistance with this problem.

Best regards,

Tom Palmer

PhD student,
Dept. of Health Sciences,
University of Leicester

*   For searches and help try:

© Copyright 1996–2022 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index