|
Rudy,
One idea (maybe not simplest) would be to use the
spatial adjacency matrix as it will return binary if touching or not and just
multiply by alcohol units through the matrix and sum...then for n-order 'lag'
effects you would take the first matrix and if value is 1 do the matirx on that
(so there will be as many n-order matrices as number of neighbors for lag
n-1) removing duplicates as you go as there should be a lot...etc...this is
very generalized description obviously but, if you go back through the postings
there was a thread about creating the Queens and Rook spatial adjacency matrix
and that should get you started...1st order is easy...just code a loop and
duplcate removval for n-order (complexity will increase fast but with only 304
it should be negligable)....hope this gets you jump started towards a faster
solution...Dave From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Aniruddha Banerjee Sent: Friday, June 16, 2006 6:39 PM To: [email protected] Subject: [Maptitude] calculating spatial lags sums... Hi,
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
- [Maptitude] calculating spatial lags sums... Aniruddha Banerjee
- RE: [Maptitude] calculating spatial lags... Dave Twehues
- Re: [Maptitude] calculating spatial ... Aniruddha Banerjee
- Re: [Maptitude] calculating spatial lags... Peter H. Van Demark
- Re: [Maptitude] calculating spatial ... Aniruddha Banerjee
- RE: [Maptitude] calculating spatial lags... Hoskins, Richard E. \(DOH\)
- RE: [Maptitude] calculating spatial lags... Peter H. Van Demark
- [Maptitude] Re: calculating spatial ... sb_caliper
- [Maptitude] possible to add Quee... Richard Hoskins
- Re: [Maptitude] possible to ... Stewart Berry
- RE: [Maptitude] calculating spatial lags... Hoskins, Richard E. \(DOH\)
