Statalist The Stata Listserver


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

st: Question regarding the F test after 'xi' command.


From   "Hui Wang" <[email protected]>
To   [email protected]
Subject   st: Question regarding the F test after 'xi' command.
Date   Mon, 22 Jan 2007 20:14:36 +0000

Hi, All,

When we use xi command in regression, say "xi: reg y x1 i.x2", and suppose that the discrete variable x2 takes 10 possible value. After the regression, what is the command to test the joint significance of the x2 dummies generated by stata?

I've tried the following:

xi: reg y x1 x2

xi: test i.x2;
test _Ix2_*;
test _Ix2_1-_Ix2_9;

Neither of them works. (I really do not want to enter something like: test _Ix2_1 _Ix2_2 ... _Ix2_9.)

Please tell me your solution. Thanks.

Jackie

_________________________________________________________________
Don't just search. Find. Check out the new MSN Search! http://search.msn.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