vasishth / bayescogsci

Draft of book entitled An Introduction to Bayesian Data Analysis for Cognitive Science by Nicenboim, Schad, Vasishth
100 stars 27 forks source link

Log likelihood of mixture models (chapter 19) #24

Closed fusaroli closed 2 years ago

fusaroli commented 2 years ago

It might be trivial, but the mixture model in chapter 19 does not include code to calculate the log_lik in the generated quantities. It's easy to figure it out, but including it might help the reader to fully implement the workflow from previous chapters, e.g. model comparison against the null.

bnicenboim commented 2 years ago

thanks, I'm adding this to the newest version