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.

33.3 Fitt<strong>in</strong>g Poisson models 209<br />

where α 1 ,... ,α 6 and β 1 ,...,β 6 are parameters. The <strong>in</strong>tensity is logl<strong>in</strong>ear <strong>in</strong> x with a different<br />

slope and <strong>in</strong>tercept for each mark.<br />

The result of ppm is aga<strong>in</strong> an object of class "ppm" represent<strong>in</strong>g a fitted <strong>po<strong>in</strong>t</strong> process model.<br />

To plot the fitted <strong>in</strong>tensity and conditional <strong>in</strong>tensity of the fitted model, use plot.ppm. For a<br />

multitype <strong>po<strong>in</strong>t</strong> process you will get a separate plot for each possible mark value.<br />

More complicated examples are:<br />

> ppm(lans<strong>in</strong>g, ~marks * polynom(x, y, 2))<br />

> ppm(lans<strong>in</strong>g, ~marks * harmonic(x, y, 2))<br />

33.3.4 Facilities available<br />

A fitted multitype Poisson process model can be manipulated us<strong>in</strong>g any of the methods available<br />

for the class ppm:<br />

pr<strong>in</strong>t pr<strong>in</strong>t basic <strong>in</strong>formation<br />

summary pr<strong>in</strong>t detailed summary <strong>in</strong>formation<br />

plot plot the fitted (conditional) <strong>in</strong>tensity<br />

predict fitted (conditional) <strong>in</strong>tensity<br />

fitted fitted (conditional) <strong>in</strong>tensity at data <strong>po<strong>in</strong>t</strong>s<br />

update re-fit the model<br />

coef extract the fitted coefficient vector ̂θ<br />

vcov variance-covariance matrix of ̂θ<br />

anova analysis of deviance<br />

logLik evaluate log-pseudolikelihood<br />

model.matrix extract design matrix<br />

formula extract trend formula of model<br />

terms extract terms <strong>in</strong> model formula<br />

The follow<strong>in</strong>g functions are also available:<br />

step stepwise model selection<br />

drop1 one step backward <strong>in</strong> model selection<br />

model.images compute images of canonical covariates <strong>in</strong> model<br />

effectfun fitted <strong>in</strong>tensity as function of one covariate<br />

A fitted multitype Poisson process model can be simulated automatically us<strong>in</strong>g rmh.ppm or<br />

simulate.ppm.<br />

Copyright<strong>CSIRO</strong> 2010

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

Saved successfully!

Ooh no, something went wrong!