Bookmark and Share

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


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

st: spatial regression weighting matrix fixed number of neighbors


From   Simone Angioloni <sangiol@uga.edu>
To   "statalist@hsphsun2.harvard.edu" <statalist@hsphsun2.harvard.edu>
Subject   st: spatial regression weighting matrix fixed number of neighbors
Date   Tue, 25 Feb 2014 20:14:40 +0000

�,

I am doing spatial regression with spmlreg after creating the weighing matrix with spwmatrix for a fixed number of neighbors. 

The problem is that when I work with a fixed number of neighbors the contiguity matrix is asymmetric and so some eigenvalues will be complex.

However, the spmlreg function does seem to allow for the imaginary part of the eigenvalues: it simply ignores them. 

Is there a way to run spmlreg by using not only the real part of the eigenvalues, but also their imaginary part, if present?

Thank you.

Simone Angioloni


*
*   For searches and help try:
*   http://www.stata.com/help.cgi?search
*   http://www.stata.com/support/faqs/resources/statalist-faq/
*   http://www.ats.ucla.edu/stat/stata/


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