Re: [R] coxph won't converge when including categorical (factor) variables

2013-07-11 Thread E Joffe
ill likely be the best and most expedient resource. I hope that you find the above useful in some manner. Regards, Marc -----Original Message- From: Marc Schwartz [mailto:marc_schwa...@me.com] Sent: Saturday, July 06, 2013 8:46 AM To: E Joffe Cc: r-help@r-project.org Subject: Re: [R] coxph won&

Re: [R] coxph won't converge when including categorical (factor) variables

2013-07-07 Thread E Joffe
rds, Marc -Original Message- From: Marc Schwartz [mailto:marc_schwa...@me.com] Sent: Saturday, July 06, 2013 8:46 AM To: E Joffe Cc: r-help@r-project.org Subject: Re: [R] coxph won't converge when including categorical (factor) variables On Jul 6, 2013, at 7:04 AM, E Joffe wr

Re: [R] coxph won't converge when including categorical (factor) variables

2013-07-06 Thread Jeff Newmiller
I don't know much about your problem, but if you want help you are going to need to learn to communicate effectively. This may help: http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example --- Je

Re: [R] coxph won't converge when including categorical (factor) variables

2013-07-06 Thread Marc Schwartz
On Jul 6, 2013, at 7:04 AM, E Joffe wrote: > Hello, > > > > [rephrasing and reposting of a previous question (that was not answered) > with new information] > > > > I have a dataset of 371 observations. > > When I run coxph with numeric variables it works fine. > > However, when I try to

Re: [R] coxph won't converge when including categorical (factor) variables

2013-07-06 Thread Bert Gunter
Hint: Why do you think no one replied? 1. That it converged with one model/fitting algorithm and not with another is useless. 2. This cannot possibly be answered without your data. 3. A guess: you are overfitting -- glmnet regularizes and will therefore fit (highly) correlated regressors coxph w

[R] coxph won't converge when including categorical (factor) variables

2013-07-06 Thread E Joffe
Hello, [rephrasing and reposting of a previous question (that was not answered) with new information] I have a dataset of 371 observations. When I run coxph with numeric variables it works fine. However, when I try to add factor (categorical) variables it returns "Ran out of iterations a