Distribution
01 Syntax
02 Methods
| Name | Overloads | Summary |
|---|---|---|
| Ex | 1 | The ex method takes a double x as an input, if x is less than -BIGX it returns 0, otherwise it returns Euler's number e raised to the power of x. |
| Beta | 1 | The beta method takes a double {@link java.lang.reflect.Array} x as an input. |
| GammaLn | 1 | The gammaLn method takes a double x as an input and returns the logarithmic result of the gamma distribution at point x. |
| ZNormal | 1 | The zNormal method performs the Z-Normalization. |
| ZInverse | 1 | the zInverse method returns the Z-Inverse of given probability value. |
| ChiSquare | 1 | The chiSquare method is used to determine whether there is a significant difference between the expected frequencies and the observed frequencies in one or more categories. |
| ChiSquareInverse | 1 | The chiSquareInverse method returns the Chi Square-Inverse of given probability value with given degree of freedom. |
| FDistribution | 1 | The f-Distribution method is used to observe whether two samples have the same variance. |
| FDistributionInverse | 1 | The fDistributionInverse method returns the F-Distribution Inverse of given probability value. |
| TDistribution | 1 | The tDistribution method is used instead of the normal distribution when there is small samples. |
| TDistributionInverse | 1 | The tDistributionInverse method returns the T-Distribution Inverse of given probability value. |
03 Fields
| Name | Overloads | Summary |
|---|---|---|
| Z_MAX | 1 | |
| Z_EPSILON | 1 | |
| CHI_EPSILON | 1 | |
| CHI_MAX | 1 | |
| LOG_SQRT_PI | 1 | |
| I_SQRT_PI | 1 | |
| BIGX | 1 | |
| I_PI | 1 | |
| F_EPSILON | 1 | |
| F_MAX | 1 |
04 Members
Double)The ex method takes a double x as an input, if x is less than -BIGX it returns 0, otherwise it returns Euler's number e raised to the power of x.
| Name | Type | Description |
|---|---|---|
x | Double | - |
0 if input is less than -BIGX, Euler's number e raised to the power of x otherwise.
Double())The beta method takes a double {@link java.lang.reflect.Array} x as an input. It loops through x and accumulates the value of gammaLn(x), also it sums up the items of x and returns (accumulated result - gammaLn of this summation).
| Name | Type | Description |
|---|---|---|
x | Double() | - |
gammaLn(sum).
Double)The gammaLn method takes a double x as an input and returns the logarithmic result of the gamma distribution at point x.
| Name | Type | Description |
|---|---|---|
x | Double | - |
the logarithmic result of the gamma distribution at point x.
Double)The zNormal method performs the Z-Normalization. It ensures, that all elements of the input vector are transformed into the output vector whose mean is approximately 0 while the standard deviation is in a range close to 1.
| Name | Type | Description |
|---|---|---|
z | Double | - |
normalized value of given input.
Double)the zInverse method returns the Z-Inverse of given probability value.
| Name | Type | Description |
|---|---|---|
p | Double | double probability. |
the Z-Inverse of given probability.
Double, Int32)The chiSquare method is used to determine whether there is a significant difference between the expected frequencies and the observed frequencies in one or more categories. It takes a double input x and an integer freedom for degrees of freedom as inputs. It returns the Chi Squared result.
| Name | Type | Description |
|---|---|---|
x | Double | a numeric input. |
freedom | Int32 | integer input for degrees of freedom. |
the Chi Squared result.
Double, Int32)The chiSquareInverse method returns the Chi Square-Inverse of given probability value with given degree of freedom.
| Name | Type | Description |
|---|---|---|
p | Double | double probability. |
freedom | Int32 | integer input for degrees of freedom. |
the chiSquare-Inverse of given probability.
Double, Int32, Int32)The f-Distribution method is used to observe whether two samples have the same variance. It takes a double input F and two integer freedom1 and freedom2 for degrees of freedom as inputs. It returns the F-Distribution result.
| Name | Type | Description |
|---|---|---|
fValue | Double | - |
freedom1 | Int32 | integer input for degrees of freedom. |
freedom2 | Int32 | integer input for degrees of freedom. |
the F-Distribution result.
Double, Int32, Int32)The fDistributionInverse method returns the F-Distribution Inverse of given probability value.
| Name | Type | Description |
|---|---|---|
p | Double | double probability. |
freedom1 | Int32 | integer input for degrees of freedom. |
freedom2 | Int32 | integer input for degrees of freedom. |
the F-Distribution Inverse of given probability.
Double, Int32)The tDistribution method is used instead of the normal distribution when there is small samples. It takes a double input T and an integer freedom for degree of freedom as inputs. It returns the T-Distribution result by using F-Distribution method.
| Name | Type | Description |
|---|---|---|
T | Double | - |
freedom | Int32 | integer input for degrees of freedom. |
the T-Distribution result.
Double, Int32)The tDistributionInverse method returns the T-Distribution Inverse of given probability value.
| Name | Type | Description |
|---|---|---|
p | Double | double probability. |
freedom | Int32 | integer input for degrees of freedom. |
the T-Distribution Inverse of given probability.