Controlled Rounding of a Two-Way Frequency Table
Rounds every cell, row total, column total and the grand total of a two-way frequency table to an adjacent multiple of a base so that the rounded table still adds up. The unbiased version follows Cox's random procedure, which keeps the expected value of every entry; the optimal version minimises the total absolute deviation.
이원 빈도표의 모든 칸, 행 합계, 열 합계, 총합을 기수의 인접 배수로 반올림하면서 반올림한 표가 여전히 더해 맞도록 합니다. 비편향 방식은 각 값의 기댓값을 유지하는 Cox 의 확률적 절차를 따르고, 최적 방식은 전체 절대 편차를 최소로 합니다.
How can a table of residents by area and age group be published with counts rounded to base 3 while rows and columns still add up?
지역별·연령대별 주민 수 표를 기수 3 으로 반올림해 공표하면서 행과 열의 합이 맞게 하려면 어떻게 해야 합니까?
The rounded table with its margins, how many entries changed, the largest and total deviation, and a check that the table is additive.
When to use Controlled Rounding of a Two-Way Frequency Table
- Publishing frequency tables that must hide small counts
- Rounded tables must stay additive across rows, columns and total
- An unbiased (expectation-preserving) rounding is wanted
When to use something else
- Individual records are released: use Microdata Perturbation for Disclosure Control (MDAV Microaggregation, Noise, Rank Swapping, PRAM)
- You need to measure re-identification risk: use Re-identification Risk Check (k-Anonymity, l-Diversity, t-Closeness)
Assumptions and requirements
- A two-way table with non-negative counts
- One rounded version of a table is published
- Rounding by itself may not protect against differencing between linked tables
What the analysis reports
- Rounded cells and margins
- Number of changed entries
- Largest and total absolute deviation
- Small counts before and after
- Additivity check
How to report it
A [value] x [value] table was controlled-rounded to base [value]; [value] entries changed and the table stayed additive.
Related methods
- Microdata Perturbation for Disclosure Control (MDAV Microaggregation, Noise, Rank Swapping, PRAM)
- Re-identification Risk Check (k-Anonymity, l-Diversity, t-Closeness)
How this method is validated
이 방법의 검증 근거
- Independent computation. 2 reference tests compare the results with direct computations (formulas, enumeration or simulation).
독립 계산. 직접 계산(식·열거·모의실험) 대조 참조 시험 2건 통과.
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 Controlled Rounding of a Two-Way Frequency Table on Quorant
- Data you need
- a table (CSV or Excel) with predictor (feature) columns
- 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.