Geary Test

Version 1.0.0.0 (1,81 KB) von G. Levin
Single sample Geary goodness-of-fit hypothesis test.
2,2K Downloads
Aktualisiert 24 Jun 2003

Lizenz anzeigen

GTEST: Single sample Geary goodness-of-fit hypothesis test.
H=GTEST(X,ALPHA) performs the Geary test to determine whether the null hypothesis of composite normality PDF is a reasonable assumption regarding the population distribution of a random sample X with the desired significance level ALPHA.

H indicates the result of the hypothesis test according to the MATLAB rules of conditional statements:
H=1 => Do not reject the null hypothesis at significance level ALPHA.
H=0 => Reject the null hypothesis at significance level ALPHA.

The Geary's hypotheses and test statistic are:

Null Hypothesis: X is normal with unknown mean and variance.
Alternative Hypothesis: X is not normal.

The test evaluates the "good estimator of STD(X) for normal distribution"/"reasonable
estimator of STD(X)" ratio. If X taken from a non-normal distribution this ratio is considerably different from 1.0.

The decision to reject the null hypothesis is taken when the P value is less than significance level ALPHA.

X must be a row vector representing a random sample. ALPHA must be a scalar.
The function doesn't check the formats of X and ALPHA, as well as a number of the input and output parameters.

Author: G. Levin, May, 2003.

References:
R. E. Walpole, R. H. Mayers, S. L. Mayers, K. Ye, K. Yee, "Probability and Statistics for Engineers and Scientists", 7-th edition, Upper Saddle River, N.J., Prentice Hall, 2002.

Zitieren als

G. Levin (2024). Geary Test (https://www.mathworks.com/matlabcentral/fileexchange/3626-geary-test), MATLAB Central File Exchange. Abgerufen .

Kompatibilität der MATLAB-Version
Erstellt mit R12.1
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

Insert reference
Replace snapshot