'graph.test' tests whether two sets of graphs were generated by the same
random graph model.
This bootstrap test is based on the Jensen-Shannon (JS) divergence between
graphs.

Usage

1

Arguments

x

a list of adjacency matrices. For unweighted graphs, each matrix
contains only 0s and 1s. For weighted graphs, each matrix may contain
nonnegative real values that correspond to the weights of the edges.

y

a list of adjacency matrices. For unweighted graphs, each matrix
contains only 0s and 1s. For weighted graphs, each matrix may contain
nonnegative real values that correspond to the weights of the edges.

numBoot

integer indicating the number of bootstrap resamplings.

bandwidth

string indicating which criterion will be used to choose
the bandwidth for the spectral density estimation. The available criteria are
"Silverman" (default) and "Sturges".

Details

Given two lists of graphs, 'x' and 'y', 'graph.test' tests H0: "JS divergence
between 'x' and 'y' is 0" against H1: "JS divergence between 'x' and 'y' is
larger than 0".