--- David Thomas <[email protected]> wrote:
> I am using data from the Australian Bureau of Statistics with
> replicate weights. I have built a logistic regression model which
> includes a couple of interaction terms <snip>. I would like to
> calculate ORs with confidence intervals for the different age groups
> vs reference category for the variables with significant
interactions.
> I tried using -lincom- <snip> But was left with the error message:
> unrecognized command: svysvrmodel <snip> I could calculate the ORs
> manually, but would have trouble with calculating the CIs that way.
You could try -nlcom- like the example below:
*------------begin example-------------
sysuse auto, clear
recode rep78 1=3 2=3
xi: logit foreign i.rep78*mpg, or
nlcom (mpg4: exp(_b[mpg] + _b[_IrepXmpg_4])) /*
*/ (mpg5: exp(_b[mpg] + _b[_IrepXmpg_5]))
*------------end example----------------
HTH,
Maarten
-----------------------------------------
Maarten L. Buis
Department of Social Research Methodology
Vrije Universiteit Amsterdam
Boelelaan 1081
1081 HV Amsterdam
The Netherlands
visiting adress:
Buitenveldertselaan 3 (Metropolitan), room Z214
+31 20 5986715
http://home.fsw.vu.nl/m.buis/
-----------------------------------------
Send instant messages to your online friends http://uk.messenger.yahoo.com
*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/