normalFit(x,varargi​n)

版本 1.0.0.0 (5.8 KB) 作者: Toby
Performs a chi squared normality test on input sample x.
49.0 次下载
更新时间 2017/3/3

查看许可证

% 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 版本兼容性
创建方式 R2016b
兼容任何版本
平台兼容性
Windows macOS Linux
类别
Help CenterMATLAB Answers 中查找有关 Hypothesis Tests 的更多信息

Community Treasure Hunt

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

Start Hunting!
版本 已发布 发行说明
1.0.0.0