sg.bern.estimator: A function to fit a bernoulli distribution to a given...

Description Usage Arguments Value See Also

Description

sg.bern.estimator estimate the parameter of a bernoulli distribution, p, for a given samp.

Usage

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

Arguments

samp

a univariate samp of values with arbitrary class labels.

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 the p parameter per edge.

See Also

sg.bern.graph_estimator


neurodata/wssg documentation built on May 16, 2019, 10:05 a.m.