# HP F2226A - 48GII Graphic Calculator User Manual Page 583

Graphing calculator.

Type of
Actual
Fitting
Model
Linear
y = a + bx
Log.
y = a + b ln(x)
bx
Exp.
y = a e
b
Power
y = a x
The sample covariance of ξ,η is given by
Also, we define the sample variances of ξ and η, respectively, as
1
n
2
s
=
ξ
n
1
i
=
The sample correlation coefficient r
The general form of the regression equation is η = A + Bξ.
Best data fitting
The calculator can determine which one of its linear or linearized relationship
offers the best fitting for a set of (x,y) data points. We will illustrate the use of
this feature with an example. Suppose you want to find which one of the data
fitting functions provides the best fit for the following data:
x
0.2
y
3.16
2.73
First, enter the data as a matrix, either by using the Matrix Writer and
entering the data, or by entering two lists of data corresponding to x and y
and using
Linearized
Model
[same]
[same]
ln(y) = ln(a) + bx
ln(y) = ln(a) + b ln(x)
s
=
ξη
2
2
(
ξ
ξ
)
s
=
i
η
1
r
is
ξη
ξη
s
0.5
1
1.5
2
2.12
1.65
1.29
Indep.
Depend.
variable
Variable
Covar.
ξ
η
x
y
ln(x)
y
x
ln(y)
s
ln(x)
ln(y)
s
1
(
ξ
ξ
)(
η
i
i
n
1
1
n
2
(
η
η
)
i
n
1
i
=
1
s
ξη
s
ξ
η
4
5
10
0.47
0.29
0.01
Page 18-12
s
ξη
s
xy
s
ln(x),y
x,ln(y)
ln(x),ln(y)
η
)