Gamfit
Definition:
gamfit(vX, a, b) uses Newton-Raphson method to calculate Maximum Likelihood Estimates (MLE) of a (shape) and b (scale) for Gamma distributed dataset vX.
The probability density function of Gamma distribution is:
where a, b > 0, with
and
.
Parameters:
- vx (input, vector)
- input vector vx
- a (output, double)
- output shape parameter,
/math-0dd590d5a702e91d508eb15f972cb867.png)
- b (output, double)
- output scale parameter,
/math-a73c373ed1072d9d49add37ee0b22203.png)
/math-dab738cb379a26d1ab9f08cc1f1fae4b.png)