【源码】fitmethis:在MATLAB函数MLE中的所有分布中找到最适合向量X数据的分布
F= fitmethis(X)在MATLAB函数MLE中的所有分布中找到最适合向量X数据的分布。根据用户输入或提供的数据类型使用连续或离散分布。为“困难”数据添加了非参数(核)拟合。
函数返回一个包含字段的结构数组:
name:分布的名称(有关列表,请参见MLE帮助)
par:参数估计向量(1、2或3个值)
ci:置信限矩阵,每个参数一列
LL:数据的对数似然
aic:Akaike信息准则
可选参数可以指定为名称/数值对(请参阅帮助)。
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).
更多精彩文章请关注公众号: