File Exchange

image thumbnail

fitmethis

version 1.5.2 (5.86 KB) by Francisco de Castro
FITMETHIS finds best-fitting distribution to data vector, including non-parametric.

3.2K Downloads

Updated 15 Jun 2020

View License

F= fitmethis(X) finds the distribution that best fits data in vector X among all distributions available in MATLAB's function MLE. Either continuous or discrete distributions are used based on user input or the type of data supplied (see below). A non-parametric (kernel) fitting is added for "difficult" data.
The function returns a structure array with fields:
name: name of the distribution (see HELP MLE for a list)
par: vector of parameter estimates (1, 2 or 3 values)
ci: matrix of confidence limits, one column per parameter
LL: Log-Likelihood of the data

aic: Akaike Information Criterion

Optional arguments can be specified as name/value pairs (see help).

Cite As

Francisco de Castro (2021). fitmethis (https://www.mathworks.com/matlabcentral/fileexchange/40167-fitmethis), MATLAB Central File Exchange. Retrieved .

MATLAB Release Compatibility
Created with R2012b
Compatible with any release
Platform Compatibility
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!