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

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

168 Fitt<strong>in</strong>g Gibbs models<br />

27.5 Simulation from fitted models<br />

A fitted Gibbs model can also be simulated automatically us<strong>in</strong>g rmh.<br />

> fit Xsim plot(Xsim, ma<strong>in</strong> = "Simulation from fitted Strauss model")<br />

Simulation from fitted Strauss model<br />

The envelope command will also generate simulation envelopes for a fitted model.<br />

> plot(envelope(fit, nsim = 39))<br />

envelope(fit, nsim = 39)<br />

K(r)<br />

0 500 1000 1500<br />

obs<br />

mmean<br />

hi<br />

lo<br />

0 5 10 15 20<br />

r (one unit = 0.1 metres)<br />

27.6 Deal<strong>in</strong>g with nuisance parameters<br />

Irregular parameters, such as the <strong>in</strong>teraction radius r <strong>in</strong> the Strauss process, cannot be estimated<br />

directly us<strong>in</strong>g ppm. Indeed the statistical theory for estimat<strong>in</strong>g such parameters is unclear.<br />

For some special cases, a maximum likelihood estimator of the nuisance parameter is available.<br />

For example, for the ‘hard core process’ (Strauss process with <strong>in</strong>teraction parameter γ = 0)<br />

with <strong>in</strong>teraction radius r, the maximum likelihood estimator is the m<strong>in</strong>imum nearest-neighbour<br />

distance. Thus the follow<strong>in</strong>g is a reasonable approach to the cells dataset:<br />

> rhat rhat ppm(cells, ~1, Strauss(r = rhat))<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!