Abstract
The presence of spatial dependence can impair the statistical inference and subsequent ecological interpretation of the pattern(s) observed. It is important to understand how statistical biases due to spatially structured data can affect a wide array of ecological questions ranging from species–environment relationships to predicting the spread of invasive species. Consequently, there is an increasing emphasis on formally accounting for spatial dependence in inferential problems in ecology and conservation. We provide an overview regarding several ways in which spatial dependence has been addressed in regression-like models of species–environment relationships. Regression models are frequently used in ecology and conservation to address a variety of problems, ranging from interpreting habitat suitability to forecasting the effects of climate change. We first describe the problem of spatial dependence on inferences in ecology and conservation. Then, we discuss how to diagnose problems of spatial dependence in regression models. Finally, we illustrate new advances to addressing these statistical problems using a variety of approaches aimed at accounting for spatial dependence in statistical analyses, including trend surface analysis, eigenvector mapping, autocovariate and autoregressive models, multilevel models, generalized least squares, and spatial mixed models. We apply these models to understanding relationships of species occurrence of the varied thrush (Ixoreus naevius) to elevational gradients in the western USA. This example illustrates that each of these approaches varies in its ability to account for spatial dependence, depending on the scale at which spatial dependence occurs. Overall, autoregressive and spatial mixed models have beneficial attributes regarding obtaining appropriate inferences in the presence of spatial dependence. We end by providing guidance on accounting for spatial dependence in regression models used in ecology and conservation.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Algar AC, Kharouba HM, Young ER, Kerr JT (2009) Predicting the future of species diversity: macroecological theory, climate change, and direct tests of alternative forecasting methods. Ecography 32(1):22–33. https://doi.org/10.1111/j.1600-0587.2009.05832.x
Augustin NH, Mugglestone MA, Buckland ST (1996) An autologistic model for the spatial distribution of wildlife. J Appl Ecol 33(2):339–347
Bardos DC, Guillera-Arroita G, Wintle BA (2015) Valid auto-models for spatially autocorrelated occupancy and abundance data. Methods Ecol Evol 6(10):1137–1149. https://doi.org/10.1111/2041-210x.12402
Bates D, Machler M, Bolker BM, Walker SC (2015) Fitting linear mixed-effects models using lme4. J Stat Softw 67(1):1–48
Bauman D, Drouet T, Dray S, Vleminckx J (2018) Disentangling good from bad practices in the selection of spatial or phylogenetic eigenvectors. Ecography 41:1–12
Beale CM, Lennon JJ, Yearsley JM, Brewer MJ, Elston DA (2010) Regression analysis of spatial data. Ecol Lett 13(2):246–264. https://doi.org/10.1111/j.1461-0248.2009.01422.x
Beguin J, Martino S, Rue H, Cumming SG (2012) Hierarchical analysis of spatially autocorrelated ecological data using integrated nested Laplace approximation. Methods Ecol Evol 3(5):921–929. https://doi.org/10.1111/j.2041-210X.2012.00211.x
Betts MG, Diamond AW, Forbes GJ, Villard MA, Gunn JS (2006) The importance of spatial autocorrelation, extent and resolution in predicting forest bird occurrence. Ecol Model 191(2):197–224
Betts MG, Ganio LM, Huso MMP, Som NA, Huettmann F, Bowman J, Wintle BA (2009) Comment on “Methods to account for spatial autocorrelation in the analysis of species distributional data: a review”. Ecography 32(3):374–378. https://doi.org/10.1111/j.1600-0587.2008.05562.x
Betts MG, Phalan B, Frey SJK, Rousseau JS, Yang ZQ (2018) Old-growth forests buffer climate-sensitive bird populations from warming. Divers Distrib 24(4):439–447. https://doi.org/10.1111/ddi.12688
Bini LM, Diniz JAF, Rangel T, Akre TSB, Albaladejo RG, Albuquerque FS, Aparicio A, Araujo MB, Baselga A, Beck J, Bellocq MI, Bohning-Gaese K, Borges PAV, Castro-Parga I, Chey VK, Chown SL, de Marco P, Dobkin DS, Ferrer-Castan D, Field R, Filloy J, Fleishman E, Gomez JF, Hortal J, Iverson JB, Kerr JT, Kissling WD, Kitching IJ, Leon-Cortes JL, Lobo JM, Montoya D, Morales-Castilla I, Moreno JC, Oberdorff T, Olalla-Tarraga MA, Pausas JG, Qian H, Rahbek C, Rodriguez MA, Rueda M, Ruggiero A, Sackmann P, Sanders NJ, Terribile LC, Vetaas OR, Hawkins BA (2009) Coefficient shifts in geographical ecology: an empirical evaluation of spatial and non-spatial regression. Ecography 32(2):193–204. https://doi.org/10.1111/j.1600-0587.2009.05717.x
Bivand R (1980) A Monte Carlo study of correlation coefficient estimation with spatially autocorrelated observations. Quaestionies Geographicae 6:5–10
Bivand R, Piras G (2015) Comparing implementations of estimation methods for spatial econometrics. J Stat Softw 63(18):1–36
Bivand RS, Pebesma EJ, Gomez-Rubio V (2013) Applied spatial data analysis with R. Use R! 2nd edn. Springer, New York
Bjørnstad ON, Falck W (2001) Nonparametric spatial covariance functions: estimation and testing. Environ Ecol Stat 8(1):53–70. https://doi.org/10.1023/a:1009601932481
Blangiardo M, Cameletti M (2015) Spatial and spatio-temporal Bayesian models with R-INLA. Wiley, Chichester
Bolker B (2008) Ecological models and data in R. Princeton University Press, Princeton, NJ
Bolker BM, Brooks ME, Clark CJ, Geange SW, Poulsen JR, Stevens MHH, White JSS (2009) Generalized linear mixed models: a practical guide for ecology and evolution. Trends Ecol Evol 24(3):127–135. https://doi.org/10.1016/j.tree.2008.10.008
Boyce MS, Vernier PR, Nielsen SE, Schmiegelow FKA (2002) Evaluating resource selection functions. Ecol Model 157(2–3):281–300. https://doi.org/10.1016/s0304-3800(02)00200-4
Brand LA, George TL (2001) Response of passerine birds to forest edge in coast redwood forest fragments. Auk 118(3):678–686. https://doi.org/10.1642/0004-8038(2001)118[0678:Ropbtf]2.0.Co;2
Broms KM, Johnson DS, Altwegg R, Conquest LL (2014) Spatial occupancy models applied to atlas data show Southern Ground Hornbills strongly depend on protected areas. Ecol Appl 24(2):363–374. https://doi.org/10.1890/12-2151.1
Carl G, Kuhn I (2010) A wavelet-based extension of generalized linear models to remove the effect of spatial autocorrelation. Geogr Anal 42(3):323–337
Carroll C, Johnson DS (2008) The importance of being spatial (and reserved): assessing Northern Spotted Owl habitat relationships with hierarchical Bayesian Models. Conserv Biol 22(4):1026–1036. https://doi.org/10.1111/j.1523-1739.2008.00931.x
Carroll C, Johnson DS, Dunk JR, Zielinski WJ (2010) Hierarchical Bayesian spatial models for multispecies conservation planning and monitoring. Conserv Biol 24(6):1538–1548. https://doi.org/10.1111/j.1523-1739.2010.01528.x
Cleveland WS (1979) Robust locally weighted regression and smoothing scatterplots. J Am Stat Assoc 74(368):829–836. https://doi.org/10.2307/2286407
Crase B, Liedloff AC, Wintle BA (2012) A new method for dealing with residual spatial autocorrelation in species distribution models. Ecography 35(10):879–888. https://doi.org/10.1111/j.1600-0587.2011.07138.x
Crase B, Liedloff A, Vesk PA, Fukuda Y, Wintle BA (2014) Incorporating spatial autocorrelation into species distribution models alters forecasts of climate-mediated range shifts. Glob Chang Biol 20(8):2566–2579. https://doi.org/10.1111/gcb.12598
Cressie NAC (1993) Statistics for spatial data. Wiley, Chichester
Dale MRT, Fortin MJ (2014) Spatial analysis: a guide for ecologists, 2nd edn. Cambridge University Press, Cambridge
Diniz JAF, Bini LM, Hawkins BA (2003) Spatial autocorrelation and red herrings in geographical ecology. Glob Ecol Biogeogr 12(1):53–64. https://doi.org/10.1046/j.1466-822X.2003.00322.x
Diniz JAF, Nabout JC, Telles MPD, Soares TN, Rangel T (2009) A review of techniques for spatial modeling in geographical, conservation and landscape genetics. Genet Mol Biol 32(2):203–211. https://doi.org/10.1590/s1415-47572009000200001
Dormann CF (2009) Response to Comment on “Methods to account for spatial autocorrelation in the analysis of species distributional data: a review”. Ecography 32(3):379–381. https://doi.org/10.1111/j.1600-0587.2009.05907.x
Dormann CF, McPherson JM, Araújo MB, Bivand R, Bolliger J, Carl G, Davies RG, Hirzel A, Jetz W, Kissling WD, Kuehn I, Ohlemueller R, Peres-Neto PR, Reineking B, Schroeder B, Schurr FM, Wilson R (2007) Methods to account for spatial autocorrelation in the analysis of species distributional data: a review. Ecography 30(5):609–628. https://doi.org/10.1111/j.2007.0906-7590.05171.x
Dray S, Legendre P, Peres-Neto PR (2006) Spatial modelling: a comprehensive framework for principal coordinate analysis of neighbour matrices (PCNM). Ecol Model 196(3–4):483–493. https://doi.org/10.1016/j.ecolmodel.2006.02.015
Dray S, Pelissier R, Couteron P, Fortin MJ, Legendre P, Peres-Neto PR, Bellier E, Bivand R, Blanchet FG, De Caceres M, Dufour AB, Heegaard E, Jombart T, Munoz F, Oksanen J, Thioulouse J, Wagner HH (2012) Community ecology in the age of multivariate multiscale spatial analysis. Ecol Monogr 82(3):257–275. https://doi.org/10.1890/11-1183.1
Emerson S, Wickham C, Ruzicka KJ (2015) Rethinking the linear regression model for spatial ecological data: comment. Ecology 96(7):2021–2025. https://doi.org/10.1890/14-0879.1
Finley AO, Banerjee S, Gelfand AE (2015) spBayes for large univariate and multivariate point-referenced spatio-temporal data models. J Stat Softw 63(13):1–28
Fletcher RJ Jr (2005) Multiple edge effects and their implications in fragmented landscapes. J Anim Ecol 74(2):342–352
Fortin MJ, James PMA, MacKenzie A, Melles SJ, Rayfield B (2012) Spatial statistics, spatial regression, and graph theory in ecology. Spatial Stat 1:100–109. https://doi.org/10.1016/j.spasta.2012.02.004
Garland T, Harvey PH, Ives AR (1992) Procedures for the analysis of comparative data using phylogenetically independent contrasts. Syst Biol 41(1):18–32. https://doi.org/10.2307/2992503
Gelman A, Hill J (2007) Data analysis using regression and multilevel/hierarchical models. Cambridge University Press, New York
Getis A, Griffith DA (2002) Comparative spatial filtering in regression analysis. Geogr Anal 34(2):130–140. https://doi.org/10.1111/j.1538-4632.2002.tb01080.x
Griffith DA, Peres-Neto PR (2006) Spatial modeling in ecology: the flexibility of eigenfunction spatial analyses. Ecology 87(10):2603–2613. https://doi.org/10.1890/0012-9658(2006)87[2603:smietf]2.0.co;2
Guisan A, Zimmermann NE (2000) Predictive habitat distribution models in ecology. Ecol Model 135(2–3):147–186
Haining R (2003) Spatial data analysis: theory and practice. Cambridge University Press, Cambridge
Hastie T, Tibshirani R (1986) Generalized additive models. Stat Sci 1:297–310
Hawkins BA, Diniz JAF, Bini LM, De Marco P, Blackburn TM (2007) Red herrings revisited: spatial autocorrelation and parameter estimation in geographical ecology. Ecography 30(3):375–384. https://doi.org/10.1111/j.2007.0906-7590.05117.x
Hines JE, Nichols JD, Royle JA, MacKenzie DI, Gopalaswamy AM, Kumar NS, Karanth KU (2010) Tigers on trails: occupancy modeling for cluster sampling. Ecol Appl 20(5):1456–1466. https://doi.org/10.1890/09-0321.1
Hooten MB, Wikle CK, Dorazio RM, Royle JA (2007) Hierarchical spatiotemporal matrix models for characterizing invasions. Biometrics 63(2):558–567. https://doi.org/10.1111/j.1541-0420.2006.00725.x
Horn BKP (1981) Hill shading and the reflectance map. Proc IEEE 69:14–47
Hurlbert SH (1984) Pseudoreplication and the design of ecological field experiments. Ecol Monogr 54(2):187–211. https://doi.org/10.2307/1942661
Hutto RL, Young JS (2002) Regional landbird monitoring: perspectives from the Northern Rocky Mountains. Wildl Soc Bull 30(3):738–750
Johnson DS, Conn PB, Hooten MB, Ray JC, Pond BA (2013) Spatial occupancy models for large data sets. Ecology 94(4):801–808
Keitt TH, Bjørnstad ON, Dixon PM, Citron-Pousty S (2002) Accounting for spatial pattern when modeling organism-environment interactions. Ecography 25(5):616–625
Kery M, Royle JA (2016) Applied hierarchical modeling in ecology: analysis of distribution, abundance and species richness in R and BUGS. Academic, San Diego
Kissling WD, Carl G (2008) Spatial autocorrelation and the selection of simultaneous autoregressive models. Glob Ecol Biogeogr 17(1):59–71. https://doi.org/10.1111/j.1466-8238.2007.00334.x
Koenig WD (1999) Spatial autocorrelation of ecological phenomena. Trends Ecol Evol 14(1):22–26. https://doi.org/10.1016/s0169-5347(98)01533-x
Legendre P (1993) Spatial autocorrelation: trouble or new paradigm? Ecology 74(6):1659–1673
Legendre P, Legendre L (1998) Numerical ecology. Elsevier, Amsterdam
Lennon JJ (2000) Red-shifts and red herrings in geographical ecology. Ecography 23(1):101–113. https://doi.org/10.1034/j.1600-0587.2000.230111.x
Lichstein JW, Simons TR, Shriner SA, Franzreb KE (2002) Spatial autocorrelation and autoregressive models in ecology. Ecol Monogr 72(3):445–463
Littell RC, Millien GA, Stroup RD, Schabenberger O (2006) SAS for mixed models. SAS Institute Inc., Cary, NC
MacKenzie DI, Nichols JD, Lachman GB, Droege S, Royle JA, Langtimm CA (2002) Estimating site occupancy rates when detection probabilities are less than one. Ecology 83(8):2248–2255
McCarthy KP, Fletcher RJ, Rota CT, Hutto RL (2012) Predicting species distributions from samples collected along roadsides. Conserv Biol 26(1):68–77. https://doi.org/10.1111/j.1523-1739.2011.01754.x
McCullagh P, Nelder JA (1989) Generalized linear models. Chapman and Hall, London
Melles SJ, Fortin MJ, Lindsay K, Badzinski D (2011) Expanding northward: influence of climate change, forest connectivity, and population processes on a threatened species’ range shift. Glob Chang Biol 17(1):17–31. https://doi.org/10.1111/j.1365-2486.2010.02214.x
Miller JA (2012) Species distribution models: spatial autocorrelation and non-stationarity. Prog Phys Geogr 36(5):681–692. https://doi.org/10.1177/0309133312442522
Miller J, Franklin J, Aspinall R (2007) Incorporating spatial dependence in predictive vegetation models. Ecol Model 202(3–4):225–242. https://doi.org/10.1016/j.ecolmodel.2006.12.012
Miller DA, Nichols JD, McClintock BT, Grant EHC, Bailey LL, Weir LA (2011) Improving occupancy estimation when two types of observational error occur: non-detection and species misidentification. Ecology 92(7):1422–1428. https://doi.org/10.1890/10-1396.1
Nelder JA, Wedderburn RW (1972) Generalized linear models. J R Stat Soc Series A General 135(3):370. https://doi.org/10.2307/2344614
Oksanen J, Guillaume B, Friendly M, Kindt R, Legendre P, McGlinn D, Minchin PR, O’Hara RB, Simpson GL, Solymos P, Stevens HH, Szoecs E, Wagner H (2018) Vegan: community ecology package. R version 2.4-6
Rota CT, Fletcher RJ Jr, Evans JM, Hutto RL (2011) Does accounting for detectability improve species distribution models. Ecography 34:659–670
Rousset F, Ferdy JB (2014) Testing environmental and genetic effects in the presence of spatial autocorrelation. Ecography 37(8):781–790. https://doi.org/10.1111/ecog.00566
Royle JA, Dorazio RM (2008) Hierarchical modeling and inference in ecology: the analysis of data from populations, metapopulations, and communities. Academic, San Diego
Sauer JR, Niven DK, Hines JE, Ziolkowski DJ, Pardieck KL, Fallon JE, Link WA (2017) The North American Breeding Bird Survey, results and analysis 1966–2015, Version 2.07.2017. USGS Patuxent Wildlife Research Center, Laurel, MD
Segurado P, Araújo MB, Kunin WE (2006) Consequences of spatial autocorrelation for niche-based models. J Appl Ecol 43(3):433–444. https://doi.org/10.1111/j.1365-2664.2006.01162.x
Sokal RR, Oden NL (1978) Spatial autocorrelation in biology II: Some biological implications and four applications of evolutionary and ecological interest. Biol J Linn Soc 10(2):229–249. https://doi.org/10.1111/j.1095-8312.1978.tb00014.x
Stephens PA, Buskirk SW, del Rio CM (2007) Inference in ecology and evolution. Trends Ecol Evol 22(4):192–197. https://doi.org/10.1016/j.tree.2006.12.003
Swihart RK, Slade NA (1985) Testing for independence of observations in animal movements. Ecology 66(4):1176–1184. https://doi.org/10.2307/1939170
Teng SN, Xu C, Sandel B, Svenning JC (2018) Effects of intrinsic sources of spatial autocorrelation on spatial regression modelling. Methods Ecol Evol 9(2):363–372
Thorson JT, Minto C (2015) Mixed effects: a unifying framework for statistical modelling in fisheries biology. ICES J Mar Sci 72(5):1245–1256. https://doi.org/10.1093/icesjms/fsu213
Venables WN, Ripley BD (2002) Modern applied statistics with S, 4th edn. Springer, New York
Ver Hoef JM, Peterson EE, Hooten MB, Hanks EM, Fortin MJ (2018) Spatial autoregressive models for statistical inference from ecological data. Ecol Monogr 88(1):36–59. https://doi.org/10.1002/ecm.1283
Wagner HH (2003) Spatial covariance in plant communities: integrating ordination, geostatistics, and variance testing. Ecology 84(4):1045–1057. https://doi.org/10.1890/0012-9658(2003)084[1045:scipci]2.0.co;2
Wagner HH (2004) Direct multi-scale ordination with canonical correspondence analysis. Ecology 85(2):342–351. https://doi.org/10.1890/02-0738
Wagner HH, Fortin MJ (2005) Spatial analysis of landscapes: concepts and statistics. Ecology 86(8):1975–1987. https://doi.org/10.1890/04-0914
Wall MM (2004) A close look at the spatial structure implied by the CAR and SAR models. J Stat Plan Inference 121(2):311–324. https://doi.org/10.1016/s0378-3758(03)00111-3
Wilson MFJ, O’Connell B, Brown C, Guinan JC, Grehan AJ (2007) Multiscale terrain analysis of multibeam bathymetry data for habitat mapping on the continential slope. Mar Geod 30:3–35
Wintle BA, Bardos DC (2006) Modeling species-habitat relationships with spatially autocorrelated observation data. Ecol Appl 16(5):1945–1958. https://doi.org/10.1890/1051-0761(2006)016[1945:msrwsa]2.0.co;2
Wood SN (2006) Generalized additive models: an introduction with R. Chapman and Hall and CRC, Boca Raton, FL
Zuur AF, Ieno EN, Walker NJ, Saveliev AA, Smith GM (2009) Mixed effects models and extensions in ecology with R. Springer, New York
Author information
Authors and Affiliations
Rights and permissions
Copyright information
© 2018 Springer Nature Switzerland AG
About this chapter
Cite this chapter
Fletcher, R., Fortin, MJ. (2018). Accounting for Spatial Dependence in Ecological Data. In: Spatial Ecology and Conservation Modeling. Springer, Cham. https://doi.org/10.1007/978-3-030-01989-1_6
Download citation
DOI: https://doi.org/10.1007/978-3-030-01989-1_6
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-01988-4
Online ISBN: 978-3-030-01989-1
eBook Packages: Biomedical and Life SciencesBiomedical and Life Sciences (R0)