MATLAB Answers

Probplot for Generalized Extreme Value distribution

1 ビュー (過去 30 日間)
Hector de Santos
Hector de Santos 2021 年 8 月 15 日
コメント済み: Hector de Santos 2021 年 8 月 16 日
The probplot function ( https://www.mathworks.com/help/stats/probplot.html?s_tid=doc_ta ) does not support "Generalized Extreme Value" (GEV) distributions.
I am working with GEV type II (Frechet). Is there a way to this MATLAB?
Thanks in advance.

採用された回答

Jeff Miller
Jeff Miller 2021 年 8 月 16 日
Cupid includes the Frechet distribution. It doesn't have probplot function, but you can easily produce something similar:
% assume x1 is a vector of data
dist = Frechet(5,20,100); % Create a distribution object, preferably with parameter values
% in approximately the right range for your data
dist.EstML(x1); % Adjust parameter values to maximum likelihood estimates for this dataset
[obscdf,x] = ecdf(x1); % Compute empirical probability distribution
predcdf = dist.CDF(x); % Compute theoretical cumulative probabilities
figure;
plot(x,obscdf,'*');
hold on
plot(x,predcdf,'-');
  1 件のコメント
Hector de Santos
Hector de Santos 2021 年 8 月 16 日
Thank you Jeff

サインインしてコメントする。

その他の回答 (0 件)

製品


リリース

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by