[R] Logistic and Linear Regression Libraries
Mark Difford
mark_difford at yahoo.co.uk
Sat Oct 31 12:52:34 CET 2009
tdm wrote:
>> OK, I think I've figured it out, the predict of lrm didn't seem to pass
>> it through the logistic
>> function. If I do this then the value is similar to that of lm. Is this
>> by design? Why would it
>> be so?
Please take some time to read the help files on these functions so that you
at least understand that they fit different models.
?Design:::lrm
?Design:::predict.lrm
?Design:::datadist
?lm
This really is just a plainer way of saying what I said before.
HTH, Mark.
tdm wrote:
>
>
> OK, I think I've figured it out, the predict of lrm didn't seem to pass it
> through the logistic function. If I do this then the value is similar to
> that of lm. Is this by design? Why would it be so?
>
> 1 / (1 + Exp(-1 * 3.38)) = 0.967
>
>
> tdm wrote:
>>
>>
>> Anyway, do you know why the lrm predict give me a values of 3.38?
>>
>>
>
>
--
View this message in context: http://old.nabble.com/Logistic-and-Linear-Regression-Libraries-tp26140248p26141711.html
Sent from the R help mailing list archive at Nabble.com.
More information about the R-help
mailing list