[R] Unable to fit model using “lrm.fit”

2012-05-27 Thread irena
Hi, I am running a logistic regression model using lrm library and I get the following error when I run the command: mod1 - lrm(death ~ factor(score), x=T, y=T, data = env1) Unable to fit model using “lrm.fit” where score is a numeric variable from 0 to 6. LRM executes fine for the following

Re: [R] Unable to fit model using “lrm.fit”

2012-05-27 Thread Mitchell Maltenfort
When I have problems like that I try the same fit using 'glm' and see what I get. On Sun, May 27, 2012 at 1:53 PM, irena irena.be...@gmail.com wrote: Hi, I am running a logistic regression model using lrm library and I get the following error when I run the command: mod1 - lrm(death ~

Re: [R] Unable to fit model using “lrm.fit”

2012-05-27 Thread Rolf Turner
It is impossible for anyone to give you a useful answer without a ***self-contained reproducible*** example. BTW you are ***NOT*** using lrm library --- you are using the rms ***package***; lrm() is a function from that package. cheers, Rolf Turner On 28/05/12 05:53, irena wrote: