When conducting prospective research, it has been suggested the RR is a
better estimator than OR (Zou, Am J Epidemiol 2004;159:702-706). Can ReLogit
be adapted to accommodate this specification?
Thank you,
Mark
Mark E. Boye MBA, MPH, Ph.D.
Sr. Outcomes Research Scientist
WW Outcomes Research
Midwest/Ann Arbor Development Site
Pfizer Inc
1600/200/2101
2800 Plymouth Road
Ann Arbor, MI 48105-2430
Tel: 734-622-4856
Fax: 734-622-2055
E-mail: mark.boye(a)pfizer.com
----------------------------------------------------------------------
LEGAL NOTICE
Unless expressly stated otherwise, this message is confidential and may be privileged. It is intended for the addressee(s) only. Access to this E-mail by anyone else is unauthorized. If you are not an addressee, any disclosure or copying of the contents of this E-mail or any action taken (or not taken) in reliance on it is unauthorized and may be unlawful. If you are not an addressee, please inform the sender immediately.
I am a relatively new R user and am trying to get Zelig up and running. When running the sample code from the documentation, I receive an error when I the sim function is read:
> data(turnout)
> z.out <- zelig(vote ~ race + age, model = "logit", data = turnout)
> x.out <- setx(z.out, race = "white")
> s.out <- sim(z.out, x = x.out)
Error in sim(z.out, x = x.out) : unused argument(s) (x ...)
> traceback()
1: sim(z.out, x = x.out)
I should also note that I receive the following message after loading the Zelig package, but I don't know if it has anything to do with this error:
Attaching package: 'Zelig'
The following object(s) are masked _by_ .GlobalEnv :
sim
Any assistance would be greatly appreciated.
Thanks,
Brian