Skip to content

Having Issues With Example3_Bays2009 brms Script #24

@mdrcboston

Description

@mdrcboston

Hello I'm having trouble with the brms scripts. I'm trying to run the brms script "Example3_Bays2009.R" to replicate the results, however, I get this error message for each of the 6 chains:

"SAMPLING FOR MODEL 'anon_model' NOW (CHAIN 1).
Chain 1:
Chain 1: Gradient evaluation took 0.080665 seconds
Chain 1: 1000 transitions using 10 leapfrog steps per transition would take 806.65 seconds.
Chain 1: Adjust your expectations accordingly!
Chain 1:
Chain 1:
[1] "Error in sampler$call_sampler(args_list[[i]]) : "
[2] " c++ exception (unknown reason)"
error occurred during calling the sampler; sampling not done
[[1]]
Stan model 'anon_model' does not contain samples."

Do you know why this may be happening? I can successfully upload the Bays data file into R and everything works up until I try to fit the mixture model using brms. As a result, there are plot outputs and the summary does not print.

I'm having no trouble with the bmm version of Example3, just the brms script.

Hope you can help, thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions