Package edu.cmu.tetrad.bayes
Class EmBayesProperties
java.lang.Object
edu.cmu.tetrad.bayes.EmBayesProperties
Calculates some scores for Bayes nets as a whole.
- Author:
- josephramsey
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble
getBic()
Calculates the BIC (Bayes Information Criterion) score for a BayesPM with respect to a given discrete data set.double
Calculates the p-value of the graph with respect to the given data.double
int
void
setEstimator
(EmBayesProperties.Estimator estimator) void
-
Constructor Details
-
EmBayesProperties
-
-
Method Details
-
getBic
public double getBic()Calculates the BIC (Bayes Information Criterion) score for a BayesPM with respect to a given discrete data set. Following formulas of Andrew Moore, www.cs.cmu.edu/~awm. -
getLikelihoodRatioP
public double getLikelihoodRatioP()Calculates the p-value of the graph with respect to the given data. -
getBayesPm
-
getPValueDf
public int getPValueDf() -
getPValueChisq
public double getPValueChisq() -
getEstimator
-
setEstimator
-
setGraph
-