by "model" are you referring to the "LinearRegressionResults" class I had mentioned? I'm also no statistical guru. I can get around where i need to, but i'm not sure what the "score" method and "residuals" method is. I'm guessing you might be referring to some of the linear regression statistics. A little clearer explantion would help. I could submit what i have, and whomever can do the commit might want to take these things into account, and possibly refactor things a bit. I'm mainly concerened (for my project) with the coefficient matrix and predictions, but decided to go the extra step of computing all the statistics that go along with it (figuring the community would have use for them).
-----Original Message----- From: Piotr Kocha�ski [mailto:[EMAIL PROTECTED] Sent: Wednesday, January 28, 2004 3:52 AM To: Jakarta Commons Developers List Subject: [math] Re: - Multiple Linear Regression Phil Steitz wrote: <cut/> > Have a look at the R docs above and some other statistical packages. > Most likely the best solution will be to have the "model" expose > coefficients as a double[] array and also provide direct support for > both predict() on vectors as well as score() and residuals() on datasets. Phil, 100% agree with you. I would be happy to have the problem solved in a similar way as in R. Using lm in R is very comfortable. Piotr --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
