find_example_simulated_network: Find an example simulated network that is the minimum...

View source: R/find_example_simulated_networks.R

find_example_simulated_networkR Documentation

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).


matthewjdenny/GERGM documentation built on May 24, 2023, 1:28 a.m.