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 idistance error

Subject   st: spmat idistance error
Date   Mon, 30 Jan 2012 14:16:23 -0600

Ajita Atreya <> has a follow up question:

> My code is: spmat idistance idoug longitude latitude, id(id)
> dfunction(dhaversine) vtruncate(1/.2) normalize(minmax) banded 
> The command I used for running spatial regression is 
> spreg g2sls lnprice ........, id(id) dlmat(idoug) elmat(idoug)
> My question here is can stata form a banded inverse-distance matrix 
> (24,000 obs) that I can use in my Spreg command. 

Ajita can send me the dataset privately.  I will investigate and report back
to the Statalist.

*   For searches and help try:

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