{
  "alt": "Three horizontal bars filled to the full width, one each for tract life expectancy, the ADI national percentile and the nine-measure index percentile, each split into between-state, between-county and within-county segments. The between-tract segment is the largest for life expectancy and the index. For the ADI the between-state segment is the largest and the between-county segment is the smallest.",
  "caption": "The life expectancy bar and the index bar are mostly the right-hand segment, between tracts in the same county, and the ADI bar is mostly the other two. Each bar sums to the whole variance of its measure; the shares come from every tract in the sample and have no sampling interval.",
  "data": [
    {
      "level": "Between states",
      "measure": "Tract life expectancy",
      "share": 13.75
    },
    {
      "level": "Between counties in a state",
      "measure": "Tract life expectancy",
      "share": 15.92
    },
    {
      "level": "Between tracts in a county",
      "measure": "Tract life expectancy",
      "share": 70.33
    },
    {
      "level": "Between states",
      "measure": "ADI national percentile",
      "share": 36.64
    },
    {
      "level": "Between counties in a state",
      "measure": "ADI national percentile",
      "share": 29.38
    },
    {
      "level": "Between tracts in a county",
      "measure": "ADI national percentile",
      "share": 33.98
    },
    {
      "level": "Between states",
      "measure": "Nine-measure index percentile",
      "share": 5.13
    },
    {
      "level": "Between counties in a state",
      "measure": "Nine-measure index percentile",
      "share": 23.29
    },
    {
      "level": "Between tracts in a county",
      "measure": "Nine-measure index percentile",
      "share": 71.59
    }
  ],
  "id": "variance_split",
  "notes": [
    "Tract life expectancy is modeled. The mean squared standard error of the tract estimates equals {fact:vsplit_noise} percent of the total variance and sits inside the between-tract segment; the 2020-tract standard errors are mapping grade and understate the noise, so the share of the true differences that lies between tracts is lower than the net share in the text.",
    "The life expectancy bar uses {fact:vsplit_n_tracts} tracts in {fact:vsplit_n_counties} counties and Connecticut planning regions; the ADI and index bars use the {fact:pca_n} tracts of the index. Connecticut's planning regions stand in for its counties."
  ],
  "source": "USALEEP life expectancy, 2010-2015; ACS 2019-2023; Area Deprivation Index, 2023; population-weighted decomposition of the variance, full counts of tracts",
  "spec": {
    "category": "measure",
    "colors": {
      "Between counties in a state": "cat2",
      "Between states": "cat1",
      "Between tracts in a county": "highlight"
    },
    "format": {
      "digits": 1
    },
    "group": "level",
    "normalize": true,
    "orientation": "h",
    "sort": "data",
    "stack": true,
    "value": "share",
    "valueLabel": "Share of the variance (%)"
  },
  "subtitle": "Share of the population-weighted variance of three tract measures between states, between counties in a state and between tracts in a county, percent",
  "title": "{fact:vsplit_within} percent of the variance of tract life expectancy lies between tracts in the same county, {fact:vsplit_noise} points of it estimation error, against {fact:adi_within} percent for the ADI",
  "type": "bar",
  "width": "body"
}
