PosteriorAdj: PosteriorAdj

View source: R/POST_PosteriorWij.R

PosteriorAdjR Documentation

PosteriorAdj

Description

Calculates the posterior mean and standard deviation for the neighborhood adjacencies from the STBDwDM model.

Usage

PosteriorAdj(object)

Arguments

object

a STBDwDM model object for which predictions are desired from.

Details

The function PosteriorAdj calculates the posterior mean and standard deviation of the neighborhood adjacencies for each pairwise location. The neighborhood structure used to do this comes from Berchuck et al. 2017.

Value

PosteriorAdj returns a matrix containing the following columns.

i

Location i (i.e. which row/column on the adjacency matrix W).

j

Location j (i.e. which row/column on the adjacency matrix W).

DM

The dissimilarity metric between locations i and j.

meant

The posterior mean of the neighborhood adjacency between location i and j at time t, t = 1, ... , Nu.

sdt

The posterior mean of the neighborhood adjacency between location i and j at time t, t = 1, ... , Nu.

Author(s)

Samuel I. Berchuck


berchuck/womblR documentation built on Sept. 5, 2022, 6:23 a.m.