Mahalanobis Rejective Balanced Sampling
Rejective balanced sampling draws simple random or stratified samples repeatedly and keeps the first one whose auxiliary means lie close to the population means, measured by the Mahalanobis distance scaled by the design covariance of the sample means. The threshold is set from the chi-square distribution so that a chosen share of candidate samples is accepted.
거부 균형 표본추출은 단순임의 또는 층화 표본을 반복해서 뽑고, 보조변수 표본평균이 모평균에 충분히 가까운 첫 표본을 채택합니다. 가까움은 표본평균의 설계 공분산으로 척도화한 마할라노비스 거리로 재며, 후보 표본 중 정한 비율이 채택되도록 카이제곱 분포로 기준값을 정합니다.
Before fieldwork, how can I make sure the selected schools resemble the population in size and test scores rather than relying on luck?
현장조사 전에, 뽑힌 학교들이 운에 맡기지 않고 규모와 성적 면에서 모집단과 비슷하도록 하려면 어떻게 합니까?
The method returns the accepted sample with design weights, the Mahalanobis distance and threshold, the number of draws needed and standardized differences between sample and population means.
When to use Mahalanobis Rejective Balanced Sampling
- Auxiliary variables are known for the whole frame.
- You prefer simple or stratified random sampling but want to avoid badly unbalanced samples.
- You will analyse with a regression estimator on the same auxiliaries.
When to use something else
- Exact balance on totals with unequal probabilities is needed: use Cube Method for Balanced Sampling
- The sample is drawn and only weights can change: use GREG Calibration Weighting
Assumptions and requirements
- Auxiliaries not collinear
- Acceptance probability not so small that inclusion probabilities change noticeably
- Analysis uses a regression estimator on the balancing variables
What the analysis reports
- Accepted sample with design weights
- Mahalanobis distance and threshold
- Number of draws
- Standardized mean differences
How to report it
A stratified random sample of n = [n] was redrawn until its Mahalanobis distance on [p] auxiliaries was at most [value]; the accepted sample had Q = [value] after [k] draws.
Related methods
- Cube Method for Balanced Sampling
- Probability Sample Selection (SRS, Systematic, Stratified, PPS)
- GREG Calibration Weighting
How this method is validated
이 방법의 검증 근거
- Independent computation. 1 reference test compares the results with SciPy and direct computations (formulas, enumeration or simulation).
독립 계산. SciPy·직접 계산(식·열거·모의실험) 대조 참조 시험 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 Mahalanobis Rejective Balanced Sampling on Quorant
- Data you need
- a table (CSV or Excel) with a unit (entity) ID and predictor (feature) columns
- Price
- 400 credits for one analysis up to 10,000 rows (complexity level 3); larger or wider data costs more. Optional methodologist review: 1800 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.