Package edu.cmu.tetrad.bayes
Class BayesProperties
java.lang.Object
edu.cmu.tetrad.bayes.BayesProperties
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()
Call after calling getLikelihoodP().double
getChisq()
Call after calling getLikelihoodP().double
getDof()
Call after calling getLikelihoodP().double
Call after calling getLikelihoodP().getLikelihoodRatioP
(Graph graph) Calculates the p-value of the graph with respect to the given data.int
getVariable
(String targetName)
-
Constructor Details
-
BayesProperties
-
-
Method Details
-
getLikelihoodRatioP
Calculates the p-value of the graph with respect to the given data. -
getChisq
public double getChisq()Call after calling getLikelihoodP(). -
getDof
public double getDof()Call after calling getLikelihoodP(). -
getBic
public double getBic()Call after calling getLikelihoodP(). -
getLikelihood
public double getLikelihood()Call after calling getLikelihoodP(). -
getSampleSize
public int getSampleSize() -
getVariable
-