| pathsampling.mpp {MppMLE} | R Documentation |
Log likelihood ratios for Markov point processes are computed using path sampling and importance sampling.
pathsampling.mpp=function(inhompar0,interactpar0,inhompar1,interactpar1,interactradii,nogrid,smpsize,space,data,border,model,torus=F)
inhompar0, interactpar0, inhompar1, interactpar1, interactradii |
parameters for Markov point processes, see details on models |
nogrid |
number of quadrature points in trapezoidal approximation of inner integral in pathsampling formula |
smpsize |
size of MCMC sample used for estimation of score and observed information |
space |
specifies subsampling of birth-death Markov chain |
data |
a ppp spatstat object. |
border |
border correction. The reduced observation window is obtained by trimming off a margin of width
border from the observation window of the data pattern. If
zero, no border correction is used. |
torus |
if true, toroidal edge correction is used. |
This function computes log likelihood ratios corresponding to two sets of parameters for a Markov point process model. Note same interaction radii is used for both sets of parameters. The computational methods are pathsampling and importance sampling, see Moeller and Waagepetersen (2003) for details.
1 implements the overlap process used for Norwegian spruces data in Moeller and Waagepetersen (2003). In this case interactradii[0] specifies the factor for computing influence zones.
2 is a multitype (0 or 1) Strauss process where inhompar contains coefficients for a fourth-order polynomial in the y coordinate while interactpar contains 3 interactionparameters for interactions between type 0 points, between type 0 and type 1 points, and between type 1 points. The interaction radius is given in interactradii.
3 is as 2 but only one interactionparameter is used regardless of type of the points.
4 is the hierarchical model used for ants's nests in Moeller and Waagepetersen (2006).
A list with components: loglikeratio, loglikeratioimp (log likelihood
ratios computed using pathsampling and importance sampling,
respectively), part (parameter values along path), and integrand (values of integrand for inner integral
in pathsampling formula evaluated at quadrature points).
Rasmus Waagepetersen rw@math.aau.dk http://www.math.aau.dk/~rw
Moeller, J. and Waagepetersen, R. (2003) Statistical inference and simulation of spatial point processes. Chapman & Hall/CRC Press, Boca Raton.
Moeller, J. and Waagepetersen, R. (2006) Modern statistics for spatial point processes. (prepared as a discussion paper for Scandinavian Journal of Statistics).