<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"> <!--Converted with LaTeX2HTML 98.1p1 release (March 2nd, 1998) originally by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds * revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan * with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --> <HTML> <HEAD> <TITLE>Analysis in the time domain</TITLE> <META NAME="description" CONTENT="Analysis in the time domain"> <META NAME="keywords" CONTENT="vol2"> <META NAME="resource-type" CONTENT="document"> <META NAME="distribution" CONTENT="global"> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <LINK REL="STYLESHEET" HREF="vol2.css"> <LINK REL="next" HREF="node243.html"> <LINK REL="previous" HREF="node241.html"> <LINK REL="up" HREF="node235.html"> <LINK REL="next" HREF="node243.html"> </HEAD> <BODY > <!--Navigation Panel--> <A NAME="tex2html4420" HREF="node243.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html4417" HREF="node235.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html4411" HREF="node241.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html4419" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html4421" HREF="node243.html">Auxiliary utilities</A> <B> Up:</B> <A NAME="tex2html4418" HREF="node235.html">MIDAS utilities for time</A> <B> Previous:</B> <A NAME="tex2html4412" HREF="node241.html">Time series analysis in</A> <BR> <BR> <!--End of Navigation Panel--> <H2><A NAME="SECTION001747000000000000000"> </A><A NAME="s:tim"> </A> <BR> Analysis in the time domain </H2> <P> The commands <TT>COVAR/TSA</TT> serves for the calculation of the covariance and autocovariance functions. Pairs of signals with matching ACF functions may be analysed further with <TT>DELAY/TSA</TT>. Matching ACF functions may be obtained for some data after some massaging. <DL> <DT><STRONG><TT>COVAR/TSA</TT> -</STRONG> <DD><B>Covariance analysis:</B> This command computes the discrete covariance function for unevenly sampled data. Edelson and Krolik's (1988) method is used for the estimation of the cross correlation function (CCF) of unevenly sampled series. The binned covariance function is returned with its gaussian errors. Significant are the portions of the curve differing from 0 by more than a number of standard deviations. <P> This command can also be used for the calculation of the autocovariance function (ACF) by simply using the same series for the two input data sets. Here one shifted series is used as a model for the other. The covariance statistic is used to evaluate the consistency of the two series. <P> The covariance statistics is akin to the power spectrum statistics and hence to the <IMG WIDTH="54" HEIGHT="78" ALIGN="MIDDLE" BORDER="0" SRC="img546.gif" ALT="$\chi^2$"> statistics (Sect. <A HREF="node233.html#s:psac">12.3.2</A>, Lomb, 1976, Scargle, 1982). The number of degrees of freedom varies among time lag bins. Thus, in order to facilitate the evaluation of the results, errors of the ACF are returned. The expected value of the ACF for pure noise is zero. The value returned for 0 lag corresponds to the correlation of nearby but not identical observations. This is so because the correlation of any observation with itself is ignored in the present algorithm, for numerical reasons. The correlation function for a lag identical to zero can be easily computed as the signal variance. <P> <DT><STRONG><TT>DELAY/TSA</TT> -</STRONG> <DD><IMG WIDTH="54" HEIGHT="78" ALIGN="MIDDLE" BORDER="0" SRC="img547.gif" ALT="$\chi^2$"><B> delay analysis with interpolation:</B> The command computes the <IMG WIDTH="54" HEIGHT="78" ALIGN="MIDDLE" BORDER="0" SRC="img548.gif" ALT="$\chi^2$"> time lag function for two time series by the Press et al. (1992) method. One series is used as a model for the other one, and the <IMG WIDTH="54" HEIGHT="78" ALIGN="MIDDLE" BORDER="0" SRC="img549.gif" ALT="$\chi^2$"> statistics is used to evaluate the consistency of the two series. <TT>DELAY/TSA</TT> differs from <TT>COVAR/TSA</TT> in that each series is interpolated to the times of observation in the respective other series. The interpolation is carried out in an elaborate way by using the common autocorrelation function (ACF) of the series. The average value is computed and subtracted from the series so that the resulting <IMG WIDTH="54" HEIGHT="78" ALIGN="MIDDLE" BORDER="0" SRC="img550.gif" ALT="$\chi^2$"> is uncorrelated with the average value. This feature of the model enables application to non-stationary series where a mean value is not defined. Because of the interpolation, no coarse binning of the lags is required. Minima of the <IMG WIDTH="54" HEIGHT="78" ALIGN="MIDDLE" BORDER="0" SRC="img551.gif" ALT="$\chi^2$"> at a given lag and at a level acceptable for the corresponding number of degrees of freedom indicate a physically significant correlation between the two time series via that lag. The corresponding number of degrees of freedom <I>n</I><SUB><I>r</I></SUB> is the number of observations minus the number of fitted parameters (usually 2). <P> For input, individual measurements must be given with their variances. <TT>DELAY/TSA</TT> requires the smoothed ACF, common for the two series, to be supplied by the user in analytical form. The form of the ACF can be determined using <TT>COVAR/TSA</TT> and the MIDAS FIT package (Vol. A, Chapter 8). For this purpose, the ACF of both series should be the same. Often this can be achieved after some massaging of the data. To broaden the ACF, pass the series through a low pass filter. <TT>NORMALIZE/TSA</TT> may be used to normalize the variances and thus to normalize the ACF maxima. The ACF is passed to the command either via values of the parameters of one of the functions predefined within the TSA package or as the source code of a user-supplied FORTRAN function. <P> The method is quite new; it should be applied with some caution. Its only presently known practical test has been a consistency check of the results of independent analyses of optical and radio light curves of a pair of gravitationally lensed quasar images (Press <EM>et al.</EM>, 1992). Not only shapes but also values of the ACF should match. This may be achieved by scaling the variances of the observations with <TT>NORMALIZE/TSA</TT>. </DL> <P> <HR> <!--Navigation Panel--> <A NAME="tex2html4420" HREF="node243.html"> <IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="icons.gif/next_motif.gif"></A> <A NAME="tex2html4417" HREF="node235.html"> <IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="icons.gif/up_motif.gif"></A> <A NAME="tex2html4411" HREF="node241.html"> <IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="icons.gif/previous_motif.gif"></A> <A NAME="tex2html4419" HREF="node1.html"> <IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="icons.gif/contents_motif.gif"></A> <BR> <B> Next:</B> <A NAME="tex2html4421" HREF="node243.html">Auxiliary utilities</A> <B> Up:</B> <A NAME="tex2html4418" HREF="node235.html">MIDAS utilities for time</A> <B> Previous:</B> <A NAME="tex2html4412" HREF="node241.html">Time series analysis in</A> <!--End of Navigation Panel--> <ADDRESS> <I>Petra Nass</I> <BR><I>1999-06-15</I> </ADDRESS> </BODY> </HTML>