Professor of Psychology, University of Minnesota. Sporadically writing stuff at http://getsyeducated.substack.com
There may be something newer available now, but a while ago I found this post helpful. We used that approach in this paper, all of the code is available in the OSF repo: doi.org/10.1037/per0... msilvestrin.me/posts/esem/
