Learn R Programming

ergmclust (version 1.0.0)

hess_HMM_stat_dir_oe_K1: C++ function for updating the Hessian matrix in a static binary directed network.

Description

The C++ function hess_HMM_stat_dir_oe_K1() updates the Hessian matrix when the number of cluster is 1 in a static binary directed network. (The above description may need further improvement.)

Usage

hess_HMM_stat_dir_oe_K1(theta, N)

Arguments

theta

Vector of current theta (network canonical parameters) values.

N

Number of nodes.

Value

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