pal.statistics
Class LikelihoodRatioTest

java.lang.Object
  extended by pal.statistics.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

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