Class EmBayesProperties

java.lang.Object
edu.cmu.tetrad.bayes.EmBayesProperties

public final class EmBayesProperties extends Object
Calculates some scores for Bayes nets as a whole.
Author:
josephramsey
  • Constructor Details

    • EmBayesProperties

      public EmBayesProperties(DataSet dataSet, Graph graph)
  • 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

      public BayesPm getBayesPm()
    • getPValueDf

      public int getPValueDf()
    • getPValueChisq

      public double getPValueChisq()
    • getEstimator

      public EmBayesProperties.Estimator getEstimator()
    • setEstimator

      public void setEstimator(EmBayesProperties.Estimator estimator)
    • setGraph

      public void setGraph(Graph graph)