%!demo
%! ## Compute confidence intervals for parameters of a fitted Generalized Extreme Value
%! ## distribution
%! pd = makedist ("GeneralizedExtremeValue", "k", -0.5, "sigma", 1, "mu", 2)
%! rand ("seed", 1);
%! data = random (pd, 5000, 1);
%! pd_fitted = fitdist (data, "GeneralizedExtremeValue")
%! ci = paramci (pd_fitted, "Alpha", 0.05)
%!
%! ## Use this to obtain confidence intervals for the estimated parameters (k,
%! ## sigma, mu), providing a range of plausible values given the data.
