rgs_mmsbm: Run the regular Gibbs sampler of MMSBM

Description Usage Arguments Value

Description

Run the regular Gibbs sampler of MMSBM

Usage

1
2
rgs_mmsbm(Y, o_init, alpha_init, s_alpha_init, a, b, A, B, n_swap = 1L,
  N = 1000L, thin = 1L, burnin = 100L, print_freq = 100L)

Arguments

Y

the adjacency matrix representing the graph

o_init

initial value of the ordering vector

alpha_init

initial value of alpha

s_alpha_init

initial value of proposal standard deviation for alpha's Metropolis step

a, b

hyperparameters for alpha's prior

A, B

square matrices of the hyperparameters for group-to-group probabilities' prior

n_swap

number of swaps in order per iteration

N, thin, burnin, print_freq

MCMC quantities

Value

a list of data frames and matrices representing the MCMC output


clement-lee/mmsbmdag documentation built on May 31, 2019, 4:59 a.m.