Name | Description | Arguments | Return Value |
double getCdf(double x,int k) | Computes cumulative distribution function. | Value of random variable x, distribution number. | cdf at x. |
double getChiSquared(int k) | Returns computed chi-squared test statistic. | Distribution number. | Calculated statistic. |
double getChiSquaredDF(int k) | Returns degrees of freedom for chi-squared test statistic. | Distribution number. | Degrees of freedom. |
double getChiSquaredPValue(int k) | Returns P-value for chi-squared test statistic. | Distribution number. | P-value. |
double getKolmogorovSmirnovD(int k) | Returns computed overall KS test statistic. | Distribution number. | Calculated statistic. |
double getKolmogorovSmirnovDMinus(int k) | Returns computed lower KS test statistic. | Distribution number. | Calculated statistic. |
double getKolmogorovSmirnovDPlus(int k) | Returns computed upper KS test statistic. | Distribution number. | Calculated statistic. |
double getKolmogorovSmirnovPValue(int k) | Returns P-value for overall KS test. | Distribution number. | P-value. |
double getShapiroWilksPValue(int k) | Returns P-value for Shapiro-Wilks test (for normal distribution only). | Distribution number. | P-value. |
double getShapiroWilksW(int k) | Returns computed Shpario-Wilks statictic (for normal distribution only). | Distribution number. | Calculated statistic. |
double getInverseCdf(double p,int k) | Computes inverse cumulative distribution function. | Value of cdf p, distribution number. | Smallest value of x for which cdf is less than or equal to p. |
double getMean(int k) | Returns the mean of the distribution. | Distribution number. | Mean. |
double getPdf(double x,int k) | Computes probability density or mass function. | Value of random variable x, distribution number. | pdf or pmf at x. |
boolean getRandomNumbers(double x[],int n,int k) | Generates n random numbers from the distribution, distribution number. | Output array,number of random numbers to be generated. | true if success |
int getSampleSize(int k) | Returns the sample size used to fit the distribution. | Distribution number. | Sample size n, or 0 if no data supplied. |
double getVariance(int k) | Returns the variance of the distribution. | Distribution number. | Variance. |