Analysing spatial point patterns in R - CSIRO
Analysing spatial point patterns in R - CSIRO
Analysing spatial point patterns in R - CSIRO
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
134 Simulation envelopes and goodness-of-fit tests<br />
obs obs(r) observed value of K(r) for data pattern<br />
theo theo(r) theoretical value of K(r) for CSR<br />
lo lo(r) lower <strong>po<strong>in</strong>t</strong>wise envelope of K(r) from simulations<br />
hi hi(r) upper <strong>po<strong>in</strong>t</strong>wise envelope of K(r) from simulations<br />
--------------------------------------<br />
Default plot formula:<br />
. ~ r<br />
<br />
Recommended range of argument r: [0, 0.25]<br />
Available range of argument r: [0, 0.25]<br />
> plot(E, ma<strong>in</strong> = "<strong>po<strong>in</strong>t</strong>wise envelopes")<br />
<strong>po<strong>in</strong>t</strong>wise envelopes<br />
K(r)<br />
0.00 0.05 0.10 0.15 0.20<br />
obs<br />
theo<br />
hi<br />
lo<br />
0.00 0.05 0.10 0.15 0.20 0.25<br />
r<br />
For example if r had been fixed at r = 0.10 we would have rejected the null hypothesis of<br />
CSR at the 5% level. The value M = 39 is the smallest to yield a two-sided test with significance<br />
level 5%.<br />
Tip: A common and dangerous mistake is to mis<strong>in</strong>terpret the simulation envelopes<br />
as “confidence <strong>in</strong>tervals” around ˆK. They cannot be <strong>in</strong>terpreted as a measure of<br />
accuracy of the estimated K function! They are the critical values for a test of the<br />
hypothesis that K(r) = πr 2 . They assume that the pattern is completely<br />
random. [See Section 21 for ways of mak<strong>in</strong>g confidence <strong>in</strong>tervals for K(r).]<br />
The value returned by envelope is an object of class "fv" that can be manipulated <strong>in</strong><br />
the usual way: you can plot it, transform it, extract columns, and so on (see Section 19.6 on<br />
page 128).<br />
20.1.4 Simultaneous Monte Carlo test<br />
Note that the theory of the Monte Carlo test, as presented above, requires that r be fixed <strong>in</strong><br />
advance. If we plot the envelope and check whether the empirical K function ever wanders<br />
Copyright<strong>CSIRO</strong> 2010