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 on April 23, and its replacement, statalist.org is already up and running.


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

st: spmat and spatreg LM testing


From   "Smit, M.J." <martijn.smit@vu.nl>
To   "'statalist@hsphsun2.harvard.edu'" <statalist@hsphsun2.harvard.edu>
Subject   st: spmat and spatreg LM testing
Date   Fri, 14 Oct 2011 13:11:56 +0000

I'm using spmat (from sppack), and it works very well - except that it doesn't seem to give LM tests for choosing between lag and error models. First question: does anyone know if there is a command for this in spmat after all?

The older module spatreg does offer this test, but then again its handling of weight matrices is less intuitive. I can't understand how spatwmat (from the spatreg group of commands) handles a matrix loaded from a *.dta file; the *.dta file should have no identifiers in it, and just be an NxN matrix. How does it know which region is which then?

Best regards,
Martijn Smit

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