Statalist The Stata Listserver


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

Re: st: lincom post-estimation using svr commands in Stata8


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   statalist@hsphsun2.harvard.edu
Subject   Re: st: lincom post-estimation using svr commands in Stata8
Date   Thu, 8 Jun 2006 07:04:54 +0100 (BST)

--- David Thomas <David.Thomas@menzies.edu.au> 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/



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