title: Trend lines ( regression, curve fitting) java library
body: <p>I'm trying to develop an application that would compute the same trend lines that excel does, but for larger datasets.</p>
  
  <p><img src="https://i.stack.imgur.com/Dp9z6.jpg" alt="enter image description here"></p>
  
  <p>But I'm not able to find any java library that calculates such regressions. For the linera model I'm using Apache Commons  math, and for the other there was a great numerical library from Michael Thomas Flanagan  but since january it is no longer available:</p>
  
  <p><a href="http://www.ee.ucl.ac.uk/~mflanaga/java/" rel="noreferrer">http://www.ee.ucl.ac.uk/~mflanaga/java/</a></p>
  
  <p>Do you know any other libraries, code repositories to calculate these regressions in java. Best,</p>