Function to produce forecasts for the mean field \(Y\) at times beyond the last time point in the
analysis (given by the argument T
in the function lgcpPredict
).
lgcpForecast(
lg,
ptimes,
spatial.intensity,
temporal.intensity,
inclusion = "touching"
)
an object of class lgcpPredict
vector of time points for prediction. Must start strictly after last inferred time point.
the fixed spatial component: an object of that can be coerced to one of class spatialAtRisk
the fixed temporal component: either a numeric vector, or a function that can be coerced into an object of class temporalAtRisk
criterion for cells being included into observation window. Either 'touching' or 'centroid'. The former includes all cells that touch the observation window, the latter includes all cells whose centroids are inside the observation window.
forcasted relative risk, Poisson intensities and Y values over grid, together with approximate variance.
Brix A, Diggle PJ (2001). Spatiotemporal Prediction for log-Gaussian Cox processes. Journal of the Royal Statistical Society, Series B, 63(4), 823-841.