You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@commons.apache.org by sahar mohebi <sa...@gmail.com> on 2011/01/05 13:52:03 UTC

Re: [math] Re: Fwd: problem to use OLSMultipleLinearRegression

Hello

I have a Multiple Linear Regression with known arrays of A[] and B[] and
known c .

known A=>a1,a2,a3,...,an
known B=>b1,b2,b3,...,bn
known c

now I want to calculate array of *x[]* and value of *y* in such regressions:

a1+b1*x1=y
a2+b2*x2=y
a3+b3*x3=y
.
.
.
an+bn*xn=y

That:

x1+x2+x3+.....+xn=c;


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