I need to run a multiple regression however, I can't find any libraries in PHP that supports this. I need to regress a dependent variable (y) against several independent variables (x1, x2, x3, etc.)
The formula would look something along the lines of this:
Y = a1x1 + a2x2 + a3x3 + c
Where a1, a2 and a3 are weights assigned to the different variables.