compare_predictions_plot {fergm}R Documentation

Compare FERGM to ERGM predictions via plot. This is a plot function to compare the distributions of predictions from ergm and fergm objects.

Description

Compare FERGM to ERGM predictions via plot. This is a plot function to compare the distributions of predictions from ergm and fergm objects.

Usage

compare_predictions_plot(compare_predictions_out = NULL)

Arguments

compare_predictions_out

Matrix of correctly predicted ties produced by the compare_predictions function.

Value

The compare_predictions_plot function returns a ggplot2 plot of the density of the percent of correctly predicted ties simulated by the compare_predictions function.

References

Box-Steffensmeier, Janet M., Dino P. Christenson, and Jason W. Morgan. 2018. “Modeling Unobserved Heterogeneity in Social Networks with the Frailty Exponential Random Graph Model." Political Analysis. (26)1:3-19.

Stan Development Team (2016). RStan: the R interface to Stan. R package version 2.14.1. http://mc-stan.org/.


[Package fergm version 1.1.4 Index]