Class AndersonDarling


  • public class AndersonDarling
    extends HypothesisTest
    This algorithm calculates the Anderson-Darling k-sample test statistics and p-values.

    The Anderson-Darling k-sample test tests whether the k samples are from the same distribution, which does not needs to be specified. The results produce two statistics and two p-values. TkN and pkN are the statistic and p-value when there are no tied observations. TakN and pakN are the statistic and p-value when the distribution is discrete, or when the continuous data are grouped. Under these two circumstances there may be tied observations.

    • Constructor Detail

      • AndersonDarling

        public AndersonDarling​(double[]... x)
        Runs the Anderson-Darling test.
        Parameters:
        x - the k samples, each sample in form of a double array.