Re: [R] Help : glm p-values for a factor predictor

2017-06-29 Thread Fox, John
Hi Michael, > -Original Message- > From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Michael > Friendly > Sent: Thursday, June 29, 2017 9:04 AM > To: Benoît PELE ; r-help@r-project.org > Subject: Re: [R] Help : glm p-values for a factor predictor >

Re: [R] Help : glm p-values for a factor predictor

2017-06-29 Thread Michael Friendly
On 6/29/17 11:13 AM, Benoît PELE wrote: My question is about the factor predictors with several levels. R provides only the pvalues for each level whereas i need an overall pvalue for testing the predictor. What you ask is provided by anova() -- type I tests, and car::Anova() -- Type II & III

Re: [R] Help : glm p-values for a factor predictor

2017-06-29 Thread Benoît PELE
_ctrl_siren_cca2017_appr) --> The results of this glm do not provide overall pvalues for the qualitative predictors, only one pvalue by modality. And for selecting the qualitative predictors, i need that overall pvalue that SAS for example provides with PROC LOGISTIC. Benoit Pel�. De :

Re: [R] Help : glm p-values for a factor predictor

2017-06-29 Thread Bob O'Hara
It might help if you provided the code you used. It's possible that you didn't use direction="backward" in stepAIC(). Or if you did, it was still running, so whatever else you try will still be slow. The statement "R provides only the pvalues for each level" is wrong: look at the anova() function.

[R] Help : glm p-values for a factor predictor

2017-06-29 Thread Benoît PELE
Hello, i am a newby on R and i am trying to make a backward selection on a binomial-logit glm on a large dataset (69000 lines for 145 predictors). After 3 days working, the stepAIC function did not terminate. I do not know if that is normal but i would like to try computing a "homemade" back