HP -15C Advanced Functions Handbook page 149

Hide thumbs Also See for HP-15C:
Table of Contents

Advertisement

Section 4: Using Matrix Operations
147
8. Optionally, press [c"l fg~l [3 to calculate and display the
residual sum of squares q
2
and to calculate the current
solution b. Then press iRCLlfclp times to display 6
1;
6
2
>..., b
p
in turn.
9. Repeat steps 5 through 8 for each additional row.
Example: Use this program and the CPI data from the previous
example to fit the model
y = b
l
+ b
2
x
2
+ b
3
x
3
+ r,
where y, x
2
, and x
s
represent the CPI, PPI, and UR (all as
precentages).
This problem involves p = 3 parameters, so matrix A should be
5 X 4 . The rows of matrix A are (1, x
m2
,
X
m3> Vm) f°
r
w = 1, 2,..., 11.
Each row has weight w
m
= 1.
Keystrokes
OiSTO||MATRIX|[A"|
3.9|R/S|
5.4 I
Display
2.0000
2.0000
2.0000
4
4.0000
0.0000
1.0000
2.0000
3.0000
4.0000
1.0000
5.0000
Run mode.
Reserves R
0
through R
2
.
Activates User mode.
Clears matrix memory.
Dimensions matrix A to
5 X 4 .
Stores zero in all elements.
Enters weight for row 1.
Enters x
n
.
Enters x
12
.
Enters x^.
Enters yj.
Updates factorization.
1 | R / S |
19.3[R7s1
5.8|R/S|
11.5fR7sl
1.0000
2.0000
3.0000
4.0000
1.0000
5.0000
Enters weight for row 11.
Enters x .
Enters x
n 3
.
Enters y
n
.
Updates factorization.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents