alpha_up: Update step for the alpha variable

Description Usage Arguments Value

Description

Accept/reject the proposal for the α model variable

Usage

1
alpha_up(Y, lpz, W, alpha, adelta, a_a, a_b)

Arguments

Y

Adjacency matrix of the observed network

lpz

Matrix containing the negative square root of the Euclidean distances between latent positions

W

BLSM Weights matrix of the observed network

alpha

Model variable α

adelta

The uniform proposal for α is defined on the [-adelta,+adelta] interval

a_a

Shape parameter of the Gamma prior distribution for α. The value is usually set to 1, so the prior is actually an exponential distribution.

a_b

Rate parameter of the Gamma prior distribution for α.

Value

Updated value of the α variable


BLSM documentation built on May 2, 2019, 2:45 p.m.