W_priors {estimateW} | R Documentation |
Set prior specifications for the spatial weight matrix
Description
Set prior specifications for the by
spatial weight matrix
,
where
is an
by
unknown binary adjacency matrix (with zeros on the
main diagonal), and
denotes the (optional) row-standardization function
Usage
W_priors(
n,
W_prior = matrix(0.5, n, n),
symmetric_prior = FALSE,
row_standardized_prior = TRUE,
nr_neighbors_prior = bbinompdf(0:(n - 1), nsize = n - 1, a = 1, b = 1, min_k = 0, max_k
= n - 1)
)
Arguments
n |
The number of spatial observations |
W_prior |
An |
symmetric_prior |
Binary value. Should the estimated adjacency matrix |
row_standardized_prior |
Binary value. Should the estimated |
nr_neighbors_prior |
An |