| Library: | finance |
| See also: | mleev0 lrseev |
| Macro: | mleev | |
| Description: | Maximum likelihood estimator for EV model |
| Usage: | {gamma, mu, sigma} = mleev (x) | |
| Input: | ||
| x | vector | |
| Output: | ||
| gamma | scalar, estimated shape parameter | |
| mu | scalar, estimated location parameter | |
| sigma | scalar, estimated scale parameter | |
library("finance")
x=randx("ev",100,1)
m=mleev(x)
m
Contents of m.gamma [1,] 1.1339 Contents of m.mu [1,] 0.05342 Contents of m.sigma [1,] 0.93523
| Library: | finance |
| See also: | mleev0 lrseev |