78 THE LEAST SQUARES METHOD
5.4 Addition of Data and Successive Householder Reduction
Utilizing the properties of orthogona l transformations, it is easily pos-
sible to update the m odel by addition of da ta (Kitagawa and Akaike
(1978)). In the case of fitting a regression model to a huge data set, if
we try to store the matrix of (5.14), then the memory of the computer
might become overloaded, thu s making execution impossible.
Even in this c ase, repeated application of the method introduced in
this section yields the upper triangular matrix in (5.1 3). That is, if our
computer has a memory sufficient to store the area of the L ×(m + 1)
matrix (here, L > m + 1), then the upper triangular matrix S can be ob-
tained by dividing the data into several sub-data-sets with data length
less than or equal to L −m −1.
Assuming that an upper triangular matrix S has alr eady be e n obtained
from N sets of data {y
n
,x
n1
,···, x
nm
}, n = 1,···,N, we could effectively
obtain a regression model from the matrix S, as shown in section (5.15).
Here, we assume that M new sets of data {y
n
,x
n1
,···, x
nm
}, n = N +
1,···,N + M, are obtained . Then, in order to fit a regression model to the
entire N + M sets of data, we have to construct the (N + M) ×(m + 1)
matrix
X
1
=
x
11
··· x
1m
y
1
.
.
.
.
.
.
.
.
.
.
.
.
x
N+M ,1
··· x
N+M ,m
y
N+M
(5.26)
instead of (5.14) and then transform this into an upper triangular matrix
by a Householder transformation S
′
= U
′
X
1
. Inconveniently, this method
cannot utilize the results of the computation for the previous data sets,
and we need a large storage area for p reparing the (N + M) ×(m + 1)
matrix X
1
.
Since the Householder tr ansformation is an orthog onal transforma-
tion, it can be shown that the same m atrix as S
′
can be obtained by build-
ing an (M + m + 1) ×(m + 1) matrix by argumenting an M ×(m + 1)
matrix under the triangular matrix (5.15), thus:
X
2
=
s
11
··· s
1m
s
1,m+1
.
.
.
.
.
.
.
.
.
s
mm
s
m,m+1
O s
m+1,m+1
x
N+1,1
··· x
N+1,m
y
N+1
.
.
.
.
.
.
.
.
.
.
.
.
x
N+M ,1
··· x
N+M ,m
y
N+M
, (5.27)