Glen-Leemis-Barr P-Vector Goodness-of-Fit Test
The P-vector test compares each ordered observation with where the hypothesised distribution says that order statistic should fall. For the i-th smallest value it computes the probability that the i-th uniform order statistic lies below the fitted cdf at that value, then summarises these probabilities with an Anderson-Darling type statistic P_s.
정렬한 각 관측값이 가정한 분포에서 그 순위의 순서통계량이 놓일 법한 위치에 있는지를 베타 분포 확률로 바꾼 뒤, 이 확률들을 앤더슨-달링 형태의 통계량 P_s로 요약하는 적합도 검정입니다. 이산 분포에는 중간 누적확률을 쓰고 모수 재추정을 포함한 모의실험으로 p값을 구합니다.
Do my counts (or measurements) follow the Poisson, binomial, geometric, normal, lognormal or exponential distribution I have in mind?
내 자료가 생각한 포아송, 이항, 기하, 정규, 로그정규, 지수 분포를 따른다고 볼 수 있습니까?
Large P_s means the ordered data sit in unlikely places for their ranks. The p-value comes from simulation under the hypothesised law; for count data the cdf is replaced by its mid-distribution value and parameters are re-estimated in every simulated sample.
When to use Glen-Leemis-Barr P-Vector Goodness-of-Fit Test
- You want an order-statistic based fit test that is sensitive across the whole range of the data.
- You need a fit test for count data with estimated parameters and want a simulation-based p-value.
When to use something else
- You only need a quick normality check: use Shapiro-Wilk Test
- The data are grouped into a few categories with expected counts: use Chi Square Goodness of Fit Test
Assumptions and requirements
- Independent observations
- For discrete families, non-negative integer counts (binomial needs the number of trials)
What the analysis reports
- P_s statistic and 5% critical value
- Monte Carlo or parametric-bootstrap p-value
- Fitted or specified parameters
- Table of ordered values with their P-vector elements
How to report it
The Glen-Leemis-Barr P-vector test of a Poisson distribution (estimated mean [value], n = [value]) gave P_s = [value]; the parametric-bootstrap p-value from [value] simulations was [value].
Related methods
- Anderson-Darling Test
- Chi Square Goodness of Fit Test
- Index of Dispersion Test for Count Data
- Zhang Likelihood-Ratio Goodness-of-Fit Tests (ZA, ZC, ZK)
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 Glen-Leemis-Barr P-Vector Goodness-of-Fit 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
- 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.