Statistics: linear regression on the HP-10B

The tutor shows how to get a best-fit line with the HP-10B.

Imagine the following data:

x y
3 10.1
4 14.7
9 32.5
12 47.1

To get a best-fit line for it of form y=mx+b, here are the steps:

  1. First, clear the stat registers of the HP-10B by pressing _ →M.
  2. Key 3, then INPUT, then 10.1, then Σ+.
  3. Key in the other data pairs similarly.
  4. In y=mx+b, you get b by pressing 0 _ 5.
  5. Now, get m by pressing _ K.

For this example, b=-1.9, while m=4. The best-fit line is y=4x-1.9

HTH:)

Source:

HP-10B Business Calculator Owner’s Manual. Corvallis: Hewlett-Packard Co., 1988.

Jack of Oracle Tutoring by Jack and Diane, Campbell River, BC.

Leave a Reply