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: Sppack vs spatgsa
From
<[email protected]>
To
<[email protected]>
Subject
st: Sppack vs spatgsa
Date
Mon, 11 Jun 2012 09:24:50 +0200
Dear all,
I have recently discovered the sppack command by Drukker et al. (2012)
about spatial econometrics. I have used sppack to create a weighting
matrix (it doesn't matter what type - the problem presents with
contiguity, inverse distance, normalized, banded or not...), say W, and
I wanted to use W with the Pisati's spatgsa to compute Moran's I for my
dataset.
Unfortunately, once I run "spatgsa varname , weights(W) moran"
I receive the following error message
Matrix W does not exist.
I suppose spatgsa doesn't recognize matrix created with sppack. Is there
anyway to create a weighting matrix with sppack and to perform Moran's I
(but also Geary's C and so on)?
Grazie!
Luciano
** Le e-mail provenienti dalla Banca d'Italia sono trasmesse in buona fede e non
comportano alcun vincolo ne' creano obblighi per la Banca stessa, salvo che cio' non
sia espressamente previsto da un accordo scritto.
Questa e-mail e' confidenziale. Qualora l'avesse ricevuta per errore, La preghiamo di
comunicarne via e-mail la ricezione al mittente e di distruggerne il contenuto. La
informiamo inoltre che l'utilizzo non autorizzato del messaggio o dei suoi allegati
potrebbe costituire reato. Grazie per la collaborazione.
-- E-mails from the Bank of Italy are sent in good faith but they are neither binding on
the Bank nor to be understood as creating any obligation on its part except where
provided for in a written agreement. This e-mail is confidential. If you have received it
by mistake, please inform the sender by reply e-mail and delete it from your system.
Please also note that the unauthorized disclosure or use of the message or any
attachments could be an offence. Thank you for your cooperation. **
*
* 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/