High values of RSE (Relative Standard Error) indicate a high variability in the dataset, thus those
values are less reliable and vice-versa there RSE values are low data are more reliable because
there is less variance around the mean.
Since we dont know the actual value then we use the measured value that in our case is the
slope value. That means that there is a relationship between relative error and elevation. This can
be explained by saying that the true value will be represented by the measurement of its
relative error. The lower the relative error is the better the slope will match to the unknown true
value.
PART II
1. Delta.vg<- variogram(delta~1, control)
plot(deltavg)
Question: Does the spatial autocorrelation structure of the errors in the DEM affect the
outcome of the error propagation procedure we tested for the slope?
The variogram shows that exists dependence between the errors contained in Delta. The
autocorrelation of errors in the DEM affects the procedure for the slope. The errors in the model
will be taken from the calculation of slope errors procedure since it will inherit those errors from
the model.
In case of spatial independence, the DEM will not be affected since errors in elevation of each
point will not be considered but only the value of its neighbors. As earlier explained, the
calculation of slope is based on cell resolution and value of their neighbors.
2. delta.mvg<-fit.variogram(delta.vg, model = vgm(1, "Exp", 700, 1))
plot(delta.vg,delta.mvg)
distance
s
e
m
i v
a
r
i a
n
c
e
0.5
1.0
1.5
2.0
500 1000 1500
distance
s
e
m
i
v
a
r
i
a
n
c
e
0.5
1.0
1.5
2.0
500 1000 1500
Nugget= 1.5
Sill= 1.8
Range= 700
3. delta.ok=krige(delta~1,control,dem,delta.mvg,nmax=80)
spplot(delta.ok[1],col.regions=bpy.colors(),at=seq(-5,5,0.2))
Figure 1 Errors generated by Kriging Interpolation using Gstat function in R
Figure 2 Errors generated by function Random in Idrisi
The Kriging interpolated errors surface has an own structure that differs much from that one computed in Idrisi. It is
not possible to observe any elevation structure as the original one in DEM. That suggests that maybe in the case of
Kriging errors interpolation the spatial autocorrelation structure is not followed.
On the other hand, this does not mean that what Kriging is showing us is totally wrong. The predicted errors of
Kriging could just give a better representation of the real DEM where errors in input data should be equal with
those shown in the Kriging map in figure 1.
-4
-2
0
2
4
4.
hist(delta.ok$var1.pred)
Question: Are there any major differences in the statistics between the two (delta.ok
VS delta histogram)?
Errors in Delta.ok are further from mean of zero and its distribution looks asymmetrical
respect to that one in Delta. However, the mean is close to that one in Delta equal to
0.16908.
Histogram of delta.ok$var1.pred
delta.ok$var1.pred
F
r
e
q
u
e
n
c
y
-1.0 -0.5 0.0 0.5 1.0 1.5 2.0
0
1
0
0
0
2
0
0
0
3
0
0
0
4
0
0
0
Histogram of delta
delta
F
r
e
q
u
e
n
c
y
-5 0 5
0
5
0
1
0
0
1
5
0
2
0
0
2
5
0
3
0
0
5. delta.sim=krige(delta~1,control,dem,delta.mvg,nmax=50,nsim=2)
spplot(delta.sim[1],col.regions=bpy.colors(),at=seq(-5,5,0.2))
Figure 3 Conditional Gaussian Simulation
Figure 4 Random Simulation in Idrisi
The conditional Gaussian simulation Errors (figure 3) generated with gstat function looks
very similar with that done in Idrisi(figure 4). The only different is that in the Guassian
simulation is possible to note some cluster of errors that often represent those errors
where standard deviation from mean if very high (blue and yellow zones in figure 3).
-4
-2
0
2
4
6.
hist(delta.sim$sim1) & hist(delta.sim$sim2)
Figure 6 Delta histogram errors of DEM
Figure 8 Conditional Gaussian Simulation errors Sim1
The histogram of the conditional Gaussian simulation gives us a better normal
distribution of the errors (figures 8, 9). Data are symmetrical with a mean 0.1159 for
delta.sim$sim1 (fig. 8). Standard deviation is 1.35 for delta.sim$sim1 that is lower than
that one in Delta equal to 1.48. This mean that data in the Gaussian simulation are closer
to the mean of the errors. In other words, the values that are further spread out are those
values represented in yellow and blue colors in the map in figure 3.
Histogram of delta
delta
F
r
e
q
u
e
n
c
y
-5 0 5
0
5
0
1
0
0
1
5
0
2
0
0
2
5
0
3
0
0
Histogram of delta.sim$sim1
delta.sim$sim1
F
r
e
q
u
e
n
c
y
-4 -2 0 2 4
0
5
0
0
1
0
0
0
1
5
0
0
2
0
0
0
Histogram of delta.ok$var1.pred
delta.ok$var1.pred
F
r
e
q
u
e
n
c
y
-1.0 -0.5 0.0 0.5 1.0 1.5 2.0
0
1
0
0
0
2
0
0
0
3
0
0
0
4
0
0
0
Figure 5 Delta.ok histogram errors simulation
Histogram of delta.sim$sim2
delta.sim$sim2
F
r
e
q
u
e
n
c
y
-4 -2 0 2 4
0
5
0
0
1
0
0
0
1
5
0
0
2
0
0
0
Figure 7Figure 7 Conditional Gaussian
Simulation errors Sim2
7. --
8.
50 realizations of Conditional Gaussian Simulation
9.
Figure 9 Developing 50 realizations of DEM surface by using
the errors generated by Gaussian conditional simulations.
Figure 10 Results of 50 Realizations produced by using Gaussian Simulation
10.
Figure 11 Slope autocorrelation of all 50 disturbed DEMs
11.
Figure 12 Mean and SD of the disturbed slopes
Figure 16 Standard Deviation of slope (Part I 15)
Figure 13 Mean and SD of the disturbed slopes
12.
Figure 14 Standard Deviation of autocorrelation slope (PartII 11 )
Figure 16 Mean Autocorrelation slope (PartII 11)
The mean and the standard deviation from both simulation look alike. It is very difficult to see any difference.
Figure 17 Mean slope (PartI 15)
13.
The result of RSE looks similar with low values at the same positions and higher values almost at the same position
too in the center of the DEM. That means that both results equally describe if predicted data are reliable in our
model.
14.
With a stronger spatial autocorrelation in error sample, all errors will be strongly correlated and will not have a
mean of errors equal to 0. The elevations will have a systematic error that will lead to get some predictable model
that will depict as best as possible the true observed dataset.