beautypg.com

Linear regression by least squares – Rockwell Automation FactoryTalk Historian SE ProcessBook 3.2 User Guide User Manual

Page 168

background image

FactoryTalk Historian ProcessBook User Guide

150

,

Tag,
Start Time,
End Time,
Count, < number of points paired>
Mean,
STDEV,
Correlation,
Slope,
Intercept,
Data Type,
Index, Time, Value, Status
,

Etc.

Linear Regression by Least Squares

The best-fit linear regression line is a straight line that attempts to
summarize the trend of the plotted pairs. This line may be shown on the
XYPlot.

The best-fit line has the formula:

y = mx +b

Where m is the slope and b is the offset. To calculate m, we use the
following equation: