Slope of Linear Regression line of the given data points. 

A straight line is fit through the set of N data points so that the sum of the residuals (R2 =vertical distances between the points and the fitted line) is as small as possible.  The slope, represented by β, is the numerical value assigned to the linear regression line.



Input Data*

Defines the time series data fed into the function. This can be a sensor ID or another function.


Number of data intervals considered in the function

*Input data is optional in most cases. If Info360 detects that the first input is time series data, it will be applied to the function. Otherwise, the current active sensor's data will be used, which is often the case in Reference Charts.

Example Usage as an Expression:

Slope(Sum(4),10)): Find the slope of the data set when every 4 data points are added. Evaluates for 10 data intervals.

Examples Reference Chart:

The following example illustrates the importance of selecting the appropriate period for your data. A higher period will result in a smoother line, however the period should not exceed the natural slope variations in the input data. The example below shows tank levels which increase for only four periods at a time. Slope(6) therefore does not capture the positive slope very well. Likewise, Slope(2) gives a more "noisy" signal.

For information on setting up custom equations and syntax, please refer to Analytical Functions.