STAN implementation of the models in Data Analysis Using Regression and Multilevel/Hierarchical Models