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:

xy 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,

 

‚Ù˜˜1: Covariance:@@@OK@@@3.Fit7.03data@@OK@@..

 

Page 16-5

 

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

set, consists of the following three

 

lines in RPN mode:

 

 

 

3:

'0.195238095238 + 2.00857242857*X'

2:

Correlation: 0.983781424465

 

 

Page 162
Image 162
HP 49g manual Lines in RPN mode