Displaying 20 results from an estimated 11000 matches similar to: "glm.fit: "fitted probabilities numerically 0 or 1 occurred""
2012 Mar 20
2
glm.fit: fitted probabilities numerically 0 or 1 occurred?
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 data contains one or may be two outliers. Does the
error occur due to these extreme values or
2014 Jun 16
1
glm.fit: fitted probabilities numerically 0 or 1 occurred for a continuous variable?
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 could be the cause of this for a continuous variable??
Thanks,
Nick
--
View this message
2011 Dec 01
1
logistic regression - glm.fit: fitted probabilities numerically 0 or 1 occurred
Sorry if this is a duplicate: This is a re-post because the pdf's mentioned
below did not go through.
Hello,
I'm new'ish to R, and very new to glm. I've read a lot about my issue:
Warning message:
glm.fit: fitted probabilities numerically 0 or 1 occurred
...including:
http://tolstoy.newcastle.edu.au/R/help/05/07/7759.html
2008 Aug 19
4
converting coordinates from utm to longitude / latitude
Hi,
is there a function in R to convert data read with read.shape and which is originally in UTM coordinates into longitude / latitude coordinates?
I found the convUL() function from the PBSmapping package but I have no idea how I could apply that to the read.shape object.
Many thanks,
Werner
__________________________________________________
Do
sragenden Schutz gegen Massenmails.
2006 Apr 05
5
List to Array
Hi,
this is probably the easiest thing to do but I manage
not finding the answer:
I have a list with matrices of exact same format and
headers. Now I would like to transform the list into
an normal array. What is the proper way to do this?
as.array changes the entire format and right now I
only found the method of creating a new array, going
through the entire list and copy the matrix in each
2006 Jan 10
5
matching country name tables from different sources
Hi,
Before I reinvent the wheel I wanted to kindly ask you for your opinion if there is a simple way to do it.
I want to merge a larger number of tables from different data sources in R and the matching criterium are country names. The tables are of different size and sometimes the country names do differ slightly.
Has anyone done this or any recommendation on what commands I
2006 May 12
3
optimal way to compute matrix subtotals?
Hi!
I have large matrices, one column per variable and I have a vector of factors / grouping symbols. Then I am computing subtotals for the groups but it takes pretty long and thus I wanted to ask if there is a better way to do it or if this is already the best way:
subTotals <- function(x, groupvec) do.call("rbind",lapply(split(x,groupvec),colSums,na.rm=T))
Thanks reading my
2005 Feb 28
5
Journal Quality R Graphs?
Hi!
I have browsed the help archives but did not find
anything on the subject: How
to make publication quality graphs with R best?
Is there some document about that topic out there? The
problem is that the
graphs look nice on the screen but when printed in
black and white every color
apart from black doesn't look very nice. Is there some
guideline how to set
color palettes and or fill
2008 Mar 21
1
warning message in a glm model
Se ha borrado un texto insertado con un juego de caracteres sin especificar...
Nombre: no disponible
Url: https://stat.ethz.ch/pipermail/r-help/attachments/20080321/71b93d3d/attachment.pl
2008 Mar 19
4
Sweave does not parse \Sexpr{}
Hi,
has anybody encountered and solved the following
problem?
I continued work now on a different computer where I
have also used Sweave successfully before. I can run
Sweave() and it generates a .tex file. All code chunks
are processed and translated to Latex perfectly fine
but somehow only the \Sexpr{} tags are not parsed.
This is an example .Rnw:
\documentclass{article}
\usepackage{Sweave}
2008 Jul 27
4
Object-oriented programming in R for Java programmers?
Hi,
I was wondering if anybody might have a reference for
me: My R code is growing and getting more and more
confusing. Thus, I figure it's time to switch to
object-oriented again. I have done oo programming in
C++ and Java before but the first few tutorial on R oo
were a bit confusing for me.
Is there any brief tutorial on oo programming in R
especially for people who have done oo in Java
2008 Oct 22
3
retrieving matrix elements by giving pairs of row AND column numbers?
Hi,
this is probably a very trivial question but I can't figure out the right terms to find the solution in the list archive.
I have a matrix or a data.frame or the like:
> m <- matrix(ncol=3,seq(1,9))
> m
[,1] [,2] [,3]
[1,] 1 4 7
[2,] 2 5 8
[3,] 3 6 9
and now I wonder if one can provide somehow two vectors, one containing row numbers, the other
2006 Apr 21
4
Considering port of SAS application to R
Hi there!
I am considering to port a SAS application to R and I would like to hear your opinion if you think this is possible and worthwhile. SAS is mainly used to do data management and then to do some aggregations and simple computations on the data and to output a modified data set. The main problem I see is the size of the data file. As I have no access to SAS yet I cannot give real details
2006 May 16
2
Engel curve
Hi,
has anybody an example of an Engel curve analysis in R
or does there exist a package to estimate and plot
Engel curves from expenditure / income data in R?
Thanks a million for your hints,
Werner
2005 Mar 23
2
replace values in a matrix subject to boolean condition
Hi everybody!
I am sorry to bother you with a question so simple but
I think there might be a
better solution:
I have a matrix of size 360x501 where I want to check
the value of each 5th
column of each row and replace it (and the 6th, 7th,
8th column) by zero if the
value is less than 1000. I have written a double loop
to do that but that
requires a lot of time.
Is there a faster way to
2005 Jun 12
2
delete "-character from strings in matrix
Hi!
I have strings where occasionally some "-chars occur.
How can I delete these chars?
I tried it with gsub but using "" as replace does not
work.
Thanks a lot for any hint!
Regards,
Werner
2009 Mar 02
4
portable R editor
Hi,
I have been dreaming about a complete R environment on my USB stick for a long time. Now I finally want to realize it but what I am missing is a good, portable editor for R which has tabs and syntax highlighting, can execute code, has bookmarks and a little project file management facility pretty much like Tinn-R has those. I like Tinn-R but it seems like there is only a very old version of
2008 Sep 23
2
R2HTML: output from for-loops
Hi,
I am trying to prepare a report with R2HTML using
HTMLStart(outdir="./html", filename="report", echo=T, HTMLframe=F)
then, for instance, I want to get the output of a loop:
for (i in 1:20) print(summary(rnorm(1000)))
but only the first of summaries really ends up in the html file.
What am I doing wrongly?
Thanks,
Werner
2007 Aug 15
1
using sampling weights in glm
Hi,
I have a supposedly representative sample from a
stratified survey. Hence, all observations have an
associated sample weight each which inflate the sample
to population size.
I want to run a glm probit regression on the data but
I am not clear about if or better how I can use the
weights in it. From the description of the weights
argument of glm it seems to me that I cannot plug
these
2008 Feb 21
2
column name handling and long labels
Hi,
I have two loosely related questions which could make
my live again a bit easier:
1) Is there a simple way to select a range of columns
in a data frame using column names?
I am thinking of something like mydf[1,"col4":"col8"]
2) I have a data frame with many columns and they all
have short variable names which is good in most cases
but sometimes it would be nice to have