Geraldine Werhahn
2013-Jan-15 09:51 UTC
[R] How to get F values for a Generalized Linear Model?
Dear All, I have fitted generalized linear models with the glm() function from the package lme4. The statistical values it returns are the z-value and the p-value. Now I am searching for a way to get the F-values for my models to use for reporting - as to my knowledge reporting z-values is not very useful and the F-values together with the p-values would be desired for the report. I tried the commands summary(model) , anova(model) noranova.glm(model), but couldnt get the F-values that way. Is the command stat.anova(table, test = "F", scale, df.scale, n) the right choice? If yes, for this I need the 'residual mean square' to use as scale. But how to extract the 'residual mean square' out of my glm in R? I am very thankful for your comments and advice! [[alternative HTML version deleted]]
Geraldine: On Tue, Jan 15, 2013 at 1:51 AM, Geraldine Werhahn <geriwer at yahoo.com> wrote:> Dear All, > > I have fitted generalized linear models with the glm() function from the package lme4. The statistical values it returns are the z-value and the p-value. Now I am searching for a way to get the F-values for my models to use for reporting - as to my knowledgeYour knowledge is insufficient. Your expectations are incorrect. Either consult someone locally who has sufficient statistical expertise or do some studying of GLM's. As this is a statistics not an R question, you might also wish to try posting to a statistics list instead, like stats.stackexchange.com. Cheers, Bert reporting z-values is not very useful and the F-values together with the p-values would be desired for the report. I tried the commands summary(model) , anova(model) noranova.glm(model), but couldnt get the F-values that way.> > Is the command stat.anova(table, test = "F", scale, df.scale, n) the right choice? If yes, for this I need the 'residual mean square' to use as scale. But how to extract the 'residual mean square' out of my glm in R? > > I am very thankful for your comments and advice! > [[alternative HTML version deleted]] > > > ______________________________________________ > R-help at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html > and provide commented, minimal, self-contained, reproducible code. >-- Bert Gunter Genentech Nonclinical Biostatistics Internal Contact Info: Phone: 467-7374 Website: http://pharmadevelopment.roche.com/index/pdb/pdb-functional-groups/pdb-biostatistics/pdb-ncb-home.htm
Possibly Parallel Threads
- F-Tests in generalized linear mixed models (GLMM)
- net drive mapping not working in login script
- Interval censored Data in survreg() with zero values!
- Factor to numeric conversion - as.numeric(levels(f))[f] - Language definition seems to say to not use this.
- GAM interactions, by example