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.

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

ppm(simdat, ~1, <strong>in</strong>teraction = Strauss)<br />

log PL<br />

−17.5 −16.5 −15.5 −14.5<br />

0.0 0.5 1.0 1.5 2.0<br />

To extract the f<strong>in</strong>al fitted model,<br />

> pfit$fit<br />

Stationary Strauss process<br />

First order term:<br />

beta<br />

2.583110<br />

Interaction: Strauss process<br />

<strong>in</strong>teraction distance: 0.275<br />

Fitted <strong>in</strong>teraction parameter gamma: 0.5631<br />

Relevant coefficients:<br />

Interaction<br />

-0.5743608<br />

There is a summary method for these objects as well.<br />

27.7 Improvements over maximum pseudolikelihood<br />

r<br />

Maximum pseudolikelihood is quick and dirty. There are statistically more efficient alternatives,<br />

but they are computationally <strong>in</strong>tensive.<br />

Currently we have implemented the easiest of these alternatives, the Huang-Ogata [43] onestep<br />

approximation to maximum likelihood. Start<strong>in</strong>g from the maximum pseudolikelihood estimate<br />

ˆθ PL , we simulate M <strong>in</strong>dependent realisations of the model with parameters ˆθ PL , evaluate<br />

the canonical sufficient statistics, and use them to form estimates of the score and Fisher <strong>in</strong>formation<br />

at θ = ˆθ PL . Then we take one Newton-Raphson step, updat<strong>in</strong>g the value of θ.<br />

The rationale is that the log-likelihood is approximately quadratic <strong>in</strong> a neighbourhood of the<br />

maximum pseudolikelihood estimator, so that one Newton-Raphson step is almost enough.<br />

To use the Huang-Ogata method <strong>in</strong>stead of maximum pseudolikelihood, add the argument<br />

method="ho".<br />

> fit fit<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!