29.01.2015 Views

Analysing spatial point patterns in R - CSIRO

Analysing spatial point patterns in R - CSIRO

Analysing spatial point patterns in R - CSIRO

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

28.2 Residuals for Gibbs processes 173<br />

28.2 Residuals for Gibbs processes<br />

28.2.1 Def<strong>in</strong>ition<br />

Residuals for a general Gibbs model were def<strong>in</strong>ed only recently [12, 6]. The total residual <strong>in</strong> a<br />

region B ⊂ R 2 is def<strong>in</strong>ed as<br />

∫<br />

R(B) = n(x ∩ B) − ̂λ(u,x)du (47)<br />

B<br />

where aga<strong>in</strong> n(x ∩ B) is the observed number of <strong>po<strong>in</strong>t</strong>s <strong>in</strong> the region B, and ̂λ(u,x) is the<br />

conditional <strong>in</strong>tensity of the fitted model, evaluated for the data <strong>po<strong>in</strong>t</strong> pattern x. If the fitted<br />

model is correct, the residuals have mean zero.<br />

This def<strong>in</strong>ition is similar to the def<strong>in</strong>ition of residuals for Poisson processes (Section 16.2)<br />

except that the <strong>in</strong>tensity ̂λ(u) of the fitted Poisson process has been replaced by the conditional<br />

<strong>in</strong>tensity ̂λ(u,x) of the fitted Gibbs process evaluated for the data <strong>po<strong>in</strong>t</strong> pattern x.<br />

28.2.2 Residual plots<br />

Residuals for Gibbs processes can be plotted us<strong>in</strong>g the same techniques as <strong>in</strong> Section 16.2. Here<br />

is the four-panel plot:<br />

> diagnose.ppm(fit, type = "Pearson")<br />

cumulative sum of Pearson residuals<br />

0.5 0 −0.5 −1 −1.5<br />

cumulative sum of Pearson residuals<br />

−2 −1.5 −1 −0.5 0 0.5<br />

0 0.2 0.4 0.6 0.8 1<br />

y coord<strong>in</strong>ate<br />

5<br />

−4<br />

−2<br />

3<br />

4<br />

1<br />

2<br />

0<br />

−2<br />

−3<br />

−1<br />

−5<br />

−4<br />

−3<br />

−3<br />

−5<br />

−4<br />

−2<br />

−1<br />

0<br />

4<br />

6<br />

5<br />

1<br />

2<br />

7<br />

3<br />

0<br />

−1<br />

0 0.2 0.4 0.6 0.8 1<br />

x coord<strong>in</strong>ate<br />

Copyright<strong>CSIRO</strong> 2010

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!