Javascript - Trend Calculator
This script calculates the trend from pairs of data. The trend can be used for prediction. The calculation of the trend is based on Least Square Linear Regression