Christoph Hampel
2002-Mar-01 17:10 UTC
[R] logistic regression / MASS / ms --> optim(method="L-BFGS-B") translation
Hi folks! I am a newbie using R and I have a problem as follows: I'd like to use R for a logistic model. I found the MASS.3rd/p.269 using the in S-PLUS implemented function "ms" that is not available in R. I've heard that instead of "ms" or the equal "nlminb" the "optim(method="L-BFGS-B")" can be used. But it is not easy for me to translate the term from fit<-ms(~fmin(x,y,wt,beta),start=list(beta=start),trace=trace,...) into fit<-optim(....., method="L-BFGS-B", ... .... ...... ) to get the model descibed in MASS running in R! Thanks to everyone who can help me. Best, Chris Christoph Hampel - c.hampel at gmx.net Ingolstadt, School of Business, Germany -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._