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 with non-symmetric weights
From
<[email protected]>
To
<[email protected]>
Subject
st: Spatial regression with non-symmetric weights
Date
Sat, 30 Jul 2011 08:45:48 +0100
Dear Statalist,
I am trying to run a spatial lag model (and spatial dependence tests in
the base OLS regression) using a non-symmetric weights matrix (based on
commuting flows). However, --spatwmat-- refuses to load the matrix
because it is non-symmetric. I have tried to resolve this by deriving
the eigenvalues of my weights matrix separately (using --geneigen-- on
the basis of the discussion in
http://www.stata.com/statalist/archive/2006-03/msg01020.html), but Stata
freezes when I run the command (I have a dataset of 376 observations, so
the full matrix has 141376 cells). Further, I don't know if the
eigenvalues derived from geneigen are suitable for use with spatreg,
spatgsa, etc.
Can anybody help?
- Is there some other package or set of commands that allows
spatial analysis in Stata for non-symmetric weights matrices? (I have
looked at the --spwmatrix-- command, which presumably works with
non-symmetric matrices, but I haven't figured out how to use my
commuting data in the context of this command...)
- Is the --geneigen-- route a valid way to overcome this?
- If so, any ideas as to what I should be looking at in order to
make --geneigen-- run on my PC?
Many thanks in advance!
Vassilis
===============================================
Dr Vassilis Monastiriotis
Hellenic Observatory, European Institute, LSE
email: [email protected]
===============================================
Please access the attached hyperlink for an important electronic communications disclaimer: http://lse.ac.uk/emailDisclaimer
*
* 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/