Annotated codes for performing spatial regression and autocorrelation analyses in S-PLUS.
Ecological Archives M072-007-S1.
Authors
Download files
Description
Jeremy W. Lichstein
Cooperative Fish and Wildlife Research Unit
Department of Zoology
North Carolina State University
Raleigh, North Carolina 27695-7617, USAPresent address:
Laboratorio de Investigaciones Ecológicas de las Yungas
Casilla de Correo 34
(4107) Yerba Buena
Tucumán, Argentina
E-mail: liey@tucbbs.com.ar
Annotated S-PLUS codes: spcodes.txt
Overview
The file spcodes.txt contains codes, short programs, and detailed instructions on how to perform the following analyses in S-PLUS:
(1) Ordinary least squares (OLS) regression models, including polynomial trend-surface analysis.
(2) Gaussian conditional spatial autoregressive (CAR) models.
(3) Moran’s I correlograms for raw data and OLS residuals.
To run the codes and programs, the appropriate text must be pasted into a ‘Script’ window in S-PLUS, with the Spatial Module activated.
Required software
(1) S-PLUS (version 3.3 or higher) for Windows (PC) or Unix
(2) S-PLUS Spatial Module