Class LikelihoodRatioTest


  • public class LikelihoodRatioTest
    extends java.lang.Object
    Likelihood ratio test based on chi-square statistics
    Version:
    $Id: LikelihoodRatioTest.java,v 1.5 2001/07/13 14:39:13 korbinian Exp $
    Author:
    Korbinian Strimmer
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static double getSignificance​(double deltaL, int df)
      compute significance level for the differences in log-likelihood (based on chi-square distribution)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • LikelihoodRatioTest

        public LikelihoodRatioTest()
    • Method Detail

      • getSignificance

        public static double getSignificance​(double deltaL,
                                             int df)
        compute significance level for the differences in log-likelihood (based on chi-square distribution)
        Parameters:
        deltaL - difference of Log Likelihood values (>=0)
        df - degrees of freedom
        Returns:
        significance level