Description Usage Arguments Value Note Author(s) References Examples
Measure the variability of the structure of a Bayesian network.
1 2 3 4 5 |
data |
a data frame containing the variables in the model. |
R |
a positive integer, the number of bootstrap replicates (in
|
m |
a positive integer, the bootstrap sample size. |
algorithm |
a character string, the learning algorithm to be
applied to the bootstrap replicates. Possible values are |
algorithm.args |
a list of extra arguments to be passed to the learning algorithm. |
x |
a covariance matrix or an object of class |
method |
a character string, the label of the statistic. Possible
values are |
reduce |
a character string, either |
debug |
a boolean value. If |
bn.moments
returns an object of class mvber.moments
.
bn.var
returns a vector of two elements, the observed value of
the statistic (named statistic
) and its normalized equivalent
(named normalized
).
These functions are experimental implementations of techniques still in development; their form (name, parameters, etc.) will likely change without notice in the future.
Marco Scutari
Scutari M (2009). "Structure Variability in Bayesian Networks". ArXiv Statistics - Methodology e-prints. http://arxiv.org/abs/0909.1685.
1 2 3 4 5 | ## Not run:
z = bn.moments(learning.test, algorithm = "gs", R = 100)
bn.var(z, method = "tvar")
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.