Displaying 20 results from an estimated 10000 matches similar to: "logit problem"
2005 Aug 05
1
question regarding logit regression using glm
I got the following warning messages when I did a
binomial logit regression using glm():
Warning messages:
1: Algorithm did not converge in: glm.fit(x = X, y =
Y, weights = weights, start = start, etastart =
etastart,
2: fitted probabilities numerically 0 or 1 occurred
in: glm.fit(x = X, y = Y, weights = weights, start =
start, etastart = etastart,
Can some one share your thoughts on how to
2007 Sep 27
0
convergence problem in boolean logit
Hello, folks
when I ran my boolean logit model in R, I got an error message as
> answer <- boolean (bp, link = "logit", method = "BFGS", data=pr2)
27061 observations dropped due to missing data.
Warning message:
fitted probabilities numerically 0 or 1 occurred in: glm.fit(x = X, y
= Y, weights = weights, start = start, etastart = etastart,
Could you anyone advise me
2009 Mar 26
1
Extreme AIC in glm(), perfect separation, svm() tuning
Dear List,
With regard to the question I previously raised, here is the result I
obtained right now, brglm() does help, but there are two situations:
1) Classifiers with extremely high AIC (over 200), no perfect separation,
coefficients converge. in this case, using brglm() does help! It stabilize
the AIC, and the classification power is better.
Code and output: (need to install package:
2009 Mar 27
1
deleting/removing previous warning message in loop
Hello R Users,
I am having difficulty deleting the last warning message in a loop so that the only warning that is produced is that from the most recent line of code. I have tried options(warn=1), rm(last.warning), and resetting the last.warning using something like:
> warning("Resetting warning message")
This problem has been addressed in a previous listserve string,
2006 Jan 31
1
warnings in glm (logistic regression)
Hello R users
I ran more than 100 logistic regression analyses. Some of the analyses gave
me this kind warning below.
###########################################################
Warning messages:
1: algorithm did not converge in: glm.fit(x = X, y = Y, weights = weights,
start = start, etastart = etastart, ...
2: fitted probabilities numerically 0 or 1 occurred in: glm.fit(x = X, y =
Y,
2005 Jun 16
1
logistic regression - using polys and products of features
Hi
I can get all my features by doing this:
> logistic.model = glm(similarity ~ ., family=binomial, data =
cData[3001:3800,])
I can get the product of all my features by this:
logistic.model = glm(similarity ~ . ^ 2, family=binomial, data =
cData[3001:3800,])
I don't seem to be able to get polys by doing this:
logistic.model = glm(similarity ~ poly(.,2), family=binomial, data
2006 Aug 31
3
what's wrong with my simulation programs on logistic regression
Dear friends,
I'm doing a simulation on logistic regression model, but the programs can't
work well,please help me to correct it and give some suggestions.
My programs:
data<-matrix(rnorm(400),ncol=8) #sample size is 50
data<-data.frame(data)
names(data)<-c(paste("x",1:8,sep="")) #8 independent variables,x1-x8;
#logistic regression model is
2006 Dec 07
0
Help to understand an Error using summary to an mcmc object
Hi,
I used the MCMCirtKd function of MCMCpack:
posterior2 <- MCMCirtKd(data, dimensions = 2,
+ burnin = 5000, mcmc = 50000, thin = 10,
+ verbose = 10000, B0 = .25, store.item = TRUE, item.constraints =
beta.constraints)
And after apply the comand summary() I got some erros and warnings that I
could not understand:
summary.posterior2 <- summary(posterior2)
2005 Jul 02
2
Is it possible to use glm() with 30 observations?
I have a very simple problem. When using glm to fit
binary logistic regression model, sometimes I receive
the following warning:
Warning messages:
1: fitted probabilities numerically 0 or 1 occurred
in: glm.fit(x = X, y = Y, weights = weights, start =
start, etastart = etastart,
2: fitted probabilities numerically 0 or 1 occurred
in: glm.fit(x = X, y = Y, weights = weights, start =
start,
2006 Jan 15
1
problems with glm
Dear R users,
I am having some problems with glm. The first is an error message "subscript out of bounds". The second is the fact that reasonable starting values are not accepted by the function.
To be more specific, here is an example:
> success <- c(13,12,11,14,14,11,13,11,12)
> failure <- c(0,0,0,0,0,0,0,2,2)
> predictor <- c(0,80*5^(0:7))
>
2005 Jan 28
3
GLM fitting
DeaR R-useRs,
I'm trying to fit a logist model with these data:
> dati
y x
1 1 37
2 1 35
3 1 33
4 1 40
5 1 45
6 1 41
7 1 42
8 0 20
9 0 21
10 0 25
11 0 27
12 0 29
13 0 18
I use glm(), having this output:
> g<-glm(y~x,family=binomial,data=dati)
Warning messages:
1: Algorithm did not converge in: glm.fit(x = X, y =
Y, weights = weights, start = start, etastart =
2007 Nov 13
2
question about glm behavior
Hello,
I was trying a glm fitting (as shown below) and I got a warning and a fitted
residual deviance larger than the null deviance. Is this the expected
behavor of glm? I would expect that even though the warning might be
warranted I should not get worse fitting with an additional covariate in the
model. Could anyone tell me what I'm missing?
I get the same results in both R2.5.1 on windows
2003 Jul 17
0
glm.nb
I am trying to fit the generalised linear model for the negative binomial, but the results which come out are attached below. When we fit this model using few covariates, the model converge. Does it mean that this family is fitted differently from other glm? or the number of zeros in my response variable has a limiting factor?
Thanks
Bruno
fit <- glm.nb(pfde~SEX+...., data=data1)
Warning
2009 May 27
1
Warning message as a result of logistic regression performed
I am sorry if this question sounds basic but I am having trouble understanding a warning message I have been receiving in R after attempting logistic regression.
I have been using the logistic regression function in R to analyse a simulated data set. The dependent variable "failure" has an outcome of either 0 (success) or 1 (failure). Both the independent variables have been previously
2009 Jun 22
1
How to make try to catch warnings in logistic glm
Dear list,
>From an earlier post I got the impression that one could promote
warnings from a glm to errors (presumably by putting
options(warn=1)?), then try() would flag them as errors. I?ve spent
half the day trying to do this, but no luck. Do you have an explicit
solution?
My problems is that I am trying to figure out during what conditions
one may find 5 significant parameters in a
2010 Apr 26
2
Unexpected warnings from summary() on mcmc.list objects
I am trying to get summary statistics from WinBUGS/JAGS output in the
form of mcmc.list objects, using the summary() function. However, I
get odd warning messages:
Warning messages:
1: In glm.fit(x = X, y = Y, weights = weights, start = start, etastart
= etastart, :
algorithm did not converge
2: In glm.fit(x = X, y = Y, weights = weights, start = start, etastart
= etastart, :
algorithm did
2002 Feb 27
1
Bug in glm.fit? (PR#1331)
G'day all,
I had a look at the GLM code of R (1.4.1) and I believe that there are
problems with the function "glm.fit" that may bite in rare
circumstances. Note, I have no data set with which I ran into
trouble. This report is solely based on having a look at the code.
Below I append a listing of the glm.fit function as produced by my
system. I have added line numbers so that I
2008 May 12
4
Several questions about MCMClogit
Hello everybody,
I'm new to MCMClogit. I'm trying to use MCMClogit to fit a logistic
regression model but I got some warnings I can't understand.
My input data X is 32(tissue sample)*20(genes) matrix, each element in this
matrix corresponds to the expression value of one particular gene in one of
32 samples. And the Y presents the corresponding classes (0-non cancer,
1-cancer)
2010 Mar 08
1
error_hier.part
Hi everyone,
BEGINNER question:
I get the error below when running hier.part. Probably i´m doing
something wrong.
Error in glm.fit(x = X, y = Y, weights = weights, start = start, etastart =
etastart, :
object 'fit' not found
In addition: Warning messages:
1: In glm.fit(x = X, y = Y, weights = weights, start = start, etastart =
etastart, :
no observations informative at iteration 1
2012 Mar 01
1
6 different errors while using glm.nb
Hello to everyone.
I need your help. I´m trying to fit the same *glm.nb* to a different data
set and i am getting these errors in some of the data. Sometimes, one data
set has two of these errors when fitting the model.
1.- Error en while ((it <- it + 1) < limit && abs(del) > eps) { :
valor ausente donde TRUE/FALSE es necesario
2.- Mensajes de aviso perdidos
1: In sqrt(1/i)