hess_HMM_stat_dir_oe: C++ function for updating the Hessian matrix in a static...

Description Usage Arguments Value Author(s)

View source: R/RcppExports.R

Description

The C++ function hess_HMM_stat_dir_oe() updates the Hessian matrix when the number of clusters is greater than or equal to 2 in a static binary directed network. (The above description may need further improvement.)

Usage

1

Arguments

theta

Vector of current theta (network canonical parameters) values.

gamma

Vector of current gamma (variational parameters) values.

N

Number of nodes.

K

Number of clusters.

Value

Returns the Hessian matrix of ELBO with respect to theta parameters for Newton-Raphson update in M-step.

Author(s)

Authors: Amal Agarwal, Lingzhou Xue

Maintainer: Yinqi Zhang <ybz5148@psu.edu>


ergmclust documentation built on Feb. 1, 2021, 9:07 a.m.