Five Parameters
Using data from all deceased gubernatorial candidates in the US between 1945 and 2012, we seek to predict candidate longevity after the election. One problem is that life expectancy in the US has increased in that time span We are using a Bayesian regression model with the formula lived_after ~ sex * election_age to analyze the data. The model reveals that the relationship between sex and election age has a positive direction, suggesting that as election age increases, the life expectancy difference between male and female governors tends to widen. We find that male candidates tend to live longer after election. One of the main reasons that the estimates for the quantities of interest may be wrong is because the data isn’t nearly as diverse for females as it is for males. It would be best if we were to narrow our question to a set age of female and male candidates.
Here’s the formula - \[ lived\_after_i = \beta_0 + \beta_1 male_i + \beta_2 c\_election\_age_i + \\ \beta_3 male_i * c\_election\_age_i + \epsilon_i \]
Warning in tidy.brmsfit(x, ..., effects = "fixed"): some parameter names
contain underscores: term naming may be unreliable!
Characteristic |
Beta |
95% CI 1 |
|---|---|---|
| (Intercept) | 19 | -23, 59 |
| sex | ||
| sexMale | 54 | 14, 95 |
| election_age | -0.05 | -0.72, 0.65 |
| sex * election_age | ||
| sexMale * election_age | -0.81 | -1.5, -0.13 |
| 1
CI = Credible Interval |
||