Least-Squares Using Normal Equations - HP -15C Advanced Functions Handbook

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

Advertisement

Section 4: Using Matrix Operations
1 31
Keystrokes
Display
-9.2337
5.3446
-2.2599
5.3494
-2.4212
5.3494
5.3494
5.3494
01
-05
-06
-05
00
00
The output voltage is 5.3494 Z -2.4212
C
Displays 7
4
|.
Calculates V
o
=(R
3
)\I
4
\.
Deactivates User mode.
Least-Squares Using Normal Equations
The unconstrained least-squares problem is known in statistical
literature as multiple linear regression. It uses the linear model
Here, 6
1;
..., b
p
are the unknown parameters, x ^ , ..., x
p
are the
independent (or explanatory) variables, y is the dependent (or
response) variable, and r is the random error having expected
value E(r) = 0, variance a
2
.
After making n observations of y and x
1(
x%, ..., x
p
, this problem can
be expressed as
y - Xb + r
where y is an n -vector, X is an n X p matrix, and r is an n -vector
consisting of the unknown random errors satisfying E(r) = 0 and
If the model is correct and X X has an inverse, then the calculated
least-squares solution b = (X
r
X)"
1
X-
r
y has the following
properties:
• E(b) = b, so that b is an unbiased estimator of b.
Cov(b) = E((b - b)
T
(b - b)) = a
2
(X
r
X)"
1
, the covariance matrix
of the estimator b.

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents