sg.bern.graph_estimator: A function to fit a bernoulli distribution to the edges of...

Description Usage Arguments Value See Also

Description

sg.bern.graph_estimator uses the method of moments to estimate the parameters of a beta distribution, alpha and beta, for a collection of graphs.

Usage

1
sg.bern.graph_estimator(samp, thresh = 0, smooth = TRUE)

Arguments

samp

a list or array of graphs with arbitrary labelling. - if samp is a list, then it should have s elements of dimensions n x n.

  • if samp is an array, then it should be of dimensions n x n x s.

thresh=0:

is the threshold below which we set edges to disconnected, and above which we set edges to connected.

smooth=TRUE:

whether to smooth p to avoid undesirable limits.

Value

p n x n the p parameter per edge representing the probability of an edge existing.

See Also

sg.bern.estimator


neurodata/graphstats documentation built on May 14, 2019, 5:19 p.m.