Stata The Stata listserver
[Date Prev][Date Next][Thread Prev][Thread Next][Date index][Thread index]

st: About spatial weight matrices for spatial data analysis


From   Roberto Ezcurra <[email protected]>
To   [email protected]
Subject   st: About spatial weight matrices for spatial data analysis
Date   Fri, 02 Jul 2004 12:59:26 +0200

I would like to define a spatial weight matrix for spatial data analysis with STATA. I guess I have to use "spatwmat" comand, but I do not know how to generate the matrix.
For example, in the case of three regions (R1, R2 and R3) I have the following matrix,

R1 R2 R3
R1 d_11 d_12 d_13
R2 d_21 d_22 d_23
R3 d_31 d_32 d_33

where d_ij denotes the distance between region i and region j.

How can I define this matrix with "spatwmat"?

Thank you very much.










----------------------------------------------------------
Roberto Ezcurra Orayen
Departamento de Econom�a
Universidad P�blica de Navarra
Campus de Arrosadia s/n
31006 Pamplona - Navarra
Espa�a (Spain)
E-mail: [email protected]
Tlno.: 34 948 169706
Fax: 34 948 169721
-----------------------------------------------------------


*
* For searches and help try:
* http://www.stata.com/support/faqs/res/findit.html
* http://www.stata.com/support/statalist/faq
* http://www.ats.ucla.edu/stat/stata/




© Copyright 1996–2024 StataCorp LLC   |   Terms of use   |   Privacy   |   Contact us   |   What's new   |   Site index