compare_SIR_erg_ens: compare_SIR_erg_ens

View source: R/compare_SIR_erg_ens.R

compare_SIR_erg_ensR Documentation

compare_SIR_erg_ens

Description

compare_SIR_erg_ens calculates multiple metrics of comparison between maximally complete networks and Erdos-Renyi random graphs for clustered SIR simulations

Usage

compare_SIR_erg_ens(sim_erg_output, sim_max_output, n_min)

Arguments

sim_erg_output

output of SIR simulations over all Erdos-Renyi random graphs, preferably in the format of a nested list, where the first level corresponds to the number of nodes, the second level to percent completion of ties, and the final to the sample number

sim_max_output

output of SIR simulations over all maximally complete graphs

n_min

minimum number of nodes in the maximally complete graphs

Value

a data frame where each row corresponds to a row in sim_erg_output, and the columns represent (in this order): mean observed (Erdos-Renyi) value, standard deviation of the observed values, mean expected (effective network size prediction) value, standard deviation of expected values, Kolmogorov-Smirnov (K-S) test D-statistic, K-S test p-value, number of nodes in observed network, percent of ties present in observed network, and the sample number of the observed network (within its node counts and percent completion)


collinmmccabe/enss documentation built on May 5, 2024, 6:23 a.m.