June 2000
Département de Sciences Biologiques
Université de Montréal
This program computes a ttest for a Pearson correlation coefficient corrected for spatial autocorrelation, following Dutilleul (1993). In this version of the program, the main input data file (text) must contain 4 columns: Coordinate X, Coordinate Y, Variable 1, Variable 2. The program assumes the coordinates to be in a Cartesian plane. One may provide files with one's own limits of distance classes, precomputed Moran's I autocorrelation coefficients, as well as an uppertriangular matrix of distance classes, if one so wishes. These elements are not necessary, however. In the absence of such matrices, the program will do all calculations from the input data matrix of the previous paragraph, using equidistant classes. If the user provides the value of the Spearman correlation coefficient, the associated probability will be computed and printed after that of the Pearson correlation coefficient. The probabilities computed by the program are for twotailed tests. It is obtained by linear interpolation between the values computed for the integer values of d.f. above and below the corrected realvalued degrees of freedom, which are printed as "df" on output.
Program availability

Macintosh version
 Fortran source code
 Compiled versions of the program for any Macintosh computer (fat binary)
 Sample data file

32bit DOS version
(The executable file is a Win32 "console" executable, not a DOS executable. Therefore it cannot run under plain DOS, nor in a DOS window under Windows 3.x, only in Windows 95/98 or Windows NT consoles)
 Fortran source code
 Compiled version of the program for Win32 compatible computers
 Sample data file
Dutilleul, P. 1993. Modifying the t test for assessing the correlation between two spatial processes. Biometrics 49: 305314.