least square approximations
Let
for
. Determine the values of
for
, so that
is the least squares approximation to the data points
for
.
Re: least square approximations
Quote:
Originally Posted by
alphabeta89
Let

for

. Determine the values of

for

, so that
is the least squares approximation to the data points
)
for

.
More context would help with this, like is the data known and you want the actual coefficients, or do you want something like the regression equations?
CB
Re: least square approximations
Re: least square approximations
Quote:
Originally Posted by
alphabeta89
Sorry! I realised I left out some details!
Let

for

. Define
.
Define
)
by

for

Determine the values of

for

, so that
is the least squares approximation to the data points
)
for

.
This is now a numerical problem, consider using the Excel solver to find the best fit.
(Fourier theory suggests that
and
for
and
for
)
CB