I am currently trying to perform an Multiple linear regression within my Java Project. I already tried many different classes like the OLSMultipleLinearRegression Class. But those classes don't return the parameters I need. For example these are the parameters which are possible to be calculated and those methods work fine.
calculateBeta()
calculateBetaVariance()
calculateHat()
calculateResidualSumOfSquares()
calculateRSquared()
calculateTotalSumOfSquares()
But I am trying to calculate the coefficients!
Here you can see my parameters and the expected results:
Maybe someone has an idea how to perform an MLR that includes the calculation of the coefficients... Thanks guys!