commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikkel Meyer Andersen <m...@mikl.dk>
Subject Re: [math] - Least squares appx. of quadratic equations
Date Thu, 30 Dec 2010 16:13:07 GMT
Hi,

Try to have a look at the examples provided at
http://commons.apache.org/math/userguide/stat.html#a1.5_Multiple_linear_regression
. Both OLS and GLS are supported.

If you have further questions, do not hesitate to ask!

Cheers, Mikkel.

2010/12/30 Vladimir Blagojevic <dovlex@gmail.com>:
> Hi,
>
> I am not sure how, if at all, I can use math package to apply
> least-squares approximation to find coefficients to n-order equation:
> y = a0*X^0 + a1*X^1 + ... + an*X^n.
> More specifically, given a set of x,y data points I would like to find
> quadratic equations that best fits the input data points.
>
> Regards,
> Vladimir
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
> For additional commands, e-mail: user-help@commons.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@commons.apache.org
For additional commands, e-mail: user-help@commons.apache.org


Mime
View raw message