There's more than one way to do things | |
PerlMonks |
Re: Translation of R functions to Perl subroutinesby Anonymous Monk |
on Oct 12, 2017 at 15:51 UTC ( [id://1201236]=note: print w/replies, xml ) | Need Help?? |
The Kolmogorov–Smirnov test seems pretty straightforward, but the devil is in the details, as they say. If you have the cumulative distribution function (CDF) available (you didn't say which distribution you're dealing with), you just sort your data values and compare them with the CDF.
In Section
Seekers of Perl Wisdom
|
|