54 Section 4: Statistics Functions
Example: Calculate the standard deviation about the mean calculated
above.
Standard deviation about the mean nitrogen
application,

x.
Standard deviation about the mean grain
yield,

y.
Linear Regression
Linear regression is a statistical method for finding a straight line that best
fits a set of two or more data pairs, thus providing a relationship between
two or more data pairs, thus providing a relationship between two variables.
By the method of least squares, ´L will calculate the slope, A, and y-
intercept, B, of the linear equation:
y=Ax+B
Accumulate the statistics of your data using the z key.
Press ´L. The y-intercept, B, appears in the display (X-
register). The slope, A, is copied simultaneously into the Y-
register.
Press ® to view A. (As is the case with the functions ’
and S, L causes the stack to lift two registers if it's
enabled, one if not).
The slope and y-intercept of the least squares line of the accumulated data
are calculated using the equations shown in appendix A.