Podgor-Gastwirth Location-Scale Test
The Podgor-Gastwirth test checks whether two groups differ in location, in spread, or in both at once. It regresses group membership on the pooled ranks and the squared ranks and tests both slopes jointly.
Podgor-Gastwirth 검정은 두 집단이 위치, 퍼짐, 또는 둘 모두에서 다른지를 한꺼번에 봅니다. 집단 소속을 합친 순위와 순위의 제곱에 회귀시키고 두 기울기를 함께 검정합니다.
Do two groups differ in their distributions when the difference may lie in the centre, in the spread, or in both?
차이가 중심에 있을 수도, 퍼짐에 있을 수도, 둘 다에 있을 수도 있을 때 두 집단의 분포가 다를까요?
The pooled observations are ranked, and an indicator of group membership is regressed by least squares on the ranks and squared ranks. The rank term picks up a location shift and the squared-rank term a difference in spread; the joint F test on two degrees of freedom is reported with an exact-in-distribution permutation p-value.
When to use Podgor-Gastwirth Location-Scale Test
- Two independent groups are compared and both centre and spread may differ
- Data are skewed or contain outliers so that rank-based tests are preferred
- A single combined test is wanted instead of separate location and scale tests
When to use something else
- Only a shift in location is of interest: use Mann-Whitney U Test
- Only a difference in spread is of interest: use Ansari-Bradley Test
- Any difference in distribution shape matters: use Two-Sample Kolmogorov-Smirnov Test
Assumptions and requirements
- Observations are independent within and between groups
- The variable is at least ordinal; ties are handled by mid-ranks
- Two groups only
What the analysis reports
- F statistic, degrees of freedom and p-value
- Permutation p-value
- R^2 and slopes of rank and squared rank
- Group medians, interquartile ranges and mean ranks
How to report it
The Podgor-Gastwirth test showed that the groups differed in location or scale, F(2, [value]) = [value], p = [value] (permutation p = [value]).
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels.
독립 계산. statsmodels 대조 참조 시험 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 Podgor-Gastwirth Location-Scale Test on Quorant
- Data you need
- a table (CSV or Excel) with an outcome variable and a grouping 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.