% Performs a chi squared normality (goodness of fit) test on input sample x.
% Tests the null hypothesis H0 that the input data is sampled from a normal distribution.
% Returns a histogram which displays the results graphically.
%
% syntax: fHdl = normalFit(x)
% fHdl = normalFit(x, 'name')
% fHdl = normalFit(x, 'parameter', value, ...)
% fHdl = normalFit(x, 'name', 'parameter', value, ...)
%
% note: 'name' must NOT match any of the optional parameter names below.
%
%
% optional parameters:
% nBins (integer) - specify number of bins to include in histogram;
% automatically determined by default.
% confidence (0<x<1) - confidence level to be used in chi squared test.
% (probability of accepting H0, given that it's true - defaults to 0.95)
% roundLabels (bool) - if true, shortens and rounds bin labels (e.g. '1.68547e8' -> '169 (x10^6)')
% default is false.
引用
Toby (2024). normalFit(x,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/61874-normalfit-x-varargin), MATLAB Central File Exchange. に取得済み.
MATLAB リリースの互換性
プラットフォームの互換性
Windows macOS Linuxカテゴリ
タグ
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!バージョン | 公開済み | リリース ノート | |
---|---|---|---|
1.0.0.0 |