normalFit(x,varargi​n)

Version 1.0.0.0 (5,76 KB) von Toby
Performs a chi squared normality test on input sample x.
49 Downloads
Aktualisiert 3 Mär 2017

Lizenz anzeigen

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

Zitieren als

Toby (2024). normalFit(x,varargin) (https://www.mathworks.com/matlabcentral/fileexchange/61874-normalfit-x-varargin), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R2016b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux

Community Treasure Hunt

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

Start Hunting!
Version Veröffentlicht Versionshinweise
1.0.0.0