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] 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]