alpha_up {BLSM}R Documentation

Update step for the α variable

Description

Accept/reject the proposal for the α model variable

Usage

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


[Package BLSM version 0.1.0 Index]