pal.statistics
Class LikelihoodRatioTest

java.lang.Object
  |
  +--pal.statistics.LikelihoodRatioTest

public class LikelihoodRatioTest
extends java.lang.Object

Likelihood ratio test based on chi-square statistics


Constructor Summary
LikelihoodRatioTest()
           
 
Method Summary
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