IRS Statistics of Income (SOI) Tax Year 2013 Zip Code Data
- Rows
- 27,790
- Columns
- 114
- Data range
- 0 to 99999
Federal tax return statistics for the 2013 tax year organized by 5-digit zip code.
AI analysis
IRS SOI Tax Year 2013 Zip Code Data — Analytical Overview
1. Dataset Representation and Research Value
This dataset, sourced directly from the IRS Statistics of Income division at https://www.irs.gov/pub/irs-soi/13zpallnoagi.csv, represents aggregated federal tax return statistics for the 2013 filing year, organized at the 5-digit ZIP code level across 27,790 rows and 114 columns. Because it originates from the IRS itself, it carries high institutional credibility, though the 2013 vintage means it is now over a decade old and should be treated as a historical snapshot rather than a current economic picture. The breadth of coverage is exceptional: the dataset spans filing counts, income sources (wages, dividends, capital gains, business income, Social Security), deductions (mortgage interest, charitable contributions, student loan interest), tax credits (EITC, child tax credit), and final tax liability — all aggregated by ZIP. This makes it extraordinarily valuable for geographic socioeconomic studies, inequality research, and any correlation analysis linking place-based tax behavior to external demographic, housing, or labor market variables.
2. Data Quality Observations
The dataset is remarkably clean by most conventional measures. Total null cells across all 114 columns is zero, which is unusual for a dataset of this size and breadth and reflects the IRS's practice of substituting zeros for suppressed or absent values rather than leaving fields empty. There are no reported type mismatches, and all numeric columns carry expected integer or decimal types. One notable anomaly is the AGISTUB column, which shows min=0, max=0, mean=0, σ=0, and only 1 distinct value — this column is entirely constant and carries no analytical information, suggesting this file represents a single AGI stratum (or that stratum filtering was applied upstream). It should be dropped before any modeling or correlation work. The ZIPCODE column shows 27,690 distinct values across 27,790 rows, implying roughly 100 duplicate ZIP code entries that warrant investigation — these may reflect ZIP codes appearing under multiple state or filing configurations. The zero-null policy does introduce a subtle quality risk: zeros in columns like A00300 (taxable interest) or N03300 (self-employment tax filers) may represent genuine absence or IRS suppression of small cell counts for disclosure protection, which could artificially compress distributions for sparse ZIP codes.
3. Key Column Distributions and Notable Patterns
The return count column N1 (total number of returns per ZIP) exhibits extreme right skew (skew=56.4, outliers=1,816), with a median of just 1,900 returns but a mean of 10,346 and a maximum of nearly 16.9 million — the latter almost certainly representing large urban ZIPs or aggregate/summary rows. This pattern repeats across virtually every count (N) and amount (A) column, confirming the dataset is dominated by small-to-mid-size ZIPs with a long tail of high-density urban areas. The AGI-related column A00100 (adjusted gross income) shows a median of $94,467 against a mean of $657,743 (skew=61.7, 2,563 outliers), illustrating profound geographic income inequality baked into the zip-level aggregation. Wage income A00200 tells a similar story: median $66,532, mean $458,092. Capital gains (A01000) are even more skewed — median $1,365, mean $28,756, skew=75.6 — reflecting the concentration of investment income in a small number of wealthy ZIPs. Notably, A00900 (business/Schedule C income) has a negative minimum of -$4,894, confirming net losses are present. Self-employment tax items (N03300/A03300) show the highest skewness values (81.8 and 84.2 respectively) with medians of zero, indicating these are sparse across most ZIPs. The EITC columns (N59660/A59660) and child tax credit columns (N11070/A11070) provide a useful counterweight — they are most prevalent in lower-income ZIPs and can serve as inverse proxies for affluence.
4. Recommended Join Key Columns
The primary join key for cross-dataset correlation is ZIPCODE (integer, 0 nulls, 27,690 distinct values), which aligns directly with US Postal Service 5-digit ZIP codes used across Census, HUD, commercial, and public health datasets. STATEFIPS (51 distinct values, 0 nulls) enables state-level aggregation or joins to FIPS-coded government datasets such as BLS or Census Bureau releases. STATE (string, 51 distinct values) supports joins to non-FIPS string-keyed sources. A composite key of ZIPCODE + STATE is advisable to disambiguate any ZIP codes that span state boundaries. Analysts should be aware that ZIP codes are not stable geographic units — they change over time and don't align perfectly with Census tracts or counties — so a ZIP-to-ZCTA crosswalk (available from the Census Bureau) is strongly recommended as a bridging table before joining to Census-based geographies.
5. Suggested Paired Datasets for Correlation Discovery
Several external datasets would pair powerfully with this data. ACS 5-Year Estimates by ZIP Code Tabulation Area (ZCTA) from the Census Bureau (2013 vintage) would enable direct correlation of IRS income and filing metrics against population, education attainment, unemployment, and housing cost burden — key tests for economic mobility hypotheses. HUD Fair Market Rents and USPS vacancy data by ZIP would allow exploration of whether high AGI ZIPs correlate with low rental vacancy and high rents, relevant to housing affordability research. BLS Quarterly Census of Employment and Wages (QCEW) at the county level (bridged via ZIP-to-county crosswalks) could test whether wage income (A00200) tracks with local industry composition and employer density. CDC PLACES or county health rankings data would support public health correlation studies — for instance, whether high EITC (A59660) or low AGI ZIPs correlate with worse health outcomes. Finally, Small Business Administration loan data or FDIC bank branch data by ZIP could be correlated against Schedule C business income (A00900) and self-employment counts (N00900) to study the relationship between access to capital and entrepreneurial activity at the neighborhood level.
Columns
- ZIPCODE (integer)
- STATEFIPS (integer)
- STATE (string)
- AGI_STUB (integer)
- N1 (decimal)
- MARS1 (decimal)
- MARS2 (decimal)
- MARS4 (decimal)
- PREP (decimal)
- N2 (decimal)
- NUMDEP (decimal)
- A00100 (decimal)
- N02650 (decimal)
- A02650 (decimal)
- N00200 (decimal)
- A00200 (decimal)
- N00300 (decimal)
- A00300 (decimal)
- N00600 (decimal)
- A00600 (decimal)
- N00650 (decimal)
- A00650 (decimal)
- N00700 (decimal)
- A00700 (decimal)
- N00900 (decimal)
- A00900 (decimal)
- N01000 (decimal)
- A01000 (decimal)
- N01400 (decimal)
- A01400 (decimal)
- N01700 (decimal)
- A01700 (decimal)
- SCHF (decimal)
- N02300 (decimal)
- A02300 (decimal)
- N02500 (decimal)
- A02500 (decimal)
- N26270 (decimal)
- A26270 (decimal)
- N02900 (decimal)
- A02900 (decimal)
- N03220 (decimal)
- A03220 (decimal)
- N03300 (decimal)
- A03300 (decimal)
- N03270 (decimal)
- A03270 (decimal)
- N03150 (decimal)
- A03150 (decimal)
- N03210 (decimal)
- A03210 (decimal)
- N03230 (decimal)
- A03230 (decimal)
- N03240 (decimal)
- A03240 (decimal)
- N04470 (decimal)
- A04470 (decimal)
- A00101 (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)
- N05800 (decimal)
- A05800 (decimal)
- N09600 (decimal)
- A09600 (decimal)
- N07100 (decimal)
- A07100 (decimal)
- N07300 (decimal)
- A07300 (decimal)
- N07180 (decimal)
- A07180 (decimal)
- N07230 (decimal)
- A07230 (decimal)
- N07240 (decimal)
- A07240 (decimal)
- N07220 (decimal)
- A07220 (decimal)
- N07260 (decimal)
- A07260 (decimal)
- N09400 (decimal)
- A09400 (decimal)
- N10600 (decimal)
- A10600 (decimal)
- N59660 (decimal)
- A59660 (decimal)
- N59720 (decimal)
- A59720 (decimal)
- N11070 (decimal)
- A11070 (decimal)
- N10960 (decimal)
- A10960 (decimal)
- N06500 (decimal)
- A06500 (decimal)
- N10300 (decimal)
- A10300 (decimal)
- N85330 (decimal)
- A85330 (decimal)
- N85300 (decimal)
- A85300 (decimal)
- N11901 (decimal)
- A11901 (decimal)
- N11902 (decimal)
- A11902 (decimal)