50 Section 4: Statistics Functions

In some cases involving x or y data values that differ by a relatively small amount, the calculator cannot compute s, r, linear regression, or ŷ, and will display Error 2. This will not happen, however, if you normalize the data by keying in only the difference between each value and the mean or approximate mean of the values. This difference must be added back to the calculations of x, ŷ, and the y-intercept (L). For example, if your x-values were 665999, 666000, and 666001, you should enter the data as -1, 0, and 1; then add 666000 back to the relevant results.

The statistics of the data are compiled as follows:

Register

 

Contents

 

 

 

R2

n

Number of data points accumulated (n also

 

 

appears in the X-register).

R3

Σx

Summation of x-values.

R4

Σx 2

Summation of squares of x-values.

R5

Σy

Summation of y-values.

R6

Σy2

Summation of squares of y-values.

R7

Σxy

Summation of products of x- and y-values.

 

 

 

You can recall any of the accumulated statistics to the display (X-register) by pressing land the number of the data storage register containing the desired statistic. If you press l z, Σy and Σx will be copied simultaneously from R3 and R5 respectively, into the X-register and the Y- register, respectively. (The sequence l zlifts the stack twice if stack lift is enabled, once if not, and then enables stack lift.)

Example: Agronomist Silas Farmer has developed a new variety of high-yield rice, and has measured the plant's yield as a function of fertilization. Use the z function to accumulate the data below to find the values for Σx, Σx2 Σy, Σy2, and Σxy for nitrogen fertilizer application (x) versus grain yield (y).

Page 50
Image 50
HP 15c Scientific manual Register Contents