Usage: |
{db,de,vb,ve,w2b,w2e,a2b,a2e,beta,betamin} = estexp(analyzedsample,method,numberofiterations)
|
Input: |
| analyzedsample | n x 1 vector, sample for which exponential distribution parameters will be estimated.
|
| method | integer, estimation method selection flag (0 - all methods, other - ML).
|
| numberofiterations | integer, number of iterations for minimization procedures.
|
Output: |
| db | scalar, Value of Kolmogorov statistic for ML parameters. |
| de | scalar, Value of Kolmogorov statistic for A2 parameters. |
| vb | scalar, Value of Kuiper statistic for ML parameters. |
| ve | scalar, Value of Kuiper statistic for A2 parameters. |
| w2b | scalar, Value of Cramer-von Mises statistic for ML parameters. |
| w2e | scalar, Value of Cramer-von Mises statistic for A2 parameters. |
| a2b | scalar, Value of Anderson-Darling statistic for ML parameters. |
| a2e | scalar, Value of Anderson-Darling statistic for A2 parameters. |
| beta | scalar, Parameter beta from MoM estimation. |
| betamin | scalar, Parameter beta from A2 estimation. |