commons-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sahar mohebi <sahar.moh...@gmail.com>
Subject Fwd: problem to use OLSMultipleLinearRegression
Date Sat, 28 Aug 2010 13:08:12 GMT
Hello

I have a cubic equation with known arrays of X and Y.the number of arrays
change between 10 t0 100.
Now I need to get equation coefficients .

known x=>double[50]
known y=>double[50]

a*x^3+b*x^2+c*x+d -->a=?
                                     b=?
                                     c=?
                                     d=?

Please guide me to use common math library to solve my problem.
Thank you in advance.

sahar

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message