Closed fweber144 closed 1 year ago
Weights are largely ignored in post-processing as they are relevant only during inference (and log_lik computations). Thus, valid_newdata currently does not care if weights are provided or not. The number of trials in binomial models always affects predictions and thus needs to be present. Does this answer your question?
Ok, I was suspecting this to be rather a design issue, so I'm fine with leaving this as-is.
Okay. Thank you checking in about this!
I noticed an inconsistency in the
standata()
output betweenresp_weights()
andresp_trials()
if the data variable containing the weights is missing:Perhaps this is intentioned or not avoidable, but I thought it would be better to report. I guess the error thrown in the
resp_trials()
case is the safer solution compared to the silently used vector of1
s.