Package pal.statistics
Class LikelihoodRatioTest
java.lang.Object
pal.statistics.LikelihoodRatioTest
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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic double
getSignificance
(double deltaL, int df) compute significance level for the differences in log-likelihood (based on chi-square distribution)
-
Constructor Details
-
LikelihoodRatioTest
public LikelihoodRatioTest()
-
-
Method Details
-
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
-