An approximate calculation for the effective sample size for spatially autocorrelated data. Only valid for approximately normally distributed data.
n_eff(n, rho)
Griffith, Daniel A. (2005). Effective geographic sample size in the presence of spatial autocorrelation. Annals of the Association of American Geographers. Vol. 95(4): 740-760.
Number of observations.
Spatial autocorrelation parameter from a simultaneous autoregressive model.
Returns effective sample size n*, a numeric value.
Implements Equation 3 from Griffith (2005).