Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

Re: st: interaction


From   Ricardo Ovaldia <[email protected]>
To   [email protected]
Subject   Re: st: interaction
Date   Wed, 28 Sep 2005 12:01:42 -0700 (PDT)

Thank you.

--- maartenbuis <[email protected]> wrote:

> --- Ricardo Ovaldia <ovaldia@y...> wrote:
> > I remember seen something on statalist or SJ about
> > getting a single test statistic or p-value for the
> > interaction term when the variables involved have
> many
> > levels (for example: continuous*categorical). I
> have
> > looked for it but can not findit. Does anyone
> recall
> > this?
> 
> I don't recall that discussion but try:
> 
> sysuse auto
> xi: reg price i.rep78*mpg
> test  _IrepXmpg_2  _IrepXmpg_3  _IrepXmpg_4
> _IrepXmpg_5
> 
> which test the hypothesis that all interaction terms
> are simultaniously 
> equal to zero
> 
> Hope this helps,
> Maarten
> 
> 
> *
> *   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/
> 


Ricardo Ovaldia, MS
Statistician 
Oklahoma City, OK


		
__________________________________ 
Yahoo! Mail - PC Magazine Editors' Choice 2005 
http://mail.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–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index