Four Parameters: Categorical

Author

Roshan Ranganathan

Warning: package 'tidyverse' was built under R version 4.4.1
Warning: package 'brms' was built under R version 4.4.1
Warning: package 'tidybayes' was built under R version 4.4.1
Warning: package 'gtsummary' was built under R version 4.4.1
Adding missing grouping variables: `.row`

Using data from the National Election Studies (NES) survey of U.S. citizens, we aim to explore the relationship between voter preference and gender in the 1992 Presidential election, with the understanding that our results may be influenced by varying response rates among different voter groups. We investigate how gender affected voting patterns among the three leading candidates—Clinton, Bush, and Perot. The analysis reveals that men were more likely to vote for Perot, while women showed a stronger preference for Clinton. The posterior distributions for expected voting probabilities highlight these differences, providing insights into the gender-based voting preferences during the 1992 election.

\[\begin{aligned} \rho_{clinton} &=& \frac{e^{\beta_{0, clinton} + \beta_{1, clinton} male}}{1 + e^{\beta_{0, clinton} + \beta_{1, clinton} male}}\\ \rho_{perot} &=& \frac{e^{\beta_{0, perot} + \beta_{1, perot} male}}{1 + e^{\beta_{0, perot} + \beta_{1, perot} male}}\\ \rho_{bush} &=& 1 - \rho_{clinton} - \rho_{perot} \end{aligned}\]
Warning in tidy.brmsfit(x, ..., effects = "fixed"): some parameter names
contain underscores: term naming may be unreliable!
✖ Unable to identify the list of variables.

This is usually due to an error calling `stats::model.frame(x)`or `stats::model.matrix(x)`.
It could be the case if that type of model does not implement these methods.
Rarely, this error may occur if the model object was created within
a functional programming framework (e.g. using `lappy()`, `purrr::map()`, etc.).

Characteristic

Beta

95% CI

1
muClinton_(Intercept) 0.45 0.31, 0.60
muPerot_(Intercept) -0.85 -1.1, -0.64
muClinton_sexMale -0.25 -0.48, -0.03
muPerot_sexMale 0.42 0.14, 0.69
1

CI = Credible Interval