Published in Andrew Heiss's blog
Author Andrew Heiss
![](https://www.andrewheiss.com/blog/2021/11/10/ame-bayes-re-guide/index_files/figure-html/all-effects-combined-1.png)
At the end of my previous post on beta and zero-inflated-beta regression, I included an example of a multilevel model that predicted the proportion of women members of parliament based on whether a country implements gender-based quotas for their legislatures, along with a few different control variables. I also included random effects for year and region in order to capture time- and geography-specific trends.