EasyManua.ls Logo

HP HP-15C - Page 139

HP HP-15C
224 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section
4:
Using Matrix
Operations
1 37
Registers used:
R0
and
R^.
Matrices used:
A, B, C, and D.
To
use
this
program:
1
.
Press
1
\T\
DIM
|
[jiJI
to
reserve registers
R0
and
R1
.
2.
Dimension matrix
A
according
to the
number
of
observa-
tions
n
and the
number
of
parameters
p by
pressing
n \]
3.
Dimension matrix
B
according
to the
number
of
observa-
tions
n
(and
one
column)
by
pressing
n \R
1
1
|T||DIM
|["§1.
4.
Press
|Tl|MATRIX|
1 to set
registers
R0
and
Rj.
5.
Press
(T|
|USER|
to
activate User
mode.
6.
For
each observation, store
the
values
of
ihep
variables
in a
row
of
matrix
A.
Repeat
this
for the n
observations.
7.
Store
the
values
of the
dependent variable
in
matrix
B.
8.
Press
[A]
to
calculate
and
display
the Res SS. The
Y-register
contains
the Reg SS and the
T-register contains
the
o2
estimate.
9.
Press
|RCL|
fp]
to
observe each
of the p
parameter estimates.
10. If
desired, press
[B]
to
recalculate
the
dependent variable
data
in
matrix
B.
Example:
Compare
two
regression models
of the
annual change
in
the
consumer price index
(CPI)
using
the
annual change
in the
producer
price index
(PPI)
and the
unemployment
rate
(UR):
y
=
bi
+
b2x2
+
6
3*
3
+ r and y =
b{
+
b2x2
+ r,
where
y,
x2,
and
x3
represent CPI,
PPI,
and UR
(all
as
percentages).
Use the
following
data
from
the
U.S.:

Table of Contents

Other manuals for HP HP-15C

Related product manuals