This package calculate Moran's I statistic to detect spatial autocorrelation in a cross-section. The null hypothesis of the test is: the series does not exhibit any spatial autocorrelation. The moran function prints Moran's I, the expected value (E(I)), the standard deviation (sd(I)), and the z-score, with the related (1-tail) p-value. It returns the scalar value of the Moran's I. Data requirement: series; spatial weights matrix. The spatial weights matrix W must be square and its order must match the number of observations in the sample. The function does not assume a symmetric matrix and does not perform any standardization. The parameters of the function are: X - the series to be tested W - the spatial weights matrix The formulas are taken from Sokal, R.R., N.L. Oden, & B.A. Thomson (1998), Local spatial autocorrelation in a biological model, Geographical Analysis 30: 331-354. For any suggestion, bug, etc. write to: giuseppe.vittucci@unimib.it