target.and.grad.SpatioTemporalPlusPars: target.and.grad.SpatioTemporalPlusPars function

Description Usage Arguments Value

Description

A function to compute the target and gradient for the Bayesian spatiotemporal LGCP.

Usage

1
2
target.and.grad.SpatioTemporalPlusPars(GP, prior, Z, Zt, eta, beta, nis,
  cellarea, spatial, gradtrunc, ETA0, tdiff)

Arguments

GP

an object created using the stGPrealisation function

prior

the priors for hte model, created using lgcpPrior

Z

the design matrix on the FFT grid

Zt

the transpose of the design matrix

eta

the paramers eta

beta

the parameters beta

nis

the cell counts on the FFT grid

cellarea

the cell area

spatial

the poisson offset

gradtrunc

the gradient truncation parameter

ETA0

the initial value of eta

tdiff

vector of time differences between time points

Value

the target and gradient for the spatiotemporal model.


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