EasyManuals Logo

HP HP-15C Advanced Functions Handbook

HP HP-15C
224 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #135 background imageLoading...
Page #135 background image
Section
4:
Using
Matrix
Operations
133
degrees
of
freedom;
otherwise, accept
the
hypothesis.
The
following program fits
the
linear
model
to a set of n
data
points
Xn,
xi2,
••,
%ip,
Vi
by the
method
of
least-squares.
The
parameters
61;
62,
...,
bp
are
estimated
by the
solution
6 to the
normal equations
XTXb
=
XTy.
The
program also estimates
a2
and the
parameter
covariance matrix
Cov(b).
The
regression
and
residual sums
of
squares (Reg
SS and Res SS) and the
residuals
are
also calculated.
The
program requires
two
matrices:
Matrix
A: n
Xp
with
row i
(:c;1,
xi2,
••,
xip)
fori
1,
2,...,
n.
Matrix
B: n X 1
with element
i
(y,)
for i =
I,
2,...,
n.
The
program output
is:
Matrix
A:
unchanged.
Matrix
B: n X 1
containing
the
residuals
from^the
fit
(yi
-
biXti
...
bpxip)
for i = 1,
2,...,
n,
where
6,
is the
estimate
for
6£.
Matrix
C: p X p
covariance matrix
of the
parameter
estimates.
Matrix
D: p X 1
containing
the
parameter estimates
61(
...,
bp.
T-register: contains
an
estimate
of
a2.
Y-register:
contains
the
regression
sum of
squares
(RegSS).
X-register:
contains
the
residual
sum of
squares (Res SS).
The
analysis
of
variance
(ANOVA)
table
below
partitions
the
total
sum
of
squares (Tot
SS)
into
the
regression
and the
residual sums
of
squares.
You can use the
table
to
calculate
the F
ratio.
ANOVA
Table
Source
Regression
Residual
Total
Degrees
of
Freedom
P
n p
n
Sum of
Squares
RegSS
FtesSS
TotSS
Mean
Square
(RegSS)
P
(ResSS)
(n-p)
F
Ratio
(Reg
MS)
(Res
MS)

Table of Contents

Other manuals for HP HP-15C

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the HP HP-15C and is the answer not in the manual?

HP HP-15C Specifications

General IconGeneral
BrandHP
ModelHP-15C
CategoryCalculator
LanguageEnglish

Related product manuals