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.

94 Tests of Complete Spatial Randomness<br />

14.6 Berman’s tests<br />

Berman [20] proposed two tests for the dependence of a <strong>po<strong>in</strong>t</strong> process on a <strong>spatial</strong> covariate.<br />

These tests are optimal aga<strong>in</strong>st a certa<strong>in</strong> class of alternatives. They are performed by the<br />

command bermantest which is analogous to kstest.<br />

> B plot(B)<br />

> B<br />

Berman Z1 test of CSR<br />

data: covariate Z evaluated at <strong>po<strong>in</strong>t</strong>s of bei<br />

Z1 = 10.844, p-value < 2.2e-16<br />

alternative hypothesis: two-sided<br />

Berman Z1 test of CSR<br />

based on distribution of covariate ...Z...<br />

Z1 statistic = 10.84<br />

p−value= 2.13e−27<br />

probability<br />

0.0 0.2 0.4 0.6 0.8 1.0<br />

0.00 0.05 0.10 0.15 0.20 0.25 0.30<br />

Z<br />

Two vertical l<strong>in</strong>es show the mean values of these distributions. If the model is correct, the<br />

two curves should be close; the test is based on compar<strong>in</strong>g the two vertical l<strong>in</strong>es.<br />

When the covariate Z is the distance to a <strong>spatial</strong> pattern, another useful diagnostic is Foxall’s<br />

J-function [40], available us<strong>in</strong>g Jfox.<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!