egouldo / ManyAnalysts

Source code for ManyEcoEvo Manuscript
https://egouldo.github.io/ManyAnalysts/
GNU General Public License v3.0
1 stars 0 forks source link

Check why inverse variance not taken for categorical rating #12

Open egouldo opened 2 months ago

egouldo commented 2 months ago

For the univariate analysis of the Deviation Score, I don't see mention of weighting based on the inverse variance however looking at the analysis, it looks like the authors did this for continuous rating (https://github.com/egouldo/ManyEcoEvo/blob/main/R/fit_boxcox_ratings_cont.R#L44) but it's commented out for categorical rating (https://github.com/egouldo/ManyEcoEvo/blob/main/R/fit_boxcox_ratings_cat.R#L52). I'm wondering why?

Can't recall exactly why, and maybe this is an error, but from memory I think there were some problems with model fit for the categorical ratings and inverse variance?

egouldo commented 2 weeks ago

This is addressed in the ManyEcoEvo package, see https://github.com/egouldo/ManyEcoEvo/issues/35