It: Temporal Moran's I-statistics

Description Usage Arguments Details Value Author(s) References Examples

Description

Computes an estimator of the temporal Moran's I-statistics.

Usage

1
It(xyt,t.region,t.lambda,dt,kt="epanech",ht,correction="none",approach="simplified")

Arguments

xyt

Spatial coordinates and times (x,y,t) of the point pattern.

t.region

Vector containing the minimum and maximum values of the time interval.

t.lambda

Vector of values of the temporal intensity function evaluated at the points t in T. If t.lambda is missing, the estimate of the temporal mark correlation function is computed as for the homogeneous case, i.e. considering n/|T| as an estimate of the temporal intensity under the parameter approach="standardised".

dt

A vector of times v at which It(v) is computed.

kt

A kernel function for the temporal distances. The default is the "epanech" kernel. It can also be "box" for the uniform kernel, or "biweight".

ht

A bandwidth of the kernel function kt.

correction

A character vector specifying the edge-correction(s) to be applied among "isotropic", "border", "modified.border", "translate", "setcovf" and "none". The default is "none".

approach

A character vector specifying the approach to use for the estimation to be applied among "simplified" or "standardised". If approach is missing, "simplified" is considered by default.

Details

By default, this command calculates an estimate of the temporal Moran's I-statistics I(t) for a spatio-temporal point pattern.

Value

eImt

A vector containing the values of I(v) estimated.

dt

Parameter passed in argument. If dt is missing, a vector of temporal distances v at which It(v) is computed from 0 to until quarter of the maximum distance between the times in the temporal pattern.

kernel

Parameters passed in argument. A vector of names and bandwidth of the spatial kernel.

Imttheo

Value under the Poisson case is calculated considering the side lengths of the bounding box of xyt[,1:2].

Author(s)

Francisco J. Rodriguez Cortes <cortesf@uji.es> https://fjrodriguezcortes.wordpress.com

References

Baddeley, A., Rubak, E., Turner, R. (2015). Spatial Point Patterns: Methodology and Applications with R. CRC Press, Boca Raton.

Chiu, S. N., Stoyan, D., Kendall, W. S., and Mecke, J. (2013). Stochastic Geometry and its Applications. John Wiley & Sons.

Gabriel, E., Rowlingson, B., Diggle P J. (2013) stpp: an R package for plotting, simulating and analyzing Spatio-Temporal Point Patterns. Journal of Statistical Software 53, 1-29.

Illian, J B., Penttinen, A., Stoyan, H. and Stoyan, D. (2008). Statistical Analysis and Modelling of Spatial Point Patterns. John Wiley and Sons, London.

Stoyan, D., Rodriguez-Cortes, F. J., Mateu, J. and Wilfried, G. (2016). Mark variograms for spatio-temporal point processes, Submitted .

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
## Not run:
#################

# A realisation of spatio-temporal homogeneous Poisson point processes
hpp <- rpp(lambda = 100, replace = FALSE)$xyt

# R plot
plot(hpp)

# This function provides an kernel estimator of the temporal Moran's I-statistics
out <- It(hpp)

# R plot - Temporal Moran's I-statistics
par(mfrow=c(1,1))
xl <- c(0,0.25)
plot(out$dt,out$eImt,type="l",xlab="t = time",ylab=expression(I(t)),
                 xlim=xl,col=1,cex.lab=1.5,cex.axis=1.5)
lines(out$dt,rep(out$Imttheo,length(out$dt)),col=11)

## End(Not run)

frajaroco/msfstpp documentation built on May 16, 2019, 1:52 p.m.