% 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 |