logLik.mppm {spatstat}R Documentation

Log Likelihood for Poisson Point Process Model

Description

Extracts the log likelihood of a Poisson point process model that has been fitted to multiple point patterns

Usage

 ## S3 method for class 'mppm'
logLik(object, ...)

Arguments

object

Fitted point process model (fitted to multiple point patterns). An object of class "mppm".

...

Ignored.

Details

The maximised value of the log likelihood for the fitted model (as approximated by quadrature using the Berman-Turner approximation) is extracted.

If object is not a Poisson process, the maximised log pseudolikelihood is returned, with a warning.

Value

A numerical value.

Author(s)

Adrian Baddeley adrian.baddeley@uwa.edu.au http://www.maths.uwa.edu.au/~adrian/ and Rolf Turner rolf@math.unb.ca http://www.math.unb.ca/~rolf

See Also

mppm

Examples

  data(waterstriders)
  fit <- mppm(Bugs ~ x, hyperframe(Bugs=waterstriders))
  logLik(fit)
  AIC(fit)

[Package spatstat version 1.38-1 Index]