Next: Equivalence to Numerical Least
Up: A derivation of the
Previous: Motivation
Derivation of the uncertainties in the amplitude, phase,
and frequency
As stated above, we wish to assume the ideal case for our error
computations. We therefore assume that we have N measurements of the
magnitudes, mi, which are taken at times ti, each of which are
evenly separated by a time
.
We assume that the times of the
observations are error free, but that the brightness measurements mi
are subject to random errors,
.
These errors are assumed to
have an average of zero (
), to have a
root-mean-square amplitude which is constant in time (
), and to be uncorrelated in time (
for
).
We now wish to analyze our time series data by fitting a sinusoid to
it. Specifically, we fit the function
where the amplitude a, phase
,
and (angular) frequency
are yet to be determined. We define
where the minimum in
corresponds to the best fit solution of the
model parameters.
Minimizing
with respect to a,
,
and
,
we obtain the
following three relations:
where we have assumed that the time distribution of the data is such
that the orthogonality relations
and
represent valid approximations. The above three equations must be
satisfied simultaneously by the best fit solution.
In general, the random errors in magnitude,
,
produce
small variations in the fit parameters
from their ``true'' values. If we take a total differential of
equation 1 with respect to
,
we obtain
where the second and third terms have vanished through the application
of equations 2 and 3, respectively. If we square
this expression and then take a statistical average, we find
where we have made use of the assumed statistical properties of
.
Writing
,
we find
 |
(4) |
We repeat this analysis in order to find the errors in
and
.
From equation 2, we have
| 0 |
= |
 |
|
| |
|
![$\displaystyle \hspace{0.1em} \left. m_i \Delta \phi\sin(\omega t_i+\phi)
- m_i t_i \Delta \omega\sin(\omega t_i+\phi) \right].$](img131.png) |
(5) |
Now we must make use of the fact that the signal without noise is just
the sinusoidal solution which we are seeking, i.e.,
.
Using this, we find that equation 5 reduces to
 |
(6) |
Applying this same set of steps to equation 3, we obtain
 |
(7) |
Equations 6 and 7 form a system of linear equations
for the errors
and
.
These equations can
be greatly simplified by a specific choice of the zero point in time.
We choose the zero point to be the ``average time'', so we require
This choice has the advantage of decoupling equations 6
and 7. Using this zero point, the sum in the coefficient
of
in equation 7 becomes
Assuming that
,
we retain only the leading term in N. It is
now straightforward to solve equations 6 and 7 for
and
:
If we now square both sides of the above equations, perform a statistical
average, and then a summation over i, we find that
where we have written
and
.
Rewriting these relations in terms of the actual frequency
(
)
and taking a square root, we find that
where
is the total time length of the data set.
We note that if a different zero point for the time ti is chosen,
then the errors in
and
are no longer uncorrelated, which
has the effect of changing the derived errors in
.
For instance, if we choose the beginning of the run to be the zero point
(i.e., t1 = 0), then the derived error for the phase,
,
is exactly twice the value given by equation 10. However, the
relations for the errors in the amplitude and frequency are unchanged,
as must be the case.
Next: Equivalence to Numerical Least
Up: A derivation of the
Previous: Motivation
Wolfgang Zima
1999-09-09