Bhapkar Marginal Homogeneity Test
The Bhapkar test checks whether two paired classifications of the same units, such as a rating before and after treatment, have the same marginal distribution. It is a Wald test of the differences between row and column totals of the square table, using their unrestricted covariance, and is never smaller than the Stuart-Maxwell statistic.
바프카 검정은 같은 대상을 두 번 분류한 결과(처치 전후 평정 등)의 주변분포가 같은지 확인합니다. 정방 분할표의 행합과 열합 차이에 대해 제약 없는 공분산을 쓰는 왈드 검정이며, 스튜어트-맥스웰 통계량보다 작지 않습니다.
Did the distribution over categories change between two paired measurements?
짝지어진 두 측정 사이에 범주 분포가 바뀌었나요?
The method reports the Wald chi-square W with K - 1 degrees of freedom, its p-value, the Stuart-Maxwell statistic for comparison, and the two marginal distributions.
When to use Bhapkar Marginal Homogeneity Test
- Each unit is classified twice on the same set of three or more categories.
- You want a test of marginal change with good power in large samples.
When to use something else
- There are only two categories: use McNemar's Test
- You want to test symmetry of individual cells rather than margins: use Bowker Test of Symmetry
Assumptions and requirements
- Paired classifications of independent units
- Enough discordant pairs for the chi-square approximation
What the analysis reports
- Bhapkar W, df and p-value
- Stuart-Maxwell chi-square for comparison
- Marginal counts and proportions
How to report it
A Bhapkar test showed that the distribution of severity changed after treatment, W(3) = [value], p = [value].
Related methods
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with statsmodels at a stated tolerance of 1e-9.
독립 계산. statsmodels 대조 참조 시험 1건 통과(허용오차 1e-9).
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 Bhapkar Marginal Homogeneity Test on Quorant
- Data you need
- a table (CSV or Excel) with item columns (e.g. questionnaire items)
- 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.