All of the following code, data, and plots can also be found on my GitHub page, simply just click the button above.
Feel free to use any and all code (R, Python, Stata, Latex) to help replicate findings. I would appreciate a reference if you do find it helpful for your own research.
I am always happy to help fellow data science explorers deal with the agonizing struggles of coding statistics. Feel free to reach out if you have any errors with the code or want to ask questions. I don't promise to have all the answers, but a great starting point is the following blog post and video I wrote.
Speak soon & may your next coding error be less painful than the last!