{
 "n_months": 862,
 "span": [
  "1948-01",
  "2025-01"
 ],
 "n_presidents": 14,
 "approval_mean": 52.05,
 "approval_sd": 12.72,
 "M1_misery": {
  "slope": -1.077,
  "se": 0.122,
  "ci95": [
   -1.316,
   -0.838
  ],
  "p": 0.0,
  "r2": 0.0832,
  "rmse": 12.17
 },
 "M2_unemp_infl": {
  "unemployment": {
   "slope": 0.014,
   "se": 0.24,
   "p": 0.9529265574278447
  },
  "inflation": {
   "slope": -1.489,
   "se": 0.143,
   "p": 0.0
  },
  "r2": 0.1118
 },
 "M3_president_only": {
  "r2": 0.3857,
  "rmse": 9.97
 },
 "M4_president_plus_misery": {
  "r2": 0.4465,
  "misery_slope": -1.546,
  "misery_se": 0.16,
  "misery_p": 0.0,
  "r2_gain_over_president_only": 0.0608,
  "r2_gain_over_misery_only": 0.3633
 },
 "M5_within_president": {
  "slope": -1.546,
  "se": 0.159,
  "p": 0.0,
  "r2": 0.099
 },
 "M5_by_era": {
  "1948-1979": {
   "n": 334,
   "slope": -2.736,
   "se": 0.243,
   "p": 0.0,
   "r2": 0.2771,
   "approval_sd": 9.89
  },
  "1980-1999": {
   "n": 233,
   "slope": -1.066,
   "se": 0.257,
   "p": 4.840647437287515e-05,
   "r2": 0.0691,
   "approval_sd": 13.31
  },
  "2000-2025": {
   "n": 295,
   "slope": -0.531,
   "se": 0.318,
   "p": 0.09626868737488081,
   "r2": 0.0094,
   "approval_sd": 13.31
  }
 },
 "largest_residuals": [
  {
   "month": "2001-09",
   "president": "George W. Bush",
   "approval": 90.0,
   "misery": 7.59,
   "predicted": 53.9,
   "residual": 36.1
  },
  {
   "month": "1991-03",
   "president": "George H.W. Bush",
   "approval": 85.6,
   "misery": 11.62,
   "predicted": 49.5,
   "residual": 36.1
  },
  {
   "month": "1952-02",
   "president": "Harry S. Truman",
   "approval": 22.0,
   "misery": 5.35,
   "predicted": 56.3,
   "residual": -34.3
  },
  {
   "month": "2001-10",
   "president": "George W. Bush",
   "approval": 88.0,
   "misery": 7.43,
   "predicted": 54.0,
   "residual": 34.0
  },
  {
   "month": "2001-11",
   "president": "George W. Bush",
   "approval": 87.0,
   "misery": 7.39,
   "predicted": 54.1,
   "residual": 32.9
  },
  {
   "month": "2001-12",
   "president": "George W. Bush",
   "approval": 86.0,
   "misery": 7.3,
   "predicted": 54.2,
   "residual": 31.8
  },
  {
   "month": "1952-01",
   "president": "Harry S. Truman",
   "approval": 24.0,
   "misery": 7.42,
   "predicted": 54.0,
   "residual": -30.0
  },
  {
   "month": "1952-05",
   "president": "Harry S. Truman",
   "approval": 27.0,
   "misery": 4.85,
   "predicted": 56.8,
   "residual": -29.8
  }
 ],
 "by_president": [
  {
   "president": "Harry S. Truman",
   "party": "D",
   "months": 36,
   "approval_mean": 36.0,
   "approval_sd": 11.1,
   "misery_mean": 8.1,
   "first_month": "1948-01"
  },
  {
   "president": "Dwight D. Eisenhower",
   "party": "R",
   "months": 88,
   "approval_mean": 64.7,
   "approval_sd": 6.7,
   "misery_mean": 6.3,
   "first_month": "1953-02"
  },
  {
   "president": "John F. Kennedy",
   "party": "D",
   "months": 33,
   "approval_mean": 70.6,
   "approval_sd": 7.3,
   "misery_mean": 7.1,
   "first_month": "1961-02"
  },
  {
   "president": "Lyndon B. Johnson",
   "party": "D",
   "months": 57,
   "approval_mean": 54.8,
   "approval_sd": 12.9,
   "misery_mean": 6.8,
   "first_month": "1963-12"
  },
  {
   "president": "Richard Nixon",
   "party": "R",
   "months": 62,
   "approval_mean": 49.8,
   "approval_sd": 13.0,
   "misery_mean": 10.8,
   "first_month": "1969-01"
  },
  {
   "president": "Gerald Ford",
   "party": "R",
   "months": 23,
   "approval_mean": 46.7,
   "approval_sd": 7.4,
   "misery_mean": 16.5,
   "first_month": "1974-08"
  },
  {
   "president": "Jimmy Carter",
   "party": "D",
   "months": 46,
   "approval_mean": 46.0,
   "approval_sd": 11.8,
   "misery_mean": 16.2,
   "first_month": "1977-02"
  },
  {
   "president": "Ronald Reagan",
   "party": "R",
   "months": 89,
   "approval_mean": 53.0,
   "approval_sd": 7.7,
   "misery_mean": 12.3,
   "first_month": "1981-02"
  },
  {
   "president": "George H.W. Bush",
   "party": "R",
   "months": 49,
   "approval_mean": 60.3,
   "approval_sd": 13.8,
   "misery_mean": 10.7,
   "first_month": "1989-01"
  },
  {
   "president": "Bill Clinton",
   "party": "D",
   "months": 96,
   "approval_mean": 55.1,
   "approval_sd": 7.0,
   "misery_mean": 7.8,
   "first_month": "1993-01"
  },
  {
   "president": "George W. Bush",
   "party": "R",
   "months": 96,
   "approval_mean": 49.5,
   "approval_sd": 16.2,
   "misery_mean": 8.1,
   "first_month": "2001-02"
  },
  {
   "president": "Barack Obama",
   "party": "D",
   "months": 98,
   "approval_mean": 48.1,
   "approval_sd": 5.4,
   "misery_mean": 8.8,
   "first_month": "2009-01"
  },
  {
   "president": "Donald Trump",
   "party": "R",
   "months": 49,
   "approval_mean": 41.1,
   "approval_sd": 3.3,
   "misery_mean": 6.9,
   "first_month": "2017-01"
  },
  {
   "president": "Joe Biden",
   "party": "D",
   "months": 40,
   "approval_mean": 42.6,
   "approval_sd": 5.7,
   "misery_mean": 9.3,
   "first_month": "2021-02"
  }
 ]
}