Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread David Winsemius
> On Aug 12, 2016, at 11:32 AM, Shivi Bhatia wrote: > > Hi Michael, > > In all the masking process some of the variables were missed. Please find > the updated file. > > Also here is the updated code: (i am removed one of the var as it had > missing information): > > glm.fit= glm(survey ~ sup

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Shivi Bhatia
Hi Michael, In all the masking process some of the variables were missed. Please find the updated file. Also here is the updated code: (i am removed one of the var as it had missing information): glm.fit= glm(survey ~ support_cat + region+ support_lvl+ skill_group+ application_area+ functional_a

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Michael Dewey
Your example code refers to a variable which is not in your dataset (repS) so I get an error message. If I assume repS is in fact rep_score I get another variable not found (delivery_segmentation). I am afraid that I am unable to sort that one out so this is going to remain a mystery. I endors

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Shivi Bhatia
Sure Burt, i will share the data after masking it. it isn't big regards, Shivi On Fri, Aug 12, 2016 at 8:36 PM, Bert Gunter wrote: > 1. No, changing to factor will make no difference. > > 2. I think that most likely your problem is your model is not > estimable/your design matrix is singular.

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Bert Gunter
1. No, changing to factor will make no difference. 2. I think that most likely your problem is your model is not estimable/your design matrix is singular. You should resolve this by consulting with a local statistical expert or, if your data set is not too large or confidential, posting your full

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Shivi Bhatia
Hi Michael, There is no output as the model does not generate any coefficients and simply throws this error. I hope you are not asking for a reproducible example. On Fri, Aug 12, 2016 at 7:30 PM, Michael Dewey wrote: > Dear Shivi > > Can you show us the output? > > And please do not post in HT

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Michael Dewey
Dear Shivi Can you show us the output? And please do not post in HTML as it will mangle your post into unreadability. On 12/08/2016 10:10, Shivi Bhatia wrote: Hi Team, I am creating *my first* Logistic regression on R Studio. I am working on a C-SAT data where rating (score) 0-8 is a dis-sa

[R] glm.fit: fitted probabilities numerically 0 or 1 occurred & glm.fit: algorithm did not converge

2016-08-12 Thread Shivi Bhatia
Hi Team, I am creating *my first* Logistic regression on R Studio. I am working on a C-SAT data where rating (score) 0-8 is a dis-sat whereas 9-10 are SAT. As these were in numeric form so i had as below created 2 classes: new$survey[new$score>=0 & new$score<=8]<- 0 new$survey[new$score>=9]<- 1 T

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred for a continuous variable?

2014-06-16 Thread Marc Schwartz
On Jun 16, 2014, at 2:34 PM, Nwinters wrote: > I have gotten the this error before: "glm.fit: fitted probabilities > numerically 0 or 1 occurred" > > and the problem was usually solved by combining one or more categories were > there were no observations. > > I am now having this error show up

[R] glm.fit: fitted probabilities numerically 0 or 1 occurred for a continuous variable?

2014-06-16 Thread Nwinters
I have gotten the this error before: "glm.fit: fitted probabilities numerically 0 or 1 occurred" and the problem was usually solved by combining one or more categories were there were no observations. I am now having this error show up for a variable that is continuous (not categorical). What co

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred?

2012-03-22 Thread ufuk beyaztas
Dear ted, thanks for your help. Now, everything is more clear. I read something about "linear separation" you mentioned, and my data set is very suitable for this problem. But, there is a confusing question for me; I can not controll the process adequately because of usage of bootstrap. So, this

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred?

2012-03-21 Thread ufuk beyaztas
Dear Ellison, Many thanks for your reply. The information you typed is clear and now I know what to do. Your suggestion about finding some coffee while running simulation is so good =) Regards - Best regards Ufuk -- View this message in context: http://r.789695.n4.nabble.com/glm-fit-fitt

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred?

2012-03-21 Thread Ted Harding
On 21-Mar-2012 S Ellison wrote: >> I get the errors; >> glm.fit: fitted probabilities numerically 0 or 1 occurred and >> glm.fit: algorithm did not converge >> . >> Is there any way to to >> fix this problem? > > There are two separate issues. > One is the appearance of fitted values at 0 or

Re: [R] glm.fit: fitted probabilities numerically 0 or 1 occurred?

2012-03-21 Thread S Ellison
> I get the errors; > glm.fit: fitted probabilities numerically 0 or 1 occurred and > glm.fit: algorithm did not converge > . > Is there any way to to > fix this problem? There are two separate issues. One is the appearance of fitted values at 0 or 1. The other is the lack of convergence.

[R] glm.fit: fitted probabilities numerically 0 or 1 occurred?

2012-03-20 Thread ufuk beyaztas
Hi all, I am doing bootstrap with logistic regression by using glm function, and I get the errors; glm.fit: fitted probabilities numerically 0 or 1 occurred and glm.fit: algorithm did not converge I have read some things about this issue in the mailing list. I can guess what was the problem. My

Re: [R] glm.fit: "fitted probabilities numerically 0 or 1 occurred"

2008-03-11 Thread Prof Brian Ripley
On Tue, 11 Mar 2008, Werner Wernersen wrote: > Hi, > > could anyone explain to me what this warning message > exactly means and what the consequences are? > Is it due to the fact that there are very extreme > observations / outliers included or what is the reason > for it? See MASS4 pp.197-8. (A

[R] glm.fit: "fitted probabilities numerically 0 or 1 occurred"

2008-03-11 Thread Werner Wernersen
Hi, could anyone explain to me what this warning message exactly means and what the consequences are? Is it due to the fact that there are very extreme observations / outliers included or what is the reason for it? Thanks so much, Werner Machen Sie Yahoo! zu Ihrer Startseite. Los geht's