Question: Bonus R code question: Develop your own custom function that will take the posterior distribution of a coefficient from the output object from an MCMClogit()
Bonus R code question: Develop your own custom function that will take the posterior distribution of a coefficient from the output object from an MCMClogit() analysis and automatically create a histogram of the posterior distributions of the coefficient in terms of regular odds (instead of logodds). Make sure to mark vertical lines on the histogram indicating the boundaries of the 95% HDI.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
