[R] Logistic ridge regression ...
R.E. Darnell
r.e.darnell at ncl.ac.uk
Tue Mar 28 14:46:55 CEST 2000
John Logsdon <j.logsdon at lancaster.ac.uk> writes:
>
> I have some data (v. large amount) with a (0,1) response where I want to
> minimise the errors in the betas rather than SS or deviance.
>
> So can anyone point me to a ridge regression function or equivalent for
> such a logistic regression case?
John
You could start by looking at V&R Examples
http://www.stats.ox.ac.uk/pub/MASS3/VR3ans.zip
There is a small ridge regression problem there. You will need to adapt it to
the glm case by hacking at the standard glm.fit function.
Good luck
Ross Darnell
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
More information about the R-help
mailing list