carBounds {nimble} | R Documentation |
Calculate bounds for the autocorrelation parameter of the dcar_proper
distribution
Description
Calculate the lower and upper bounds for the gamma
parameter of the dcar_proper
distribution
Usage
carBounds(C, adj, num, M)
Arguments
C |
vector of the same length as |
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)
. The lower and upper bounds are returned in a numeric vector.
Value
A numeric vector containing the bounds (minimum and maximum allowable values) for the gamma
parameter of the dcar_proper
distribution.
Author(s)
Daniel Turek
See Also
CAR-Proper
, carMinBound
, carMaxBound