MaC-Perez / Hydra-self-testing

0 stars 0 forks source link

Check Pearson residual calculation in hydra diagnostic plots #11

Open gavinfay opened 2 months ago

gavinfay commented 2 months ago

Check Pearson residual calculation in hydra-diagnostics.Rmd.

MaC-Perez commented 2 months ago

@gavinfay fixed, I was using proportions. But even when I multiplied the proportions by sample size I am getting 4 big values because the model estimates really slow values in bin 1, al the other values are ok. [code]

excel with pearson values

gavinfay commented 2 months ago

hydra-diagnostics.Rmd has not been updated. You should not duplicate the diagnostics plot script in this simulation testing repository - any changes you make here won't be in the core diagnostics plotting function that the documentation points to. You wrote the diagnostics plots as generic function - make use of this so you don't duplicate your own work needlessly. (and so you don't have to change things in more than one place)