Bookmark and Share

Notice: On March 31, it was announced that Statalist is moving from an email list to a forum. The old list will shut down at the end of May, and its replacement, statalist.org is already up and running.


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE:st: manual F-test


From   Maarten buis <maartenbuis@yahoo.co.uk>
To   stata list <statalist@hsphsun2.harvard.edu>
Subject   RE:st: manual F-test
Date   Tue, 20 Apr 2010 16:21:01 +0000 (GMT)

-- Nola wrote:
> I recently conducted a manual F-test to determine whether I could  
> pool both large and small market data.  
> 1.  I now need to conduct a similar test using -regress- (instead of  
> xtpcse). Since Stata does not collect e(n_cf) in -regress- is there a  
> way for me to re-write the code to still perform this manual test  
> after using -regress-?

Look inside the code (-viewsource ftest-) of -ftest- to see an example.
You can download -ftest- by typing in Stata -ssc install ftest-. 

> 2.  Is there a built in command I don't know about that would make  
> this all a lot easier?

Yes, see -help test-.

Hope this helps,
Maarten

--------------------------
Maarten L. Buis
Institut fuer Soziologie
Universitaet Tuebingen
Wilhelmstrasse 36
72074 Tuebingen
Germany

http://www.maartenbuis.nl
--------------------------


      

*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   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   |   Site index