Likelihood-Ratio Goodness-of-Fit Test (G Test)
A goodness-of-fit test using the likelihood-ratio G statistic, reported alongside Pearson's chi-square.
우도비 적합도 검정(G 검정) — 우도비 G 통계량으로 적합도를 검정하고 Pearson 카이제곱과 함께 보고합니다.
Runs Chi Square Goodness of Fit Test with: lr set to “on”.
기본 방법(Chi Square Goodness of Fit Test)에 다음 설정을 고정해 실행합니다: lr = on.
Do the observed category counts fit the expected proportions, by a G test?
관측된 범주 빈도가 기대 비율에 맞는지 G 검정으로 확인하려면?
G = 2Σ O ln(O/E) follows the same chi-square reference and adds up across nested hypotheses. Technically this is Chi Square Goodness of Fit Test with lr = true fixed; nothing else about the analysis changes.
When to use Likelihood-Ratio Goodness-of-Fit Test (G Test)
- Your field (for example genetics or ecology) reports G tests.
- You want statistics that can be partitioned across nested models.
When to use something else
- Expected counts are small; an exact multinomial test is safer.
- You would rather keep every option open; Chi Square Goodness of Fit Test gives you the full set.
What you still provide
- Data: a table (CSV or Excel) with an outcome variable.
Assumptions and requirements
The same as for Chi Square Goodness of Fit Test:
- Observations are independent.
- Each observation falls into exactly one category.
- Expected counts are at least five in each category for the chi-square p-value; the exact or Monte Carlo p-values remove this requirement.
- Expected proportions are fixed in advance; equal shares are used when none are given. If they were estimated from the data, reduce the degrees of freedom by the number of estimated parameters.
What the analysis reports
The output of Chi Square Goodness of Fit Test, with the preset shown in the settings:
- Chi-square statistic
- Degrees of freedom
- p value
- Cohen's w
- Observed, expected counts and standardized residuals
- Optional likelihood-ratio G statistic with Williams correction
- Optional exact multinomial p-values (probability and chi-square ordering) and a Monte Carlo p-value for small expected counts
- Optional degrees-of-freedom reduction when expected proportions use estimated parameters
- Optional Cressie-Read power-divergence statistic for any lambda or a named member (Pearson, likelihood ratio, Freeman-Tukey, modified likelihood ratio, Neyman, Cressie-Read 2/3), or all six side by side, each with its chi-square p-value
How this is validated
검증 근거
This variant runs the same engine as Chi Square Goodness of Fit Test with the settings above fixed, so the evidence is that method’s: reproduces published reference values. No separate checks of this preset are claimed. Read the base method’s validation record.
이 설정 묶음은 Chi Square Goodness of Fit Test와 같은 엔진으로 돕니다. 검증 근거는 기본 방법의 것이며, 이 설정만 따로 검증했다고 주장하지 않습니다.
Other variants of Chi Square Goodness of Fit Test
Run this variant
- Data you need
- a table (CSV or Excel) with an outcome variable
- Price
- Same as Chi Square Goodness of Fit Test: 150 credits for one analysis up to 10,000 rows (complexity level 1); larger or wider data costs more. Optional methodologist review: 900 credits.
- Checking
- Reproduces published reference values, as recorded for Chi Square Goodness of Fit Test (see its checks)
- Before you pay
- A free pre-analysis diagnosis checks your data and gives an exact quote; nothing is deducted until you approve it.