SRE: Spatial random effects

Description Usage Arguments Details Value References

Description

Generate multiresolution spatial basis functions on a given domain

Usage

1
2
SRE(loc, n.1 = 16, n.res = 3, bw.scale = 1.5, res.scale = 3,
  xlim = NULL, ylim = NULL)

Arguments

loc

matrix of locations (both point observations and quadrature locations) that are to be included in the Cox process model. The columns must be named x and y.

n.1

number of basis functions that make up the first (coarsest) resolution

n.res

number of resolutions to use

bw.scale

multiplier used to set the bandwidths of the basis functions. Bandwidth for the kth resolution is set to bw.scale * min.dist, where min.dist is the minimum distance between basis function centers in the kth resolution (default is 1.5).

res.scale

relative increase in the number of basis functions to use for each resolution (default is 3)

xlim

bounds (in the x dimension) of the region to be spanned by the basis functions (optional)

ylim

bounds (in the y dimension) of the region to be spanned by the basis functions (optional)

Details

Use multiresolution bisquares to generate Cressie-style spatial random effects on a domain defined by bounds xlim and ylim (Cressie, 2008). The default is to use three spatial resolutions: coarse, mid, and fine (the number of resolutions is controlled by the parameter n.res). By default, the coarsest resolution consists of 16 basis functions (controlled by the parameter n.1) and each successive resolution has three times as many basis functions as the next coarser resolution (controlled by parameter \coseres.scale). Each basis function is a bisquare centered at some point, and the bandwidth of the bases at each resolution is proportional to the smallest distance between bisquare centers at that resolution (so the bandwidth gets smaller as the resolution gets finer, because with more basis functions at fine resolution, they are closer together). The actual value of the bandwidth for a specific resolution is obtained by finding the smallest disance between center points at that resolution, then multiplying that distance by parameter res.scale. The domain is a rectangle and if the xlim or ylim parameters are omitted, the extreme values of loc$x or loc$y will be substituted, respectively.

Value

SRE, the spatial random effect design matrix, with a row for each location and a column for each basis function. The (i,j)th entry of this matrix is the value of basis function j at location i.

References

Cressie, N., & Johannesson, G. (2008). Fixed rank kriging for very large spatial data sets. Journal of the Royal Statistical Society: Series B (Statistical Methodology), 70(1), 209-226.


wrbrooks/cox documentation built on May 4, 2019, 11:58 a.m.