Currently the spatial weights in envconstruct.c do not follow the formula provided on p. 511 in:
Reardon, S. F., Matthews, S. A., O'Sullivan, D., Lee, B. A., Firebaugh, G., Farrell, C. R., & Bischoff, K. (2008). The Geographic Scale of Metropolitan Racial Segregation. Demography, 45(3), 489–514.
Right now the weights are implemented as:
if (expF == 0) // Inverse distance weight
weight = 1/pow(dxy + error, power);
else // Inverse distance weight using an exponential function
weight = exp(dxy * power * -1);
But it seems a more appropriate implementation would be:
Currently the spatial weights in envconstruct.c do not follow the formula provided on p. 511 in:
Reardon, S. F., Matthews, S. A., O'Sullivan, D., Lee, B. A., Firebaugh, G., Farrell, C. R., & Bischoff, K. (2008). The Geographic Scale of Metropolitan Racial Segregation. Demography, 45(3), 489–514.
Right now the weights are implemented as:
But it seems a more appropriate implementation would be: