This here…
When I try to fit…
> data_list <- list(N = 10, y = c(0,1,0,0,0,0,0,0,0,1))
>
> fit <- mod$sample(
+ data = data_list,
+ seed = 123,
+ chains = 4,
+ parallel_chains = 4,
+ refresh = 500 # print update every 500 iters
+ )
Running MCMC with 4 parallel chains...
Warning: Chain 1 finished unexpectedly!
Warning: Chain 2 finished unexpectedly!
Warning: Chain 3 finished unexpectedly!
Warning: Chain 4 finished unexpectedly!
Warning: Use read_cmdstan_csv() to read the results of the failed chains.
Warning messages:
1: All chains finished unexpectedly! Use the $output(chain_id) method for more information.
2: No chains finished successfully. Unable to retrieve the fit.