easystats / performance

:muscle: Models' quality and performance metrics (R2, ICC, LOO, AIC, BF, ...)
https://easystats.github.io/performance/
GNU General Public License v3.0
1.01k stars 87 forks source link

Fails test check_zero_inflation with weigths #475

Open naveranoc opened 2 years ago

naveranoc commented 2 years ago

Hi, thank you very much for this package,

Reviewing the zero inflation and over dispersion functions, they do not take into account the weights of the model. For cases where these weights represent repeated observations (_frequencyweigts) there should be an option to take them into account?

strengejacke commented 1 year ago

@bwiernik do you have an idea how to take weights into account for check_zeroinflation() and check_overdisperision()?

bwiernik commented 1 year ago

yeah, I can take a look

bwiernik commented 1 year ago

Could someone make a reprex I can work with?