carMinBound {nimble}R Documentation

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

Description

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

Usage

carMinBound(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 lower bound (minimum allowable value) for the gamma parameter of the dcar_proper distribution.

Author(s)

Daniel Turek

See Also

CAR-Proper, carMaxBound, carBounds


[Package nimble version 1.2.1 Index]