The xttest2 routine (published in SJ 1(1), updated since) has been
updated to provide an informative error message when the matsize is too
small to permit the test statistic to be computed. The revised routine
may be accessed with ssc install xttest2, replace