what is the function which calculate the area under curve like ''normspec '' ?
7 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Amr Hashem
el 10 de Nov. de 2015
I am using a different probability distribution to fit a data but the tail didn't() reach zero (at x-axis)
I want to determine the 99% of the area under curve of this probability ditribution.
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151568/image.jpeg)
I use this code to produce the figure:
paramEsts = gevfit(data); %estimate parameter
xgrid = linspace(0,18,100);
pdfEst = gevpdf(xgrid,paramEsts(1),paramEsts(2),paramEsts(3)); hold on;
line(xgrid,pdfEst,'color','r')
when I was fitting the normal distribution. I got the value of 99% of the curve using:
p= normspec([6.5,inf],mu,sigma);
![](https://www.mathworks.com/matlabcentral/answers/uploaded_files/151570/image.jpeg)
but I didn't know how to get it with generalized extreme value distribution?
Respuesta aceptada
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Curve Fitting Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!