필터 지우기
필터 지우기

what is the function which calculate the area under curve like ''normspec '' ?

조회 수: 7 (최근 30일)
Amr Hashem
Amr Hashem 2015년 11월 10일
편집: Torsten 2015년 11월 10일
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.
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);
but I didn't know how to get it with generalized extreme value distribution?

채택된 답변

Torsten
Torsten 2015년 11월 10일
편집: Torsten 2015년 11월 10일
x = gevinv(0.01,paramEsts(1),paramEsts(2),paramEsts(3));
gives you the 99% x-value.
Best wishes
Torsten.

추가 답변 (0개)

카테고리

Help CenterFile Exchange에서 Get Started with Curve Fitting Toolbox에 대해 자세히 알아보기

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by