Skip to content

Methods · Hypothesis testing · Distribution fit tests

Zhang Likelihood-Ratio Goodness-of-Fit Tests (ZA, ZC, ZK)

Zhang's tests build the likelihood ratio between the empirical and the hypothesised distribution at every point and then combine these ratios across the data in three ways: as a maximum (Z_K), and as two weighted sums (Z_A and Z_C), analogous to the Kolmogorov-Smirnov, Anderson-Darling and Cramer-von Mises statistics.

모든 점에서 경험분포와 가정한 분포 사이의 우도비를 만들고 이를 최댓값(Z_K)과 두 가중합(Z_A, Z_C)으로 결합하는 적합도 검정으로, 각각 콜모고로프-스미르노프, 앤더슨-달링, 크래머-폰 미제스 통계량에 대응합니다.

Does my sample follow the normal, lognormal or exponential distribution, using fit tests that are often more powerful than the classical ones?

표본이 정규, 로그정규, 지수 분포를 따른다고 볼 수 있습니까? 고전적 검정보다 검정력이 높은 방법으로 확인할 수 있습니까?

Large values reject the hypothesised distribution. p-values are from Monte Carlo simulation under the fitted family. Z_A and Z_C usually have the best power; choose one before looking at the results.

When to use Zhang Likelihood-Ratio Goodness-of-Fit Tests (ZA, ZC, ZK)

When to use something else

Assumptions and requirements

What the analysis reports

How to report it

Zhang's likelihood-ratio tests of a normal distribution (estimated parameters, n = [value]) gave Z_A = [value] (p = [value]), Z_C = [value] (p = [value]) and Z_K = [value] (p = [value]).

Related methods

How this method is validated

이 방법의 검증 근거

  • Independent computation. 1 reference test compares the results with reference values computed independently in the test suite.

    독립 계산. 시험에서 따로 계산한 참조값 대조 참조 시험 1건 통과.

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 Zhang Likelihood-Ratio Goodness-of-Fit Tests (ZA, ZC, ZK) 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
Compared with independent computations
Before you pay
A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.

Method ID Q11173 · Reviewed 2026-10-25