Learn R Programming

GERGM (version 0.13.0)

find_example_simulated_network: Find an example simulated network that is the minimum Frobenius distance from the observed network.

Description

Find an example simulated network that is the minimum Frobenius distance from the observed network.

Usage

find_example_simulated_network(GERGM_Object, observed_network,
  objective = c("Frobenius", "Likelihood"))

Arguments

GERGM_Object

The object returned by the estimation procedure using the GERGM function.

observed_network

The observed network used as the dependent variable in the original gergm() specification.

objective

Defaults to "Frobenius", in which case the Frobenius norm is used to find the simulated network that is most similar to the observed network. Can also be "Likelihood", in which case the model log likelihood is used to select the network to display.

Value

A simulated network (as a matrix object).