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

Add ANOVA percent of variance explained #5

Open
lcolladotor opened this issue May 12, 2020 · 0 comments
Open

Add ANOVA percent of variance explained #5

lcolladotor opened this issue May 12, 2020 · 0 comments

Comments

@lcolladotor
Copy link
Member

From Andrew:

@lcolladotor can we add the ANOVA % Var Expl to the jaffelab package?

assuming fit is an lm result:

  full = anova(fit)
  fullSS = full$"Sum Sq"
  signif(cbind(full, PctExp = fullSS/sum(fullSS)*100), 3)
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

1 participant