%!demo
%! ## Compute and plot the profile likelihood for the scale parameter of a fitted
%! ## Logistic distribution
%! pd = makedist ("Logistic", "mu", 0, "sigma", 1)
%! rand ("seed", 21);
%! data = random (pd, 1000, 1);
%! pd_fitted = fitdist (data, "Logistic")
%! [nlogL, param] = proflik (pd_fitted, 2, "Display", "on");
%!
%! ## Use this to analyze the profile likelihood of the scale parameter (sigma),
%! ## helping to understand the uncertainty in parameter estimates.
