Supplement 1. Script with R code for statistical analysis.
N. MeynardChristine
QuinnJ. F.
2016
<h2>File List</h2><blockquote>
<p><a href="ScriptMeynard&Quinn.R">ScriptMeynard&Quinn.R</a> -- Annotated R code. </p>
</blockquote><h2>Description</h2><blockquote>
<p>This file contains code
to replicate the statistical analysis performed in the paper, and
comments that will help the reader understand the commands. The file
can be opened within any text editor and copied into the R command
line. It can also be opened from the R script environment. Testing of
spatial autocorrelation on raw variables and residuals from regressions
are demonstrated. The correlation matrix to perform the structural
equation modeling (SEM) analysis is also provided, as well as code for
different SEM analysis using this data. </p>
<p>Required software: R statistical package, and additional libraries spdep and sem.</p>
</blockquote>