SlideShare ist ein Scribd-Unternehmen logo
1 von 27
Downloaden Sie, um offline zu lesen
An Introduction to Spatial Data Analysis
Maggie Johnson
Statistical and Applied Mathematical Sciences Institute
North Carolina State University
mjohnson@samsi.info
CLIM Undergraduate Workshop
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 1 / 27
Dependent Data
The First Law of Geography
“Everything is related to everything else, but near things are more related than
distant things.” – Waldo Tobler
Time
AirPassengers
1950 1952 1954 1956 1958 1960
100400
Figure: Time series data
−92 −90 −88 −86 −84
38404244
0
50
100
150
June 18, 1987 Ozone Conc
Figure: Spatial data
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 2 / 27
Spatial Data
The term spatial data is often used to refer to data that are connected to
physical geographical locations.
Notation:
D ⊂ Rd
represents the spatial domain, usually d = 2
s ∈ D is a d-dimensional vector representing a “location” in space. e.g.
s ≡ (longitude, latitude)
Three main types of spatial data
Point-referenced (geostatistical) data
Areal-referenced data
Point process data
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 3 / 27
Point-Referenced Data
Features:
Data are observations of a continuous spatial process
We only observed data at a subset of fixed locations
Goals:
Main goal is often prediction at unobserved locations
Examples:
Daily maximum temperature data collected at land surface monitoring
stations across the US
Ozone concentration measured at stations
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 4 / 27
Point-Referenced (Geostatistical) Data
−86 −84 −82 −80 −78
34353637383940
GHCN Station Locations
−86 −84 −82 −80 −78
34353637383940
22
24
26
28
30
32
July Average Max Temp
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 5 / 27
Focus for Today
Point referenced data (geostatistics)
Prediction at unobserved loations
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 6 / 27
Data
Average Maximum July Temperature and Elevation
−86 −84 −82 −80 −78
34353637383940
22
24
26
28
30
32
Avg Maximum July Temp
−86 −84 −82 −80 −78
34353637383940
200
400
600
800
1000
1200
1400
Elevation
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 7 / 27
Correlation
Correlation: A numeric measure of the relationship between two variables, ranges
between -1 and 1.
If two variables are correlated, knowing the value of one variable provides
information about what we expect the value of the other variable should be.
−2 −1 0 1 2 3
−2−1012
Corr = 0.81
x
y
−2 −1 0 1 2 3
−3−2−1012
Corr = −0.56
x
y
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 8 / 27
Average Maximum July Temperature and Elevation
0 500 1000 1500
222426283032
Corr = −0.82
Elevation
AvgJulyMaxTemp
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 9 / 27
Exploring Spatial Dependence
Correlogram
An exploratory visualization of the correlation between locations as a function of
distance.
1 Compute the pairwise distance between all locations
dist(s1, s2) = (lat1 − lat2)2 + (lon1 − lon2)2
2 Bin distances into a set of groups, estimate correlation
3 Plot estimated correlations against distance
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 10 / 27
Exploring Spatial Dependence
0 1 2 3 4 5 6 7
−1.0−0.50.00.51.0
Avg July Temp
Distance
Correlation
0 1 2 3 4 5 6 7
−1.0−0.50.00.51.0
Independent Data
Distance
Correlation
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 11 / 27
Linear Regression Model
The classical simple linear regression model assumes
ObservedValue = β0 + Covariate∗
β1 + error
For example,
ObservedTemperature(s) = β0 + Elevation(s)∗
β1 + error(s)
is the linear model defining temperature at a location (s) as a linear function of
elevation at that location.
errors are assumed independent and normally distributed (N(0, σ2
))
β0, β1 and σ2
are unknown, so to use the model we need to estimate them
(use R!)
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 12 / 27
Average Maximum July Temperature and Elevation
Idea is to find “best fit
line”, y = mx + b to the
data
Using R, we get
Temp = 32.666 + Elev∗
(−0.0065)
0 500 1000 1500
222426283032
Elevation
AvgJulyMaxTemp
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 13 / 27
Prediction using the simple linear regression model
Once we’ve estimated the model, as long as we have a value of elevation at a new
location s0 we can predict temperature at that location.
PredictedTemp(s0) = 32.366 + Elevation(s0)∗
(−0.0065)
−86 −84 −82 −80 −78
34353637383940
24
26
28
30
32
Predictions
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 14 / 27
How reasonable are the predictions?
Look at the residuals, Observed Temp(s) - Predicted Temp(s)
Residuals indicate the “errors” made by our model
Remember the model assumes errors are random and independent of each
other
−86 −84 −82 −80 −78
34353637383940
−2
−1
0
1
Elevation Residuals
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 15 / 27
Spatial correlation in the residuals?
Look at a correlogram of the residuals
0 1 2 3 4 5 6 7
−1.0−0.50.00.51.0
Empirical Correlogram
Distance
Correlation
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 16 / 27
Add Latitude and Longitude
PredTemp(s) = 49.037 + Lat(s)∗
(−0.48) + Long(s)∗
(−0.13) + Elev(s)∗
(−0.006)
−86 −84 −82 −80 −78
34353637383940
24
26
28
30
32
Predictions
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 17 / 27
Look at the residuals
−86 −84 −82 −80 −78
34353637383940
−1.5
−1.0
−0.5
0.0
0.5
1.0
Long + Lat + Elev Residuals
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 18 / 27
Spatial correlation in the residuals?
Look at a correlogram of the residuals
0 1 2 3 4 5 6 7
−1.0−0.50.00.51.0
Empirical Correlogram
Distance
Correlation
How do we incorporate the remaining dependence between locations into the
model?
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 19 / 27
Additive Geostatistical Modeling
An additive spatial regression model includes an additional component to model
the remaining spatial dependence in the residuals.
Observation(s) = Regression Terms(s) +g(s) + error(s)
The g(s) term is a spatial process model which allows us to model the dependence
between any two locations as a function of the distance between them.
g(s) is assumed to be a Gaussian process
Models the dependence between any two locations through a specified
correlation (or covariance) function, which have additional parameters that
need to be estimated (use R!)
Think fitting a curve to the correlogram
Commonly used functions are the exponential and Mat´ern
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 20 / 27
Additive Geostatistical Modeling
Prediction
Prediction at a new location s0 is
Prediction = Regression Terms + Weighted Sum of Observations
Same idea as with the independent linear model, except now an additional
weighted average of the observed data at all locations is included in the
prediction.
Data observed at locations closest to the prediction location have highest
weights.
Under this model, predictions can be obtained even in the absence of
covariates!
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 21 / 27
Geostatistical Model with Long, Lat as Covariates
−86 −84 −82 −80 −78
34353637383940
26
28
30
32
Predictions
−86 −84 −82 −80 −7834353637383940
0.4
0.5
0.6
0.7
0.8
0.9
1.0
Standard Errors
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 22 / 27
Geostatistical Model with Long, Lat as Covariates
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 23 / 27
Geostatistical Model with Long, Lat, as Covariates
2 4 6 8
−1.0−0.50.00.51.0
Empirical Correlogram
Correlation
−86 −84 −82 −80 −78
34353637383940
−4
−3
−2
−1
0
1
Residuals
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 24 / 27
Geostatistical Model with Long, Lat, Elevation as
Covariates
−86 −84 −82 −80 −78
34353637383940
22
24
26
28
30
32
Predictions
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 25 / 27
Geostatistical Model with Long, Lat as Covariates
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 26 / 27
Geostatistical Model with Long, Lat, Elevation as
Covariates
0 2 4 6 8
−1.0−0.50.00.51.0
Empirical Correlogram
Correlation
−86 −84 −82 −80 −78
34353637383940
−0.5
0.0
0.5
Residuals
M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 27 / 27

Weitere ähnliche Inhalte

Was ist angesagt?

A study on connectivity in graph theory june 18 123e
A study on connectivity in graph theory  june 18 123eA study on connectivity in graph theory  june 18 123e
A study on connectivity in graph theory june 18 123e
aswathymaths
 
The Method of regularized Stokeslets
The Method of regularized StokesletsThe Method of regularized Stokeslets
The Method of regularized Stokeslets
Mingjie Zhu
 
Energy Transformation of a Rolling Sphere
Energy Transformation of a Rolling SphereEnergy Transformation of a Rolling Sphere
Energy Transformation of a Rolling Sphere
krit167
 
A study on connectivity in graph theory june 18 pdf
A study on connectivity in graph theory  june 18 pdfA study on connectivity in graph theory  june 18 pdf
A study on connectivity in graph theory june 18 pdf
aswathymaths
 
FEA - Simple Analysis example
FEA - Simple Analysis exampleFEA - Simple Analysis example
FEA - Simple Analysis example
Michael Davis
 
ACME2016-extendedAbstract
ACME2016-extendedAbstractACME2016-extendedAbstract
ACME2016-extendedAbstract
Zhaowei Liu
 

Was ist angesagt? (20)

9.9 notes
9.9 notes9.9 notes
9.9 notes
 
Application of vector integration
Application of vector integration Application of vector integration
Application of vector integration
 
A study on connectivity in graph theory june 18 123e
A study on connectivity in graph theory  june 18 123eA study on connectivity in graph theory  june 18 123e
A study on connectivity in graph theory june 18 123e
 
MinimalSurfaces
MinimalSurfacesMinimalSurfaces
MinimalSurfaces
 
A Rapid Location Independent Full Tensor Gravity Algorithm
A Rapid Location Independent Full Tensor Gravity AlgorithmA Rapid Location Independent Full Tensor Gravity Algorithm
A Rapid Location Independent Full Tensor Gravity Algorithm
 
Rv2
Rv2Rv2
Rv2
 
CLIM Fall 2017 Course: Statistics for Climate Research, Geostats for Large Da...
CLIM Fall 2017 Course: Statistics for Climate Research, Geostats for Large Da...CLIM Fall 2017 Course: Statistics for Climate Research, Geostats for Large Da...
CLIM Fall 2017 Course: Statistics for Climate Research, Geostats for Large Da...
 
The Method of regularized Stokeslets
The Method of regularized StokesletsThe Method of regularized Stokeslets
The Method of regularized Stokeslets
 
Vector calculus 1st 2
Vector calculus 1st 2Vector calculus 1st 2
Vector calculus 1st 2
 
Notes 3-5
Notes 3-5Notes 3-5
Notes 3-5
 
Energy Transformation of a Rolling Sphere
Energy Transformation of a Rolling SphereEnergy Transformation of a Rolling Sphere
Energy Transformation of a Rolling Sphere
 
A study on connectivity in graph theory june 18 pdf
A study on connectivity in graph theory  june 18 pdfA study on connectivity in graph theory  june 18 pdf
A study on connectivity in graph theory june 18 pdf
 
CLIM Fall 2017 Course: Statistics for Climate Research, Analysis for Climate ...
CLIM Fall 2017 Course: Statistics for Climate Research, Analysis for Climate ...CLIM Fall 2017 Course: Statistics for Climate Research, Analysis for Climate ...
CLIM Fall 2017 Course: Statistics for Climate Research, Analysis for Climate ...
 
FEA - Simple Analysis example
FEA - Simple Analysis exampleFEA - Simple Analysis example
FEA - Simple Analysis example
 
Mimization of uncertainties in numerical aerodynamics
Mimization of uncertainties in numerical aerodynamicsMimization of uncertainties in numerical aerodynamics
Mimization of uncertainties in numerical aerodynamics
 
Centroid and Centre of Gravity
Centroid and Centre of GravityCentroid and Centre of Gravity
Centroid and Centre of Gravity
 
Hat04 0203
Hat04 0203Hat04 0203
Hat04 0203
 
30; allometry in testudo sulcata; a reappraisal
30; allometry in testudo sulcata; a reappraisal30; allometry in testudo sulcata; a reappraisal
30; allometry in testudo sulcata; a reappraisal
 
ACME2016-extendedAbstract
ACME2016-extendedAbstractACME2016-extendedAbstract
ACME2016-extendedAbstract
 
CLIM Fall 2017 Course: Statistics for Climate Research, Climate Informatics -...
CLIM Fall 2017 Course: Statistics for Climate Research, Climate Informatics -...CLIM Fall 2017 Course: Statistics for Climate Research, Climate Informatics -...
CLIM Fall 2017 Course: Statistics for Climate Research, Climate Informatics -...
 

Andere mochten auch

Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
The Statistical and Applied Mathematical Sciences Institute
 

Andere mochten auch (20)

CLIM Undergraduate Workshop: Undergraduate Workshop Introduction - Elvan Ceyh...
CLIM Undergraduate Workshop: Undergraduate Workshop Introduction - Elvan Ceyh...CLIM Undergraduate Workshop: Undergraduate Workshop Introduction - Elvan Ceyh...
CLIM Undergraduate Workshop: Undergraduate Workshop Introduction - Elvan Ceyh...
 
CLIM Undergraduate Workshop: (Attachment) Performing Extreme Value Analysis (...
CLIM Undergraduate Workshop: (Attachment) Performing Extreme Value Analysis (...CLIM Undergraduate Workshop: (Attachment) Performing Extreme Value Analysis (...
CLIM Undergraduate Workshop: (Attachment) Performing Extreme Value Analysis (...
 
CLIM Undergraduate Workshop: Extreme Value Analysis for Climate Research - Wh...
CLIM Undergraduate Workshop: Extreme Value Analysis for Climate Research - Wh...CLIM Undergraduate Workshop: Extreme Value Analysis for Climate Research - Wh...
CLIM Undergraduate Workshop: Extreme Value Analysis for Climate Research - Wh...
 
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
CLIM Undergraduate Workshop: Tutorial on R Software - Huang Huang, Oct 23, 2017
 
CLIM Undergraduate Workshop: How was this Made?: Making Dirty Data into Somet...
CLIM Undergraduate Workshop: How was this Made?: Making Dirty Data into Somet...CLIM Undergraduate Workshop: How was this Made?: Making Dirty Data into Somet...
CLIM Undergraduate Workshop: How was this Made?: Making Dirty Data into Somet...
 
CLIM Undergraduate Workshop: Applications in Climate Context - Michael Wehner...
CLIM Undergraduate Workshop: Applications in Climate Context - Michael Wehner...CLIM Undergraduate Workshop: Applications in Climate Context - Michael Wehner...
CLIM Undergraduate Workshop: Applications in Climate Context - Michael Wehner...
 
CLIM Undergraduate Workshop: Statistical Development and challenges for Paleo...
CLIM Undergraduate Workshop: Statistical Development and challenges for Paleo...CLIM Undergraduate Workshop: Statistical Development and challenges for Paleo...
CLIM Undergraduate Workshop: Statistical Development and challenges for Paleo...
 
Summer Program on Transportation Statistics, Dynamic Modeling of Transportati...
Summer Program on Transportation Statistics, Dynamic Modeling of Transportati...Summer Program on Transportation Statistics, Dynamic Modeling of Transportati...
Summer Program on Transportation Statistics, Dynamic Modeling of Transportati...
 
Summer Program on Transportation Statistics, What about the Driver in Driver...
Summer Program on Transportation Statistics, What about the Driver in  Driver...Summer Program on Transportation Statistics, What about the Driver in  Driver...
Summer Program on Transportation Statistics, What about the Driver in Driver...
 
Summer Program on Transportation Statistics, Assessing Crash Risk for Highly ...
Summer Program on Transportation Statistics, Assessing Crash Risk for Highly ...Summer Program on Transportation Statistics, Assessing Crash Risk for Highly ...
Summer Program on Transportation Statistics, Assessing Crash Risk for Highly ...
 
Summer Program on Transportation Statistics, Statistical Challenges for Advan...
Summer Program on Transportation Statistics, Statistical Challenges for Advan...Summer Program on Transportation Statistics, Statistical Challenges for Advan...
Summer Program on Transportation Statistics, Statistical Challenges for Advan...
 
Summer Program on Transportation Statistics, Why Highway Crashes Have Recurri...
Summer Program on Transportation Statistics, Why Highway Crashes Have Recurri...Summer Program on Transportation Statistics, Why Highway Crashes Have Recurri...
Summer Program on Transportation Statistics, Why Highway Crashes Have Recurri...
 
CLIM Fall 2017 Course: Statistics for Climate Research, Guest lecture: Data F...
CLIM Fall 2017 Course: Statistics for Climate Research, Guest lecture: Data F...CLIM Fall 2017 Course: Statistics for Climate Research, Guest lecture: Data F...
CLIM Fall 2017 Course: Statistics for Climate Research, Guest lecture: Data F...
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
 
CLIM Fall 2017 Course: Statistics for Climate Research, Detection & Attributi...
CLIM Fall 2017 Course: Statistics for Climate Research, Detection & Attributi...CLIM Fall 2017 Course: Statistics for Climate Research, Detection & Attributi...
CLIM Fall 2017 Course: Statistics for Climate Research, Detection & Attributi...
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
 
CLIM Fall 2017 Course: Statistics for Climate Research, Estimating Curves and...
CLIM Fall 2017 Course: Statistics for Climate Research, Estimating Curves and...CLIM Fall 2017 Course: Statistics for Climate Research, Estimating Curves and...
CLIM Fall 2017 Course: Statistics for Climate Research, Estimating Curves and...
 
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
Program on Mathematical and Statistical Methods for Climate and the Earth Sys...
 

Ähnlich wie CLIM Undergraduate Workshop: Introduction to Spatial Data Analysis with R - Maggie Johnson, Oct 23, 2017

Bigdatanauiduihaunjcinacssdzhniuasdb ahcbsibcas
Bigdatanauiduihaunjcinacssdzhniuasdb ahcbsibcasBigdatanauiduihaunjcinacssdzhniuasdb ahcbsibcas
Bigdatanauiduihaunjcinacssdzhniuasdb ahcbsibcas
king896096
 
3z03 lec7(1)
3z03 lec7(1)3z03 lec7(1)
3z03 lec7(1)
izwarjhe
 
Verification of Newton’s Law of Motion by Atwood Machine.
Verification of Newton’s Law of Motion by Atwood Machine.Verification of Newton’s Law of Motion by Atwood Machine.
Verification of Newton’s Law of Motion by Atwood Machine.
AbdulMubinBiswas
 

Ähnlich wie CLIM Undergraduate Workshop: Introduction to Spatial Data Analysis with R - Maggie Johnson, Oct 23, 2017 (20)

Electro-magnetics Lecture1; Dr. Kamal Ramadan
Electro-magnetics Lecture1; Dr. Kamal RamadanElectro-magnetics Lecture1; Dr. Kamal Ramadan
Electro-magnetics Lecture1; Dr. Kamal Ramadan
 
Materi_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdfMateri_Business_Intelligence_1.pdf
Materi_Business_Intelligence_1.pdf
 
6 Concor
6 Concor6 Concor
6 Concor
 
6 Concor
6 Concor6 Concor
6 Concor
 
Climate Extremes Workshop - The Dependence Between Extreme Precipitation and...
Climate Extremes Workshop -  The Dependence Between Extreme Precipitation and...Climate Extremes Workshop -  The Dependence Between Extreme Precipitation and...
Climate Extremes Workshop - The Dependence Between Extreme Precipitation and...
 
Integrative Bayesian Analysis in RevBayes
Integrative Bayesian Analysis in RevBayesIntegrative Bayesian Analysis in RevBayes
Integrative Bayesian Analysis in RevBayes
 
WavesAppendix.pdf
WavesAppendix.pdfWavesAppendix.pdf
WavesAppendix.pdf
 
Bigdatanauiduihaunjcinacssdzhniuasdb ahcbsibcas
Bigdatanauiduihaunjcinacssdzhniuasdb ahcbsibcasBigdatanauiduihaunjcinacssdzhniuasdb ahcbsibcas
Bigdatanauiduihaunjcinacssdzhniuasdb ahcbsibcas
 
Graphing
GraphingGraphing
Graphing
 
amer.math.monthly.124.2.179.pdf
amer.math.monthly.124.2.179.pdfamer.math.monthly.124.2.179.pdf
amer.math.monthly.124.2.179.pdf
 
3z03 lec7(1)
3z03 lec7(1)3z03 lec7(1)
3z03 lec7(1)
 
PART I.3 - Physical Mathematics
PART I.3 - Physical MathematicsPART I.3 - Physical Mathematics
PART I.3 - Physical Mathematics
 
Statics week01
Statics week01Statics week01
Statics week01
 
stats_ch12.pdf
stats_ch12.pdfstats_ch12.pdf
stats_ch12.pdf
 
Verification of Newton’s Law of Motion by Atwood Machine.
Verification of Newton’s Law of Motion by Atwood Machine.Verification of Newton’s Law of Motion by Atwood Machine.
Verification of Newton’s Law of Motion by Atwood Machine.
 
Soil dyn __3 corr
Soil dyn __3 corrSoil dyn __3 corr
Soil dyn __3 corr
 
Completion talk 02
Completion talk 02Completion talk 02
Completion talk 02
 
CLIM Program: Remote Sensing Workshop, Multi-resolution Approaches for Big Sp...
CLIM Program: Remote Sensing Workshop, Multi-resolution Approaches for Big Sp...CLIM Program: Remote Sensing Workshop, Multi-resolution Approaches for Big Sp...
CLIM Program: Remote Sensing Workshop, Multi-resolution Approaches for Big Sp...
 
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
Program on Quasi-Monte Carlo and High-Dimensional Sampling Methods for Applie...
 
Af4301172180
Af4301172180Af4301172180
Af4301172180
 

Mehr von The Statistical and Applied Mathematical Sciences Institute

Causal Inference Opening Workshop - Smooth Extensions to BART for Heterogeneo...
Causal Inference Opening Workshop - Smooth Extensions to BART for Heterogeneo...Causal Inference Opening Workshop - Smooth Extensions to BART for Heterogeneo...
Causal Inference Opening Workshop - Smooth Extensions to BART for Heterogeneo...
The Statistical and Applied Mathematical Sciences Institute
 
Causal Inference Opening Workshop - Difference-in-differences: more than meet...
Causal Inference Opening Workshop - Difference-in-differences: more than meet...Causal Inference Opening Workshop - Difference-in-differences: more than meet...
Causal Inference Opening Workshop - Difference-in-differences: more than meet...
The Statistical and Applied Mathematical Sciences Institute
 
Causal Inference Opening Workshop - New Statistical Learning Methods for Esti...
Causal Inference Opening Workshop - New Statistical Learning Methods for Esti...Causal Inference Opening Workshop - New Statistical Learning Methods for Esti...
Causal Inference Opening Workshop - New Statistical Learning Methods for Esti...
The Statistical and Applied Mathematical Sciences Institute
 
Causal Inference Opening Workshop - Bipartite Causal Inference with Interfere...
Causal Inference Opening Workshop - Bipartite Causal Inference with Interfere...Causal Inference Opening Workshop - Bipartite Causal Inference with Interfere...
Causal Inference Opening Workshop - Bipartite Causal Inference with Interfere...
The Statistical and Applied Mathematical Sciences Institute
 
Causal Inference Opening Workshop - Bracketing Bounds for Differences-in-Diff...
Causal Inference Opening Workshop - Bracketing Bounds for Differences-in-Diff...Causal Inference Opening Workshop - Bracketing Bounds for Differences-in-Diff...
Causal Inference Opening Workshop - Bracketing Bounds for Differences-in-Diff...
The Statistical and Applied Mathematical Sciences Institute
 
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
The Statistical and Applied Mathematical Sciences Institute
 

Mehr von The Statistical and Applied Mathematical Sciences Institute (20)

Causal Inference Opening Workshop - Latent Variable Models, Causal Inference,...
Causal Inference Opening Workshop - Latent Variable Models, Causal Inference,...Causal Inference Opening Workshop - Latent Variable Models, Causal Inference,...
Causal Inference Opening Workshop - Latent Variable Models, Causal Inference,...
 
2019 Fall Series: Special Guest Lecture - 0-1 Phase Transitions in High Dimen...
2019 Fall Series: Special Guest Lecture - 0-1 Phase Transitions in High Dimen...2019 Fall Series: Special Guest Lecture - 0-1 Phase Transitions in High Dimen...
2019 Fall Series: Special Guest Lecture - 0-1 Phase Transitions in High Dimen...
 
Causal Inference Opening Workshop - Causal Discovery in Neuroimaging Data - F...
Causal Inference Opening Workshop - Causal Discovery in Neuroimaging Data - F...Causal Inference Opening Workshop - Causal Discovery in Neuroimaging Data - F...
Causal Inference Opening Workshop - Causal Discovery in Neuroimaging Data - F...
 
Causal Inference Opening Workshop - Smooth Extensions to BART for Heterogeneo...
Causal Inference Opening Workshop - Smooth Extensions to BART for Heterogeneo...Causal Inference Opening Workshop - Smooth Extensions to BART for Heterogeneo...
Causal Inference Opening Workshop - Smooth Extensions to BART for Heterogeneo...
 
Causal Inference Opening Workshop - A Bracketing Relationship between Differe...
Causal Inference Opening Workshop - A Bracketing Relationship between Differe...Causal Inference Opening Workshop - A Bracketing Relationship between Differe...
Causal Inference Opening Workshop - A Bracketing Relationship between Differe...
 
Causal Inference Opening Workshop - Testing Weak Nulls in Matched Observation...
Causal Inference Opening Workshop - Testing Weak Nulls in Matched Observation...Causal Inference Opening Workshop - Testing Weak Nulls in Matched Observation...
Causal Inference Opening Workshop - Testing Weak Nulls in Matched Observation...
 
Causal Inference Opening Workshop - Difference-in-differences: more than meet...
Causal Inference Opening Workshop - Difference-in-differences: more than meet...Causal Inference Opening Workshop - Difference-in-differences: more than meet...
Causal Inference Opening Workshop - Difference-in-differences: more than meet...
 
Causal Inference Opening Workshop - New Statistical Learning Methods for Esti...
Causal Inference Opening Workshop - New Statistical Learning Methods for Esti...Causal Inference Opening Workshop - New Statistical Learning Methods for Esti...
Causal Inference Opening Workshop - New Statistical Learning Methods for Esti...
 
Causal Inference Opening Workshop - Bipartite Causal Inference with Interfere...
Causal Inference Opening Workshop - Bipartite Causal Inference with Interfere...Causal Inference Opening Workshop - Bipartite Causal Inference with Interfere...
Causal Inference Opening Workshop - Bipartite Causal Inference with Interfere...
 
Causal Inference Opening Workshop - Bridging the Gap Between Causal Literatur...
Causal Inference Opening Workshop - Bridging the Gap Between Causal Literatur...Causal Inference Opening Workshop - Bridging the Gap Between Causal Literatur...
Causal Inference Opening Workshop - Bridging the Gap Between Causal Literatur...
 
Causal Inference Opening Workshop - Some Applications of Reinforcement Learni...
Causal Inference Opening Workshop - Some Applications of Reinforcement Learni...Causal Inference Opening Workshop - Some Applications of Reinforcement Learni...
Causal Inference Opening Workshop - Some Applications of Reinforcement Learni...
 
Causal Inference Opening Workshop - Bracketing Bounds for Differences-in-Diff...
Causal Inference Opening Workshop - Bracketing Bounds for Differences-in-Diff...Causal Inference Opening Workshop - Bracketing Bounds for Differences-in-Diff...
Causal Inference Opening Workshop - Bracketing Bounds for Differences-in-Diff...
 
Causal Inference Opening Workshop - Assisting the Impact of State Polcies: Br...
Causal Inference Opening Workshop - Assisting the Impact of State Polcies: Br...Causal Inference Opening Workshop - Assisting the Impact of State Polcies: Br...
Causal Inference Opening Workshop - Assisting the Impact of State Polcies: Br...
 
Causal Inference Opening Workshop - Experimenting in Equilibrium - Stefan Wag...
Causal Inference Opening Workshop - Experimenting in Equilibrium - Stefan Wag...Causal Inference Opening Workshop - Experimenting in Equilibrium - Stefan Wag...
Causal Inference Opening Workshop - Experimenting in Equilibrium - Stefan Wag...
 
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
Causal Inference Opening Workshop - Targeted Learning for Causal Inference Ba...
 
Causal Inference Opening Workshop - Bayesian Nonparametric Models for Treatme...
Causal Inference Opening Workshop - Bayesian Nonparametric Models for Treatme...Causal Inference Opening Workshop - Bayesian Nonparametric Models for Treatme...
Causal Inference Opening Workshop - Bayesian Nonparametric Models for Treatme...
 
2019 Fall Series: Special Guest Lecture - Adversarial Risk Analysis of the Ge...
2019 Fall Series: Special Guest Lecture - Adversarial Risk Analysis of the Ge...2019 Fall Series: Special Guest Lecture - Adversarial Risk Analysis of the Ge...
2019 Fall Series: Special Guest Lecture - Adversarial Risk Analysis of the Ge...
 
2019 Fall Series: Professional Development, Writing Academic Papers…What Work...
2019 Fall Series: Professional Development, Writing Academic Papers…What Work...2019 Fall Series: Professional Development, Writing Academic Papers…What Work...
2019 Fall Series: Professional Development, Writing Academic Papers…What Work...
 
2019 GDRR: Blockchain Data Analytics - Machine Learning in/for Blockchain: Fu...
2019 GDRR: Blockchain Data Analytics - Machine Learning in/for Blockchain: Fu...2019 GDRR: Blockchain Data Analytics - Machine Learning in/for Blockchain: Fu...
2019 GDRR: Blockchain Data Analytics - Machine Learning in/for Blockchain: Fu...
 
2019 GDRR: Blockchain Data Analytics - QuTrack: Model Life Cycle Management f...
2019 GDRR: Blockchain Data Analytics - QuTrack: Model Life Cycle Management f...2019 GDRR: Blockchain Data Analytics - QuTrack: Model Life Cycle Management f...
2019 GDRR: Blockchain Data Analytics - QuTrack: Model Life Cycle Management f...
 

Kürzlich hochgeladen

+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
seri bangash
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
PirithiRaju
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
Areesha Ahmad
 

Kürzlich hochgeladen (20)

Grade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its FunctionsGrade 7 - Lesson 1 - Microscope and Its Functions
Grade 7 - Lesson 1 - Microscope and Its Functions
 
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verifiedSector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
Sector 62, Noida Call girls :8448380779 Model Escorts | 100% verified
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
The Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptxThe Mariana Trench remarkable geological features on Earth.pptx
The Mariana Trench remarkable geological features on Earth.pptx
 
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.Molecular markers- RFLP, RAPD, AFLP, SNP etc.
Molecular markers- RFLP, RAPD, AFLP, SNP etc.
 
Clean In Place(CIP).pptx .
Clean In Place(CIP).pptx                 .Clean In Place(CIP).pptx                 .
Clean In Place(CIP).pptx .
 
Factory Acceptance Test( FAT).pptx .
Factory Acceptance Test( FAT).pptx       .Factory Acceptance Test( FAT).pptx       .
Factory Acceptance Test( FAT).pptx .
 
Zoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdfZoology 5th semester notes( Sumit_yadav).pdf
Zoology 5th semester notes( Sumit_yadav).pdf
 
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate ProfessorThyroid Physiology_Dr.E. Muralinath_ Associate Professor
Thyroid Physiology_Dr.E. Muralinath_ Associate Professor
 
GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)GBSN - Microbiology (Unit 1)
GBSN - Microbiology (Unit 1)
 
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdfPests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
Pests of cotton_Borer_Pests_Binomics_Dr.UPR.pdf
 
Forensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdfForensic Biology & Its biological significance.pdf
Forensic Biology & Its biological significance.pdf
 
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 60009654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
9654467111 Call Girls In Raj Nagar Delhi Short 1500 Night 6000
 
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptxPSYCHOSOCIAL NEEDS. in nursing II sem pptx
PSYCHOSOCIAL NEEDS. in nursing II sem pptx
 
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit flypumpkin fruit fly, water melon fruit fly, cucumber fruit fly
pumpkin fruit fly, water melon fruit fly, cucumber fruit fly
 
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and SpectrometryFAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
FAIRSpectra - Enabling the FAIRification of Spectroscopy and Spectrometry
 
Introduction to Viruses
Introduction to VirusesIntroduction to Viruses
Introduction to Viruses
 
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
Locating and isolating a gene, FISH, GISH, Chromosome walking and jumping, te...
 
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceuticsPulmonary drug delivery system M.pharm -2nd sem P'ceutics
Pulmonary drug delivery system M.pharm -2nd sem P'ceutics
 
Conjugation, transduction and transformation
Conjugation, transduction and transformationConjugation, transduction and transformation
Conjugation, transduction and transformation
 

CLIM Undergraduate Workshop: Introduction to Spatial Data Analysis with R - Maggie Johnson, Oct 23, 2017

  • 1. An Introduction to Spatial Data Analysis Maggie Johnson Statistical and Applied Mathematical Sciences Institute North Carolina State University mjohnson@samsi.info CLIM Undergraduate Workshop M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 1 / 27
  • 2. Dependent Data The First Law of Geography “Everything is related to everything else, but near things are more related than distant things.” – Waldo Tobler Time AirPassengers 1950 1952 1954 1956 1958 1960 100400 Figure: Time series data −92 −90 −88 −86 −84 38404244 0 50 100 150 June 18, 1987 Ozone Conc Figure: Spatial data M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 2 / 27
  • 3. Spatial Data The term spatial data is often used to refer to data that are connected to physical geographical locations. Notation: D ⊂ Rd represents the spatial domain, usually d = 2 s ∈ D is a d-dimensional vector representing a “location” in space. e.g. s ≡ (longitude, latitude) Three main types of spatial data Point-referenced (geostatistical) data Areal-referenced data Point process data M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 3 / 27
  • 4. Point-Referenced Data Features: Data are observations of a continuous spatial process We only observed data at a subset of fixed locations Goals: Main goal is often prediction at unobserved locations Examples: Daily maximum temperature data collected at land surface monitoring stations across the US Ozone concentration measured at stations M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 4 / 27
  • 5. Point-Referenced (Geostatistical) Data −86 −84 −82 −80 −78 34353637383940 GHCN Station Locations −86 −84 −82 −80 −78 34353637383940 22 24 26 28 30 32 July Average Max Temp M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 5 / 27
  • 6. Focus for Today Point referenced data (geostatistics) Prediction at unobserved loations M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 6 / 27
  • 7. Data Average Maximum July Temperature and Elevation −86 −84 −82 −80 −78 34353637383940 22 24 26 28 30 32 Avg Maximum July Temp −86 −84 −82 −80 −78 34353637383940 200 400 600 800 1000 1200 1400 Elevation M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 7 / 27
  • 8. Correlation Correlation: A numeric measure of the relationship between two variables, ranges between -1 and 1. If two variables are correlated, knowing the value of one variable provides information about what we expect the value of the other variable should be. −2 −1 0 1 2 3 −2−1012 Corr = 0.81 x y −2 −1 0 1 2 3 −3−2−1012 Corr = −0.56 x y M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 8 / 27
  • 9. Average Maximum July Temperature and Elevation 0 500 1000 1500 222426283032 Corr = −0.82 Elevation AvgJulyMaxTemp M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 9 / 27
  • 10. Exploring Spatial Dependence Correlogram An exploratory visualization of the correlation between locations as a function of distance. 1 Compute the pairwise distance between all locations dist(s1, s2) = (lat1 − lat2)2 + (lon1 − lon2)2 2 Bin distances into a set of groups, estimate correlation 3 Plot estimated correlations against distance M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 10 / 27
  • 11. Exploring Spatial Dependence 0 1 2 3 4 5 6 7 −1.0−0.50.00.51.0 Avg July Temp Distance Correlation 0 1 2 3 4 5 6 7 −1.0−0.50.00.51.0 Independent Data Distance Correlation M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 11 / 27
  • 12. Linear Regression Model The classical simple linear regression model assumes ObservedValue = β0 + Covariate∗ β1 + error For example, ObservedTemperature(s) = β0 + Elevation(s)∗ β1 + error(s) is the linear model defining temperature at a location (s) as a linear function of elevation at that location. errors are assumed independent and normally distributed (N(0, σ2 )) β0, β1 and σ2 are unknown, so to use the model we need to estimate them (use R!) M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 12 / 27
  • 13. Average Maximum July Temperature and Elevation Idea is to find “best fit line”, y = mx + b to the data Using R, we get Temp = 32.666 + Elev∗ (−0.0065) 0 500 1000 1500 222426283032 Elevation AvgJulyMaxTemp M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 13 / 27
  • 14. Prediction using the simple linear regression model Once we’ve estimated the model, as long as we have a value of elevation at a new location s0 we can predict temperature at that location. PredictedTemp(s0) = 32.366 + Elevation(s0)∗ (−0.0065) −86 −84 −82 −80 −78 34353637383940 24 26 28 30 32 Predictions M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 14 / 27
  • 15. How reasonable are the predictions? Look at the residuals, Observed Temp(s) - Predicted Temp(s) Residuals indicate the “errors” made by our model Remember the model assumes errors are random and independent of each other −86 −84 −82 −80 −78 34353637383940 −2 −1 0 1 Elevation Residuals M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 15 / 27
  • 16. Spatial correlation in the residuals? Look at a correlogram of the residuals 0 1 2 3 4 5 6 7 −1.0−0.50.00.51.0 Empirical Correlogram Distance Correlation M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 16 / 27
  • 17. Add Latitude and Longitude PredTemp(s) = 49.037 + Lat(s)∗ (−0.48) + Long(s)∗ (−0.13) + Elev(s)∗ (−0.006) −86 −84 −82 −80 −78 34353637383940 24 26 28 30 32 Predictions M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 17 / 27
  • 18. Look at the residuals −86 −84 −82 −80 −78 34353637383940 −1.5 −1.0 −0.5 0.0 0.5 1.0 Long + Lat + Elev Residuals M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 18 / 27
  • 19. Spatial correlation in the residuals? Look at a correlogram of the residuals 0 1 2 3 4 5 6 7 −1.0−0.50.00.51.0 Empirical Correlogram Distance Correlation How do we incorporate the remaining dependence between locations into the model? M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 19 / 27
  • 20. Additive Geostatistical Modeling An additive spatial regression model includes an additional component to model the remaining spatial dependence in the residuals. Observation(s) = Regression Terms(s) +g(s) + error(s) The g(s) term is a spatial process model which allows us to model the dependence between any two locations as a function of the distance between them. g(s) is assumed to be a Gaussian process Models the dependence between any two locations through a specified correlation (or covariance) function, which have additional parameters that need to be estimated (use R!) Think fitting a curve to the correlogram Commonly used functions are the exponential and Mat´ern M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 20 / 27
  • 21. Additive Geostatistical Modeling Prediction Prediction at a new location s0 is Prediction = Regression Terms + Weighted Sum of Observations Same idea as with the independent linear model, except now an additional weighted average of the observed data at all locations is included in the prediction. Data observed at locations closest to the prediction location have highest weights. Under this model, predictions can be obtained even in the absence of covariates! M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 21 / 27
  • 22. Geostatistical Model with Long, Lat as Covariates −86 −84 −82 −80 −78 34353637383940 26 28 30 32 Predictions −86 −84 −82 −80 −7834353637383940 0.4 0.5 0.6 0.7 0.8 0.9 1.0 Standard Errors M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 22 / 27
  • 23. Geostatistical Model with Long, Lat as Covariates M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 23 / 27
  • 24. Geostatistical Model with Long, Lat, as Covariates 2 4 6 8 −1.0−0.50.00.51.0 Empirical Correlogram Correlation −86 −84 −82 −80 −78 34353637383940 −4 −3 −2 −1 0 1 Residuals M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 24 / 27
  • 25. Geostatistical Model with Long, Lat, Elevation as Covariates −86 −84 −82 −80 −78 34353637383940 22 24 26 28 30 32 Predictions M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 25 / 27
  • 26. Geostatistical Model with Long, Lat as Covariates M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 26 / 27
  • 27. Geostatistical Model with Long, Lat, Elevation as Covariates 0 2 4 6 8 −1.0−0.50.00.51.0 Empirical Correlogram Correlation −86 −84 −82 −80 −78 34353637383940 −0.5 0.0 0.5 Residuals M. Johnson (SAMSI) CLIM Undergrad Wksh October 23, 2017 27 / 27