computeGradtruncSpatial: computeGradtruncSpatial function

Description Usage Arguments Value See Also

Description

Advanced use only. A function to compute a gradient truncation parameter for 'spatial only' MALA via simulation. The function requires an FFT 'grid' to be pre-computed, see fftgrid.

Usage

1
2
computeGradtruncSpatial(nsims = 100, scale = 1, nis, mu, rootQeigs,
  invrootQeigs, scaleconst, spatial, cellarea)

Arguments

nsims

The number of simulations to use in computation of gradient truncation.

scale

multiplicative scaling constant, returned value is scale (times) max(gradient over simulations). Default scale is 1.

nis

cell counts on the extended grid

mu

parameter of latent field, mu

rootQeigs

root of eigenvalues of precision matrix of latent field

invrootQeigs

reciprocal root of eigenvalues of precision matrix of latent field

scaleconst

expected number of cases, or ML estimate of this quantity

spatial

spatial at risk interpolated onto grid of requisite size

cellarea

cell area

Value

gradient truncation parameter

See Also

fftgrid


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