Geary Test

版本 1.0.0.0 (1.8 KB) 作者: G. Levin
Single sample Geary goodness-of-fit hypothesis test.
2.2K 次下载
更新时间 2003/6/24

查看许可证

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.

引用格式

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

MATLAB 版本兼容性
创建方式 R12.1
兼容任何版本
平台兼容性
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

Insert reference
Replace snapshot