"Bayesian Cognitive Modeling" in cmdstanr

For the purpose of providing stan examples, I’ve found some issues on one example (the 7 scientists), kudos to @mike-lawrence for help in identifying the issues (Divergences when adding prior sampling).
The model is probably unidentifiable (7 data points, 7 variances to estimate). However, the early smira script (https://github.com/stan-dev/example-models/blob/master/Bayesian_Cognitive_Modeling/ParameterEstimation/Gaussian/SevenScientists_Stan.R) runs without any issue. At least as long as I don’t try to sample the priors, then all sort of divergences occur.
For my own learning I can comment on the issues and play with amount of data.
For the Stan example to be added to the repository, perhaps I can augment the data, and comment on the discrepancy with the original model in the book and smira repository. Would that work?

1 Like