> Hi,
>
[quoted text clipped - 3 lines]
> mean, std and skew. The function 'gevfit' fits a model of three
> parameters (mean, std, skew) to any data.
That's not exactly true, the GEV dist'n is not parameterized in terms of (mean,std,skew), at least not in the Statistics Toolbox. Of course you can transform the parameters into that, which is what GEVSTAT does.
> I'm looking for an extension
> that also includes an additional parameter kurtosis.
See PEARSRND and JOHNSRND. They are nominally intended for generating random values (which may be what you want anyway), but you can use the second and third outputs to, in effect, fit to data. In the case of PEARSRND, you'll have to poke around a little in the code to see how the third output is related to a specific PDF, but it's all pretty clear in there.
Hope this helps.
- Peter Perkins
The MathWorks, Inc.
sachinsg@gmail.com - 31 Jul 2008 21:16 GMT
Hi Peter,
Thanks for the response.
This helps a bit. I will look at PEARSRND and JOHNSRND.
What I'm really looking for is to overlay a pdf on a histogram. Given
some data, I used GEVFIT and GEVPDF to do this. The overlayed pdf
seemed to lack shape.
I wanted to take this a step further and use all four moments - mean,
std, skew and kurtosis.
Thanks,
Sachin