Top-coded explained

In econometrics and statistics, a top-coded data observation is one for which data points whose values are above an upper bound are censored.

Survey data are often topcoded before release to the public to preserve the anonymity of respondents. For example, if a survey answer reported a respondent with self-identified wealth of $79 billion, it would not be anonymous because people would know there is a good chance the respondent was Bill Gates. Top-coding may be also applied to prevent possibly-erroneous outliers from being published.

Bottom-coding is analogous, e.g. if amounts below zero are reported as zero. Top-coding occurs for data recorded in groups, e.g. if age ranges are reported in these groups: 0-20, 21-50, 50-99, 100-and-up. Here we only know how many people have ages above 100, not their distribution. Producers of survey data sometimes release the average of the censored amounts to help users impute unbiased estimates of the top group.

Example: Top-coding of income at $30,000

idageactual wealthwealth variable in data set
12624,77824,778
23226,75026,750
34526,78026,780
46435,46930000+
52743,69530000+

Top-coding is a general problem for analysis of public use data sets. Top-coding in the Current Population Survey makes it hard to estimate measures of income inequality since the shape of the distribution of high incomes is blocked. To help overcome this problem, CPS provides the mean value of top-coded values.[1]

The practice of top-coding, or capping the reported maximum value on tax returns to protect the earner's anonymity, complicates the analysis of the distribution of wealth in the United States.[2]

Implications for ordinary least squares estimation

See also

Further reading

Notes and References

  1. Larrimore, Jeff, Richard V. Burkhauser, Shuaizhang Feng and Laura Zayatz. 2008. Consistent Cell Means for Topcoded Incomes in the Public Use March CPS (1976-2007). Journal of Economic and Social Measurement 33 (2-3)
  2. Book: Hacker, Jacob S. and Paul Pierson. Winner-Take-All Politics: How Washington Made the Rich Richer--And Turned Its Back on the Middle Class. registration. 2010. Simon & Schuster. 978-1-4165-8869-6. 13.