Changes for version 0.20

  • added pmf(), cdf() and cdfi() methods: prob mass and cumulative dist functions for runs; add public methods for their constituent frequencies, n_max_seq() and m_seq_k(). Also bi_frequency().
  • rationalised calling for an exact p_value() re above: if exact option when calling p_value() is true, it will always return the "correct" p-value from the cdf, i.e., either from cdf() if observed() < expected(), otherwise from cdfi(). So the values 0 and -1 are no longer used to customise which one to go to, for if the "correct" one is not given, a value greater than 1 could be returned.
  • load() no longer itself checks if the data contain only 2 elements; this is left for each submethod to check, as they can always be given novel data in any case; & prevents load() having to access() whatever data it loaded, however it loaded it.
  • added: skewness() and kurtosis() methods
  • Build.pl and Makefile.pl now explicitly require "Array::Compare" for testing
  • misc. clean-ups of some code and POD, including doi links in REFERENCES section.

Modules

descriptives, deviation and combinatorial tests of Wald-Wolfowitz runs