Zghoul Normality Test
The test standardises the sample and compares its empirical moment generating function with that of the standard normal, exp(t^2/2), over all t. The squared differences are weighted by exp(-beta t^2) and integrated; the result, multiplied by the sample size, is the statistic T, which has a closed form.
표본을 표준화한 뒤 그 경험적 적률생성함수를 표준정규분포의 적률생성함수 exp(t^2/2)와 모든 t에서 비교하는 정규성 검정입니다. 차이의 제곱에 exp(-beta t^2) 가중을 주어 적분하고 표본 크기를 곱한 값이 통계량 T이며, 닫힌 형태로 계산됩니다.
Could my measurements have come from a normal distribution?
측정값이 정규분포에서 나왔다고 볼 수 있습니까?
Large values of T mean the sample's moment generating function departs from the normal one, and lead to rejecting normality. Because T does not depend on the mean and standard deviation, its null distribution is simulated from standard normal samples of the same size, giving a Monte Carlo p-value. The tuning constant beta (greater than 2) changes which departures the test is most sensitive to; large beta makes it behave like a skewness test.
When to use Zghoul Normality Test
- You want an omnibus normality test built on the moment generating function, for example to compare with characteristic-function tests.
- You need an exact-size test for a moderate sample through simulation.
When to use something else
- You need the standard, widely reported normality test: use Shapiro-Wilk Test
- The data are counts or have many ties: use Chi Square Goodness of Fit Test
Assumptions and requirements
- Independent observations
- Continuous data without extreme outliers that make the moment generating function explode
What the analysis reports
- T statistic and its simulated 5% critical value
- Monte Carlo p-value
- Simulated and asymptotic null mean
- Sample skewness and excess kurtosis
How to report it
Zghoul's moment-generating-function test of normality (n = [value], beta = [value]) gave T = [value], p = [value] (Monte Carlo, [value] simulations).
Related methods
- Shapiro-Wilk Test
- Chen-Shapiro Normality Test
- Vasicek Entropy Test of Normality
- Zhang Likelihood-Ratio Goodness-of-Fit Tests (ZA, ZC, ZK)
How this method is validated
이 방법의 검증 근거
- Published value. A test reproduces published reference values.
출판값. 출판된 참조값 재현 시험 1건 통과.
- Independent computation. 4 reference tests compare the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 4건 통과.
Tolerances are relative differences (absolute differences for values near zero). R comparisons and reference tests are re-run before each release of the analysis engine.
허용오차는 상대 차이입니다(0 근처 값은 절대 차이). R 대조와 참조 시험은 분석 엔진을 배포할 때마다 다시 돌립니다.
Run Zghoul Normality Test on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- 250 credits for one analysis up to 10,000 rows (complexity level 2); larger or wider data costs more. Optional methodologist review: 1200 credits.
- Checking
- Reproduces published reference values
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.