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

st: pantest2


From   Christopher F Baum <[email protected]>
To   [email protected]
Subject   st: pantest2
Date   Sat, 15 May 2004 09:07:27 -0400

pantest2 is one of those very old routines placed on SSC before I required that all submissions have a .hlp file. However its use is fairly obvious.

webuse grunfeld
xtreg invest mvalue kstock,fe
pantest2 year

pantest2 requires one argument: the name of the time variable in the tsset command. A modern version of this command would recover that from the internals.

The test for significance of fixed effects is provided by xtreg,fe in modern Stata. The test for normality is merely an sktest on the fixed effects residual series.

There is a comment in the code that the test for independence is strictly only valid for balanced panels. A modern version of the command would enforce that constraint (or provide a warning to that effect).

Kit

*
* 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