alpha_up {BLSM}R Documentation

Update step for the α\alpha variable

Description

Accept/reject the proposal for the α\alpha 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 α\alpha

adelta

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

a_a

Shape parameter of the Gamma prior distribution for α\alpha. 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 α\alpha.

Value

Updated value of the α\alpha variable


[Package BLSM version 0.1.0 Index]