avehtari / casestudies

26 stars 6 forks source link

Bug in create_inits #4

Open dhalpern opened 4 months ago

dhalpern commented 4 months ago

I think the create_inits function (here) needs to replace the line pareto_smooth(w, tail='right', r_eff=1)$x with just pareto_smooth(w, tail='right', r_eff=1). According to the most recent posterior documentation, pareto_smooth will only return diagnostics along with x if extra_diags is set to TRUE and it is FALSE by default.