HP (Hewlett-Packard) hp 49g+ Calculator User Manual


 
Page 16-5
data sets (x,y), stored in columns of the ΣDAT matrix. For this application,
you need to have at least two columns in your ΣDAT variable.
For example, to fit a linear relationship to the data shown in the table below:
x y
0 0.5
1 2.3
2 3.6
3 6.7
4 7.2
5 11
First, enter the two columns of data into variable ΣDAT by using the matrix
writer, and function STOΣ.
To access the program
, use the following keystrokes:
The input form will show the current ΣDAT,
already loaded. If needed, change your set up screen to the following
parameters for a linear fitting:
To obtain the data fitting press . The output from this program,
shown below for our particular data set, consists of the following three
lines in RPN mode:
3: '0.195238095238 + 2.00857242857*X'
2: Correlation: 0.983781424465
1: Covariance: 7.03