IRS SOI ZIP Code Data 2011 – Individual Income Tax Statistics (with AGI)
- Rows
- 167,334
- Columns
- 73
- Data range
- 0 to 99999
Tax Year 2011 individual income tax statistics by ZIP code and AGI class. All states. Includes returns, exemptions, AGI, wages/salaries, dividends, interest, alternative minimum tax, income tax, and total tax liability.
AI analysis
IRS SOI ZIP Code Data 2011 — Analytical Overview
1. Dataset Representation & Research Value
This dataset originates from the IRS Statistics of Income (SOI) division, published at https://www.irs.gov/pub/irs-soi/11zpallagi.csv, making it an authoritative, government-curated source reflecting Tax Year 2011 individual income tax filings. It captures 167,334 rows representing combinations of ZIP code and AGI (Adjusted Gross Income) income bracket (agistub 1–6), covering all 51 state/territory FIPS codes. The breadth of 73 columns — spanning return counts, exemptions, wages, dividends, interest, deductions, tax credits, and total tax liability — makes this dataset exceptionally rich for geographic and income-stratified correlation studies. Because the data is stratified by both geography and income class simultaneously, analysts can isolate income-level effects from geographic effects, which is a rare analytical affordance in publicly available tax microdata.
---
2. Data Quality Observations
Data quality is notably strong. The total null cell count is 0 across all 73 columns and 167,334 rows, which is exceptional for a dataset of this size and complexity — a direct reflection of the IRS's standardized reporting pipeline. No type mismatches are flagged in the column metadata. However, several columns exhibit a suspicious pattern of Q1 values of 0.0001 (e.g., N00600, A00600, N00650, A00650, N01000, SCHF, N03300, A03300, N09600, A09600), which strongly suggests that zero values were encoded as 0.0001 — likely a placeholder used by the IRS to distinguish "reported zero" from "not applicable." This is a critical preprocessing consideration: any correlation or regression analysis must either recode these near-zero values to true zeros or treat them as a distinct categorical state (e.g., "no filers in this bracket reported this income type"). Additionally, highly sparse columns like N03300 (self-employment retirement plans), A09600 (alternative minimum tax), and SCHF (Schedule F farm income) have medians of 0.0001 and extremely high skewness (119–227), indicating that these income types are reported by only a small minority of ZIP/AGI combinations and may require log-transformation or zero-inflated modeling before use.
---
3. Key Column Distributions & Notable Statistics
The primary income aggregates reveal the expected extreme right-skew characteristic of income data. A00100 (total AGI) has a mean of $101,142 but a median of only $13,445 — a mean-to-median ratio of ~7.5x — with σ = $2.07M and 17,167 flagged outliers, reflecting the concentration of aggregate income in a small number of high-income ZIP codes. A00200 (wages and salaries) mirrors this: mean $71,590, median $9,201, skew = 73.3. The joint distribution of these two columns alone encodes the wage-income dominance story across geographies. Investment income columns tell a more extreme tale: A01000 (net capital gains) has a mean of $3,304 against a median of just $1, skew = 180, and 25,358 outliers — the highest outlier count in the dataset — confirming that capital gains are hyper-concentrated in affluent ZIP/AGI cells. A09600 (alternative minimum tax) is even more extreme with skew = 227, median = 0.0001, and a max of $6.26M, making it a near-perfect proxy for ultra-high-income filers. On the deduction side, A04470 (total itemized deductions) shows mean $14,446, median $1,422, and 19,863 outliers, while A18300 (taxes paid deduction) has skew = 150 — both useful for studying geographic variation in deduction-taking behavior. The agistub column distributes perfectly uniformly (mean = 3.5, σ = 1.708, Q1=2, Q3=5), confirming that each ZIP code has up to 6 AGI-class rows, though not necessarily all 6 (27,789 distinct ZIPs × 6 = 166,734 expected vs. 167,334 actual, suggesting minor irregularities worth investigating).
---
4. Recommended Join Key Columns
The natural join keys are ZIPCODE (integer, 0–99999, 27,789 distinct values) and agistub (integer 1–6, income bracket indicator), which together form a composite primary key for this dataset. For geographic joins at a coarser level, STATEFIPS (51 distinct values, no nulls) and STATE (string, 51 distinct values) provide reliable state-level roll-up keys compatible with Census FIPS standards. A critical caveat: ZIPCODE = 0 rows exist (the min is 0), which likely represent statewide aggregates or suppressed ZIP codes — these should be filtered or handled separately before joining to spatial or Census ZIP-level datasets. For cross-dataset joins, note that IRS ZIP codes may not align perfectly with USPS ZIP codes or Census ZCTAs (ZIP Code Tabulation Areas); a ZIP-to-ZCTA crosswalk (available from HUD or the Census Bureau) is recommended as an intermediate mapping layer.
---
5. Recommended Paired Datasets for Correlation Discovery
Several datasets would pair powerfully with this IRS SOI data:
- U.S. Census ACS 5-Year Estimates (2009–2013) by ZIP/ZCTA — correlating A00100 (AGI) and A00200 (wages) against Census median household income, educational attainment, and poverty rates would quantify how well tax-reported income tracks survey-based income measures, and could reveal ZIP codes with anomalous divergence (e.g., high AGI but high poverty, suggesting income inequality within ZIP). - BLS Unemployment Statistics by County/MSA (2011) — pairing N02300/A02300 (unemployment compensation recipients and amounts) with BLS unemployment rates by geography would validate geographic unemployment patterns and potentially reveal ZIP codes with systematically higher or lower UI claiming rates relative to unemployment levels. - Zillow or FHFA House Price Index by ZIP (2011) — correlating A18500 (real estate taxes paid) and A19300 (mortgage interest deduction) with home values would quantify the relationship between housing costs and tax burden, and identify ZIP codes where housing-related deductions are disproportionately large relative to home values. - IRS SOI ZIP Code Data from other years (2008–2019) — longitudinal stacking of the same schema across years would enable trend analysis of income recovery post-2008 recession, with A00100, A00200, and N1 (return count) serving as the key time-series indicators. - Small Business Administration (SBA) Loan Data by ZIP — joining against A00900 (business/self-employment income) and N00900 (count of self-employment filers) could reveal correlations between entrepreneurial activity as measured by taxes and SBA lending penetration.
Columns
- ZIPCODE (integer)
- agi_stub (integer)
- STATEFIPS (integer)
- STATE (string)
- N1 (decimal)
- MARS2 (decimal)
- PREP (decimal)
- N2 (decimal)
- NUMDEP (decimal)
- A00100 (decimal)
- N00200 (decimal)
- A00200 (decimal)
- N00300 (decimal)
- A00300 (decimal)
- N00600 (decimal)
- A00600 (decimal)
- N00650 (decimal)
- A00650 (decimal)
- N00900 (decimal)
- A00900 (decimal)
- SCHF (decimal)
- N01000 (decimal)
- A01000 (decimal)
- N01400 (decimal)
- A01400 (decimal)
- N01700 (decimal)
- A01700 (decimal)
- N02300 (decimal)
- A02300 (decimal)
- N02500 (decimal)
- A02500 (decimal)
- N03300 (decimal)
- A03300 (decimal)
- N04470 (decimal)
- A04470 (decimal)
- N18425 (decimal)
- A18425 (decimal)
- N18450 (decimal)
- A18450 (decimal)
- N18500 (decimal)
- A18500 (decimal)
- N18300 (decimal)
- A18300 (decimal)
- N19300 (decimal)
- A19300 (decimal)
- N19700 (decimal)
- A19700 (decimal)
- N04800 (decimal)
- A04800 (decimal)
- N07100 (decimal)
- A07100 (decimal)
- N07220 (decimal)
- A07220 (decimal)
- N07180 (decimal)
- A07180 (decimal)
- N07260 (decimal)
- A07260 (decimal)
- N59660 (decimal)
- A59660 (decimal)
- N59720 (decimal)
- A59720 (decimal)
- N11070 (decimal)
- A11070 (decimal)
- N09600 (decimal)
- A09600 (decimal)
- N06500 (decimal)
- A06500 (decimal)
- N10300 (decimal)
- A10300 (decimal)
- N11901 (decimal)
- A11901 (decimal)
- N11902 (decimal)
- A11902 (decimal)