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.

Re: [R] HELP GLM

2017-01-30 Thread Jim Lemon
After scrupulous textual analysis, I conclude that you have at least one NA/NaN/Inf in b$induction. There is also a hint that you should acquaint yourself with family="binomial". Sherlock On Tue, Jan 31, 2017 at 11:18 AM, CHIRIBOGA Xavier wrote: > Dear colleagues, > > > I am trying to perform GL