{
  "alt": "Line chart of the share of the gap attributed to homicide against the years of life assumed lost per death. A straight line rises from zero at the left to its highest point at the right edge, with an interval that widens as the line rises. Two vertical rules mark the published mean and the largest possible value.",
  "caption": "The share rises in proportion to the years assumed lost per death. The rule on the right marks the largest value a death could take, the life expectancy of the most deprived tenth ({fact:le_d10} years), and the other rule marks the published mean of {fact:yll_setting} years. The line plots the rough accounting with a 95% interval from a bootstrap over counties.",
  "data": [
    {
      "conf_high": null,
      "conf_low": null,
      "estimate": 0,
      "years_lost": 0
    },
    {
      "conf_high": 0.131,
      "conf_low": 0.098,
      "estimate": 0.115,
      "years_lost": 1
    },
    {
      "conf_high": 0.262,
      "conf_low": 0.197,
      "estimate": 0.23,
      "years_lost": 2
    },
    {
      "conf_high": 0.394,
      "conf_low": 0.295,
      "estimate": 0.345,
      "years_lost": 3
    },
    {
      "conf_high": 0.525,
      "conf_low": 0.393,
      "estimate": 0.46,
      "years_lost": 4
    },
    {
      "conf_high": 0.656,
      "conf_low": 0.491,
      "estimate": 0.574,
      "years_lost": 5
    },
    {
      "conf_high": 0.787,
      "conf_low": 0.59,
      "estimate": 0.689,
      "years_lost": 6
    },
    {
      "conf_high": 0.919,
      "conf_low": 0.688,
      "estimate": 0.804,
      "years_lost": 7
    },
    {
      "conf_high": 1.05,
      "conf_low": 0.786,
      "estimate": 0.919,
      "years_lost": 8
    },
    {
      "conf_high": 1.181,
      "conf_low": 0.885,
      "estimate": 1.034,
      "years_lost": 9
    },
    {
      "conf_high": 1.312,
      "conf_low": 0.983,
      "estimate": 1.149,
      "years_lost": 10
    },
    {
      "conf_high": 1.443,
      "conf_low": 1.081,
      "estimate": 1.264,
      "years_lost": 11
    },
    {
      "conf_high": 1.575,
      "conf_low": 1.179,
      "estimate": 1.379,
      "years_lost": 12
    },
    {
      "conf_high": 1.706,
      "conf_low": 1.278,
      "estimate": 1.494,
      "years_lost": 13
    },
    {
      "conf_high": 1.837,
      "conf_low": 1.376,
      "estimate": 1.609,
      "years_lost": 14
    },
    {
      "conf_high": 1.968,
      "conf_low": 1.474,
      "estimate": 1.723,
      "years_lost": 15
    },
    {
      "conf_high": 2.1,
      "conf_low": 1.573,
      "estimate": 1.838,
      "years_lost": 16
    },
    {
      "conf_high": 2.231,
      "conf_low": 1.671,
      "estimate": 1.953,
      "years_lost": 17
    },
    {
      "conf_high": 2.362,
      "conf_low": 1.769,
      "estimate": 2.068,
      "years_lost": 18
    },
    {
      "conf_high": 2.493,
      "conf_low": 1.867,
      "estimate": 2.183,
      "years_lost": 19
    },
    {
      "conf_high": 2.624,
      "conf_low": 1.966,
      "estimate": 2.298,
      "years_lost": 20
    },
    {
      "conf_high": 2.756,
      "conf_low": 2.064,
      "estimate": 2.413,
      "years_lost": 21
    },
    {
      "conf_high": 2.887,
      "conf_low": 2.162,
      "estimate": 2.528,
      "years_lost": 22
    },
    {
      "conf_high": 3.018,
      "conf_low": 2.261,
      "estimate": 2.643,
      "years_lost": 23
    },
    {
      "conf_high": 3.149,
      "conf_low": 2.359,
      "estimate": 2.757,
      "years_lost": 24
    },
    {
      "conf_high": 3.28,
      "conf_low": 2.457,
      "estimate": 2.872,
      "years_lost": 25
    },
    {
      "conf_high": 3.412,
      "conf_low": 2.555,
      "estimate": 2.987,
      "years_lost": 26
    },
    {
      "conf_high": 3.543,
      "conf_low": 2.654,
      "estimate": 3.102,
      "years_lost": 27
    },
    {
      "conf_high": 3.674,
      "conf_low": 2.752,
      "estimate": 3.217,
      "years_lost": 28
    },
    {
      "conf_high": 3.805,
      "conf_low": 2.85,
      "estimate": 3.332,
      "years_lost": 29
    },
    {
      "conf_high": 3.937,
      "conf_low": 2.949,
      "estimate": 3.447,
      "years_lost": 30
    },
    {
      "conf_high": 4.068,
      "conf_low": 3.047,
      "estimate": 3.562,
      "years_lost": 31
    },
    {
      "conf_high": 4.199,
      "conf_low": 3.145,
      "estimate": 3.677,
      "years_lost": 32
    },
    {
      "conf_high": 4.33,
      "conf_low": 3.243,
      "estimate": 3.792,
      "years_lost": 33
    },
    {
      "conf_high": 4.461,
      "conf_low": 3.342,
      "estimate": 3.906,
      "years_lost": 34
    },
    {
      "conf_high": 4.593,
      "conf_low": 3.44,
      "estimate": 4.021,
      "years_lost": 35
    },
    {
      "conf_high": 4.724,
      "conf_low": 3.538,
      "estimate": 4.136,
      "years_lost": 36
    },
    {
      "conf_high": 4.855,
      "conf_low": 3.637,
      "estimate": 4.251,
      "years_lost": 37
    },
    {
      "conf_high": 4.986,
      "conf_low": 3.735,
      "estimate": 4.366,
      "years_lost": 38
    },
    {
      "conf_high": 5.118,
      "conf_low": 3.833,
      "estimate": 4.481,
      "years_lost": 39
    },
    {
      "conf_high": 5.249,
      "conf_low": 3.931,
      "estimate": 4.596,
      "years_lost": 40
    },
    {
      "conf_high": 5.38,
      "conf_low": 4.03,
      "estimate": 4.711,
      "years_lost": 41
    },
    {
      "conf_high": 5.511,
      "conf_low": 4.128,
      "estimate": 4.826,
      "years_lost": 42
    },
    {
      "conf_high": 5.642,
      "conf_low": 4.226,
      "estimate": 4.94,
      "years_lost": 43
    },
    {
      "conf_high": 5.774,
      "conf_low": 4.325,
      "estimate": 5.055,
      "years_lost": 44
    },
    {
      "conf_high": 5.905,
      "conf_low": 4.423,
      "estimate": 5.17,
      "years_lost": 45
    },
    {
      "conf_high": 6.036,
      "conf_low": 4.521,
      "estimate": 5.285,
      "years_lost": 46
    },
    {
      "conf_high": 6.167,
      "conf_low": 4.62,
      "estimate": 5.4,
      "years_lost": 47
    },
    {
      "conf_high": 6.299,
      "conf_low": 4.718,
      "estimate": 5.515,
      "years_lost": 48
    },
    {
      "conf_high": 6.43,
      "conf_low": 4.816,
      "estimate": 5.63,
      "years_lost": 49
    },
    {
      "conf_high": 6.561,
      "conf_low": 4.914,
      "estimate": 5.745,
      "years_lost": 50
    },
    {
      "conf_high": 6.692,
      "conf_low": 5.013,
      "estimate": 5.86,
      "years_lost": 51
    },
    {
      "conf_high": 6.823,
      "conf_low": 5.111,
      "estimate": 5.975,
      "years_lost": 52
    },
    {
      "conf_high": 6.955,
      "conf_low": 5.209,
      "estimate": 6.089,
      "years_lost": 53
    },
    {
      "conf_high": 7.086,
      "conf_low": 5.308,
      "estimate": 6.204,
      "years_lost": 54
    },
    {
      "conf_high": 7.217,
      "conf_low": 5.406,
      "estimate": 6.319,
      "years_lost": 55
    },
    {
      "conf_high": 7.348,
      "conf_low": 5.504,
      "estimate": 6.434,
      "years_lost": 56
    },
    {
      "conf_high": 7.48,
      "conf_low": 5.602,
      "estimate": 6.549,
      "years_lost": 57
    },
    {
      "conf_high": 7.611,
      "conf_low": 5.701,
      "estimate": 6.664,
      "years_lost": 58
    },
    {
      "conf_high": 7.742,
      "conf_low": 5.799,
      "estimate": 6.779,
      "years_lost": 59
    },
    {
      "conf_high": 7.873,
      "conf_low": 5.897,
      "estimate": 6.894,
      "years_lost": 60
    },
    {
      "conf_high": 8.004,
      "conf_low": 5.996,
      "estimate": 7.009,
      "years_lost": 61
    },
    {
      "conf_high": 8.136,
      "conf_low": 6.094,
      "estimate": 7.123,
      "years_lost": 62
    },
    {
      "conf_high": 8.267,
      "conf_low": 6.192,
      "estimate": 7.238,
      "years_lost": 63
    },
    {
      "conf_high": 8.398,
      "conf_low": 6.29,
      "estimate": 7.353,
      "years_lost": 64
    },
    {
      "conf_high": 8.529,
      "conf_low": 6.389,
      "estimate": 7.468,
      "years_lost": 65
    },
    {
      "conf_high": 8.66,
      "conf_low": 6.487,
      "estimate": 7.583,
      "years_lost": 66
    },
    {
      "conf_high": 8.792,
      "conf_low": 6.585,
      "estimate": 7.698,
      "years_lost": 67
    },
    {
      "conf_high": 8.923,
      "conf_low": 6.684,
      "estimate": 7.813,
      "years_lost": 68
    },
    {
      "conf_high": 9.054,
      "conf_low": 6.782,
      "estimate": 7.928,
      "years_lost": 69
    },
    {
      "conf_high": 9.185,
      "conf_low": 6.88,
      "estimate": 8.043,
      "years_lost": 70
    },
    {
      "conf_high": 9.317,
      "conf_low": 6.978,
      "estimate": 8.158,
      "years_lost": 71
    },
    {
      "conf_high": 9.448,
      "conf_low": 7.077,
      "estimate": 8.272,
      "years_lost": 72
    },
    {
      "conf_high": 9.579,
      "conf_low": 7.175,
      "estimate": 8.387,
      "years_lost": 73
    },
    {
      "conf_high": 9.71,
      "conf_low": 7.273,
      "estimate": 8.502,
      "years_lost": 74
    }
  ],
  "id": "years_lost_sweep",
  "notes": [
    "The accounting multiplies each tenth's homicide rate for 2022 to 2024 by its life expectancy and by the years lost per death, so the share is proportional to that setting. The largest value that can apply to every tenth is the life expectancy of the most deprived tenth, which would mean that every homicide took a whole life. If every homicide in the most deprived tenth took that tenth's whole life expectancy and none in the least deprived tenth took any, which no single value gives, the share would reach {fact:share_bound_tenth}.",
    "Intervals are 95% intervals from a bootstrap that draws whole counties with replacement (replicates and seed are in the methods note)."
  ],
  "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": {
    "annotations": [
      {
        "label": "Published mean",
        "type": "x-rule",
        "x": 41.52
      },
      {
        "label": "Largest possible",
        "type": "x-rule",
        "x": 74.01
      }
    ],
    "hi": "conf_high",
    "lo": "conf_low",
    "x": "years_lost",
    "xDomain": [
      0,
      75
    ],
    "xLabel": "Years of life lost per homicide (assumed)",
    "xTicks": [
      0,
      10,
      20,
      30,
      40,
      50,
      60,
      70
    ],
    "y": "estimate",
    "yDomain": [
      0,
      11
    ],
    "yFormat": {
      "digits": 1
    },
    "yLabel": "Share of the gap attributed to homicide (%)"
  },
  "subtitle": "Share of the gap in life expectancy between the least and the most deprived tenths of tracts attributed to homicide, by the years of life assumed lost per homicide",
  "title": "Homicide accounts for {fact:share_low} of the gap if each takes {fact:yll_low} years of life and {fact:share_high} if each takes {fact:yll_high}, and for at most {fact:share_bound} when one value applies to every tenth",
  "type": "line"
}
