Weights for a bernoulli model in Bambi

@tcapretto Do weights works with a bernoulli likelihood? I am getting errors regardless of it I code the column as a string or Boolean. Not sure what I am doing wrong.

(post deleted by author)

I thought I had a solution using binomial instead, but was wrong.. interested as well in how this is supposed to work in that case… weighted(p(n,N), weights) ~ 1 ? Or some other syntax?

I tried that and got the same error

My apologies, I did not mean to imply that this was (currently?) legal syntax.

To sample this model it might be necessary to go down to the Pymc level at the moment.