Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check again whether multinomial residuals are possible #62

Open
nehill197 opened this issue Jun 3, 2024 · 2 comments
Open

Check again whether multinomial residuals are possible #62

nehill197 opened this issue Jun 3, 2024 · 2 comments

Comments

@nehill197
Copy link
Member

See if this post has any validity
https://stats.stackexchange.com/questions/186560/what-is-multinomial-deviance-in-the-glmnet-package

@nehill197
Copy link
Member Author

Started working on this and was able to validate the deviance calculation by comparing to the output of a VGAM::vglm() model.

We need to figure out if each row modelled by a multinomial should have a single deviance value or one for each column in that row.

This may require an "extended" way to calculate the sign for the deviance residuals (i.e., it isn't as simple as taking the sign of a single value). There is a method to do this detailed here (https://convegni.unica.it/cladag2015/files/2015/10/Romeo1.pdf), however I find it unclear.

@joethorley
Copy link
Member

This might also be worth a read:

https://onlinelibrary.wiley.com/doi/full/10.1002/sam.11645

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants