Java org.apache.commons.math3.stat.inference GTest fields, constructors, methods, implement or subclass

Example usage for Java org.apache.commons.math3.stat.inference GTest fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.commons.math3.stat.inference GTest.

The text is from its open source code.

Constructor

Method

doublegDataSetsComparison(final long[] observed1, final long[] observed2)

Computes a G (Log-Likelihood Ratio) two sample test statistic for independence comparing frequency counts in observed1 and observed2 .

doublegTestDataSetsComparison(final long[] observed1, final long[] observed2)

Returns the observed significance level, or p-value, associated with a G-Value (Log-Likelihood Ratio) for two sample test comparing bin frequency counts in observed1 and observed2 .

The number returned is the smallest significance level at which one can reject the null hypothesis that the observed counts conform to the same distribution.