{
  "alt": "Two horizontal bars filled to the full width, one for tract life expectancy and one for the ADI national percentile. The life expectancy bar has small between-state and between-county segments and two large segments within counties, one of them the estimation error. The ADI bar is split into segments of similar size, with the between-state segment the largest.",
  "caption": "The life expectancy bar is mostly the two right-hand segments, which together are the share within counties, 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": 43.62
    },
    {
      "level": "Estimation error within counties",
      "measure": "Tract life expectancy",
      "share": 26.71
    },
    {
      "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
    }
  ],
  "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 within-county share, as the two right-hand segments show; the 2020-tract standard errors are mapping grade and understate the noise, so the share of the true differences that lies between tracts in a county is lower than the net share.",
    "The life expectancy bar uses {fact:vsplit_n_tracts} tracts in {fact:vsplit_n_counties} counties and Connecticut planning regions; the ADI bar uses the tracts of the index in the chapter on gradients, slopes and variance. 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",
      "Estimation error within counties": "muted"
    },
    "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 tract life expectancy and of the ADI national percentile that lies 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"
}
