mmsbm_fit: Fitter Function for dynamic MMSBM Model

View source: R/RcppExports.R

mmsbm_fitR Documentation

Fitter Function for dynamic MMSBM Model

Description

This is the interface to the C++ fitter for the dynamic mixed-membership stochastic blockmodel for network regression.

Arguments

z_t

Numeric matrix; transpose of monadic design matrix. Should not include intercept row.

x_t

Numeric matrix; transpose of dyadic design matrix.

y

Numeric vector; vector of edge values. Must have same number of elements as ncol(x_t)

time_id_dyad

Integer vector; zero-based time-period identifier for each node.

nodes_per_period

Integer vector; total number of unique nodes observed in each time period.

node_id_dyad

Integer matrix; zero-based sender and receiver identifier per dyad.

mu_b

Numeric matrix; matrix of prior means for elements in blockmodel matrix.

var_b

Numeric matrix; matrix of prior variances for elements in blockmodel matrix.

pi_init

Numeric matrix; matrix of initial mixed-memberships. Nodes along columns.

kappa_init_t

Numeric matrix; matrix of initial marginal HMM state probabilities. Time-periods along columns.

b_init_t

Numeric matrix; square matrix of initial values of blockmodel.

beta_init

Numeric vector; flat array (column-major order) of initial values of monadic coefficients.

gamma_init

Numeric vector; vector of initial values of dyadic coefficients

control

List; see the mmsbm.control argument of mmsbm

Value

Unclassed list with named components; see Value of mmsbm

Warning

This function is for internal use only. End-users should always resort to mmsbm. In particular, that interface post-processes the return value of this internal in important ways.

Author(s)

Santiago Olivella (olivella@unc.edu), Adeline Lo (adelinel@princeton.edu), Tyler Pratt (tyler.pratt@yale.edu), Kosuke Imai (imai@harvard.edu)


NetMix documentation built on May 29, 2024, 6:39 a.m.