C.diff.single.im: C.diff.single.im function

Description Usage Arguments Value

Description

A function to find the minimum contrast (squared discrepancy) value based on the the temporal autocorrelation function, for one specific value of theta (temporal scale) for the spatiotemporal LGCP. Only the exponential form is considered for the theoretical temporal correlation function. This also depends upon a static pair of values for the spatial scale and spatial variance of the latent Gaussian process (usually estimated first).

Usage

1
C.diff.single.im(theta, data, ps, Chat, vseq, spat, model)

Arguments

theta

Single numeric value for the parameter controlling the scale of temporal dependence in the frequency of observations.

data

Object of class stppp, giving the observed spatiotemporal data set.

ps

A numeric vector of length 2 giving fixed values of phi and sigma^2, in that order.

Chat

A numeric vector giving the nonparametric estimate of the temporal autocorrelation function at all temporal lags specified by vseq.

vseq

An increasing, equally spaced numeric vector giving the temporal distances at which the contrast criterion is to be evaluated.

spat

A density estimate of the fixed, possibly inhomogeneous, density of the underlying spatial trend. An object of class 'im' (spatstat). May be unnormalised; in which case it will be scaled to integrate to 1 over the spatial study region.

model

A character string specifying the form of the theoretical spatial correlation function (matches 'model' argument for CovarianceFct in the RandomFields packages).

Value

A single numeric value providing the minimum contrast value for the specified value of the theta argument.


bentaylor1/lgcp documentation built on May 12, 2019, 2:09 p.m.