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

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

[R] HELP GLM

2017-01-30 Thread CHIRIBOGA Xavier
Dear colleagues, I am trying to perform GLM but I got the following message. m2<-glm(induction~time+plant,data=b) Error in glm.fit(x = c(1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, : NA/NaN/Inf in 'y' Adem�s: Warning messages: 1: In Ops.factor(y, mu) : '-' not meaningful for factors 2: