Bookmark and Share

Notice: On April 23, 2014, Statalist moved from an email list to a forum, based at

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

st: spmat and spatreg LM testing

From   "Smit, M.J." <>
To   "''" <>
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:

© Copyright 1996–2018 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   Site index