Do you mean cross-sectional correlation (dependence)? try -xtcsd- and -xttest2- from ssc
Nicola
At 02.33 27/10/2007 -0400, "dora sepour" wrote:
>Dear Stata users,
>
>How can i test for the correlation of residuals of a random effect model?
>xtserial tests only autocorrelation.Is it necessary to test both
>autocorrelation and correlation of residuals between individuals?
>
>Thanks in advance for your time,
>Best regards,
>Dora
*
* 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/