{
  "alt": "Table with one row for the main setting and one for each variation. Each row gives the years of life expectancy attributed to homicide, the gap, the share of the gap, an interval and the number of tracts. The shares in the rows lie within a narrow range.",
  "caption": "The first row is the main setting and each other row changes one thing. The lowest shares come from scaling the rates to the 2019 level and from counting only firearm homicide, and the highest from adding firearm suicide. The columns give the part attributed to homicide in years, the gap it is measured against, its share, and a 95% interval for the share from a bootstrap over counties.",
  "data": [
    {
      "conf_high": 5.45,
      "conf_low": 4.08,
      "gap": 8.28,
      "setting": "Main setting: homicide rates for 2022 to 2024, all tracts with a rate",
      "share": 4.77,
      "tracts": 72225,
      "tracts_ends": 14089,
      "years": 0.395
    },
    {
      "conf_high": 5.86,
      "conf_low": 4.37,
      "gap": 8.28,
      "setting": "Rates for 2022 and 2023 only (final data)",
      "share": 5.13,
      "tracts": 73581,
      "tracts_ends": 14275,
      "years": 0.424
    },
    {
      "conf_high": 5.35,
      "conf_low": 4.01,
      "gap": 8.28,
      "setting": "Withheld rates filled with the low end of CDC's count range",
      "share": 4.68,
      "tracts": 75862,
      "tracts_ends": 14636,
      "years": 0.388
    },
    {
      "conf_high": 5.11,
      "conf_low": 3.81,
      "gap": 8.28,
      "setting": "Withheld rates filled with the high end of CDC's count range",
      "share": 4.47,
      "tracts": 75862,
      "tracts_ends": 14636,
      "years": 0.37
    },
    {
      "conf_high": 4.48,
      "conf_low": 3.32,
      "gap": 8.28,
      "setting": "Rates scaled to the 2019 level, from the county file",
      "share": 3.91,
      "tracts": 70374,
      "tracts_ends": 13779,
      "years": 0.324
    },
    {
      "conf_high": 4.68,
      "conf_low": 3.45,
      "gap": 8.28,
      "setting": "Firearm homicide only",
      "share": 4.06,
      "tracts": 72285,
      "tracts_ends": 14115,
      "years": 0.336
    },
    {
      "conf_high": 6.92,
      "conf_low": 5.62,
      "gap": 8.28,
      "setting": "Homicide plus firearm suicide",
      "share": 6.23,
      "tracts": 50213,
      "tracts_ends": 10102,
      "years": 0.516
    },
    {
      "conf_high": 5.87,
      "conf_low": 4.42,
      "gap": 8.28,
      "setting": "National life expectancy in place of each tenth's",
      "share": 5.16,
      "tracts": 72225,
      "tracts_ends": 14089,
      "years": 0.427
    },
    {
      "conf_high": 5.66,
      "conf_low": 4.26,
      "gap": 8.28,
      "setting": "Rates scaled to a common share of residents aged 18 to 64",
      "share": 4.96,
      "tracts": 72225,
      "tracts_ends": 14089,
      "years": 0.411
    },
    {
      "conf_high": 5.32,
      "conf_low": 4,
      "gap": 8.44,
      "setting": "Gap taken over the tracts that have a rate",
      "share": 4.68,
      "tracts": 72225,
      "tracts_ends": 14089,
      "years": 0.395
    },
    {
      "conf_high": 5.67,
      "conf_low": 4.24,
      "gap": 8.35,
      "setting": "Each tract counted once, not weighted by residents",
      "share": 4.97,
      "tracts": 72225,
      "tracts_ends": 14089,
      "years": 0.415
    },
    {
      "conf_high": 5.29,
      "conf_low": 3.95,
      "gap": 8.28,
      "setting": "New York City tracts at the county file's rate",
      "share": 4.63,
      "tracts": 74299,
      "tracts_ends": 15117,
      "years": 0.383
    },
    {
      "conf_high": 5.05,
      "conf_low": 3.76,
      "gap": 8.28,
      "setting": "Years lost scaled by each tenth's life expectancy over the national",
      "share": 4.41,
      "tracts": 72225,
      "tracts_ends": 14089,
      "years": 0.365
    }
  ],
  "id": "setting_table",
  "notes": [
    "Firearm suicide enters at the mean years of life lost per suicide, {fact:yll_suicide}, and only for tracts with a published rate for both. Rates scaled to the 2019 level use the county file's ratio of the 2019 rate to the 2022 to 2024 rate in each tenth, so they describe counties and not clusters. The two rows that fill withheld rates use the low and the high end of the count range CDC publishes for them, so they bound what the withheld rates could add and are not estimates. The row for New York City gives the city's tracts the county file's rate for their borough. The row that scales the years lost multiplies them by each tenth's life expectancy over the national one. The rows that measure the gap over the tracts that have a rate and that count each tract once have gaps of their own, which the table gives."
  ],
  "source": "CDC Mapping Injury, Overdose, and Violence, tract file, homicide, 2022-2024 (modeled estimates for tract clusters); USALEEP life expectancy, 2010-2015; Area Deprivation Index 2023; years of life lost per death assumed from published estimates; population-weighted",
  "spec": {
    "columns": [
      {
        "key": "setting",
        "label": "Setting"
      },
      {
        "format": {
          "digits": 2
        },
        "key": "years",
        "label": "Years attributed to homicide"
      },
      {
        "format": {
          "digits": 2
        },
        "key": "gap",
        "label": "Gap (years)"
      },
      {
        "format": {
          "digits": 1
        },
        "key": "share",
        "label": "Share of the gap (%)"
      },
      {
        "format": {
          "digits": 1
        },
        "key": "conf_low",
        "label": "Interval, low (%)"
      },
      {
        "format": {
          "digits": 1
        },
        "key": "conf_high",
        "label": "Interval, high (%)"
      },
      {
        "format": {
          "thousands": true
        },
        "key": "tracts",
        "label": "Tracts with a rate"
      },
      {
        "format": {
          "thousands": true
        },
        "key": "tracts_ends",
        "label": "Of these, in the end tenths"
      }
    ]
  },
  "subtitle": "Part of the gap in life expectancy between the least and the most deprived tenths of tracts attributed to homicide, in the main setting and in each variation, at the published years of life lost per death",
  "title": "Changing the rate window, the set of deaths counted or the conversion moves the share of the gap between {fact:variant_min} and {fact:variant_max}",
  "type": "table",
  "width": "wide"
}
