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
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
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 |
||
Adding missing grouping variables: `.row`
**Clinton's Probability**:
$$
\rho_{clinton} = \frac{e^{\beta_{0, clinton} + \beta_{1, clinton} \text{male}}}{1 + e^{\beta_{0, clinton} + \beta_{1, clinton} \text{male}}}
$$
**Perot's Probability**:
$$
\rho_{perot} = \frac{e^{\beta_{0, perot} + \beta_{1, perot} \text{male}}}{1 + e^{\beta_{0, perot} + \beta_{1, perot} \text{male}}}
$$
**Bush's Probability**:
$$
\rho_{bush} = 1 - \rho_{clinton} - \rho_{perot}
$$
[1] "The NES code we have provides voting data for many decades but we used the data from 1992 to see how gender effects voting results. The question we want to answer is how does Sex affect voting results in 1992. Since the voters can change their opinion when they are voting we do not have 100% certainty that these results are correct, We modeled pres_vote, a character variable, as a multinomial logistic regression model. Women are most likely to support Clinton. About 53% of women claim to support Clinton, although that number could be as high as 58% or as low as 48%."