carMaxBound: Calculate the upper bound for the autocorrelation parameter...

carMaxBoundR Documentation

Calculate the upper bound for the autocorrelation parameter of the dcar_proper distribution

Description

Calculate the upper bound for the gamma parameter of the dcar_proper distribution

Usage

carMaxBound(C, adj, num, M)

Arguments

C

vector of the same length as adj, giving the normalized weights associated with each pair of neighboring locations.

adj

vector of indices of the adjacent locations (neighbors) of each spatial location. This is a sparse representation of the full adjacency matrix.

num

vector giving the number of neighboring locations of each spatial location, with length equal to the number of locations.

M

vector giving the diagonal elements of the conditional variance matrix, with length equal to the number of locations.

Details

Bounds for gamma are the inverse of the minimum and maximum eigenvalues of M^(-0.5) C M^(0.5).

Value

The upper bound (maximum allowable value) for the gamma parameter of the dcar_proper distribution.

Author(s)

Daniel Turek

See Also

CAR-Proper, carMinBound, carBounds


nimble documentation built on Sept. 11, 2024, 7:10 p.m.