Docsity

LASER INTERFEROMETER GRAVITATIONAL WAVE OBSERVATORY, Study notes of Astrophysics

Toggle sidebar
bg1
LASER INTERFEROMETER GRAVITATIONAL WAVE OBSERVATORY
- LIGO -
CALIFORNIA INSTITUTE OF TECHNOLOGY
MASSACHUSETTS INSTITUTE OF TECHNOLOGY
Document Type LIGO-T030119-00-Z 2003/06/15
noiseChar: A Matlab Tool for
Characterizing Detector Noise and
Stationarity
Lee Samuel Finn
Distribution of this draft:
LIGO Scientific Collaboration
California Institute of Technology Massachusetts Institute of Technology
LIGO Project - MS 51-33 LIGO Project - MS 20B-145
Pasadena CA 91125 Cambridge, MA 01239
Phone (626) 395-2129 Phone (617) 253-4824
Fax (626) 304-9834 Fax (617) 253-7014
WWW: http://www.ligo.caltech.edu/
Processed with L
A
T
E
X on 2003/06/15
pf3
pf4
pf5
pf8
pf9

Partial preview of the text

Download LASER INTERFEROMETER GRAVITATIONAL WAVE OBSERVATORY and more Study notes Astrophysics in PDF only on Docsity!

LASER INTERFEROMETER GRAVITATIONAL WAVE OBSERVATORY

  • LIGO - CALIFORNIA INSTITUTE OF TECHNOLOGY MASSACHUSETTS INSTITUTE OF TECHNOLOGY

Document Type LIGO-T030119-00-Z 2003/06/

noiseChar: A Matlab Tool for

Characterizing Detector Noise and

Stationarity

Lee Samuel Finn

Distribution of this draft:

LIGO Scientific Collaboration

California Institute of Technology Massachusetts Institute of Technology LIGO Project - MS 51-33 LIGO Project - MS 20B- Pasadena CA 91125 Cambridge, MA 01239 Phone (626) 395-2129 Phone (617) 253- Fax (626) 304-9834 Fax (617) 253- E-mail: [email protected] E-mail: [email protected] WWW: http://www.ligo.caltech.edu/

Processed with LATEX on 2003/06/

Abstract Here describe noiseChar: a matlab tool designed to provide insight into the character and stationarity of the mean, variance and χ 2 fit to a normal distribution of the detector noise. This document refers to version 1.5 of noiseChar. $Id$

Contents

1 Introduction 2

2 noiseChar 2 2.1 Overview of noiseChar results.......................... 3 2.2 Interpretation..................................... 5 2.3 Requirements..................................... 8 2.4 Use.......................................... 8

3 Conclusion 9

1 Introduction

noiseChar is a matlab tool designed to provide insight into the character and stationarity of the mean, variance and χ 2 fit to a normal distribution of the detector noise. It is intended to serve two purposes:

  1. Most detector characterization diagnostics focus on or assume that the detector noise is nor- mally distributed; noiseChar provides a quantitative measure of how well those assump- tions hold;
  2. Most statistical analyses applied to the data to date assume that the detector noise is station- ary 1 ; noiseChar provides a quantitative measure of how well that assumption holds.

noiseChar can also be used to identify intervals over which the detector noise can be considered stationary; however, other tools under development will address the identification of stationary sub-intervals more directly.

2 noiseChar

A description of the analysis and data products produced by noiseChar are given in §2.1; noiseChar requirements and usage directions are described in §2.3.

(^1) Data analysis for burst sources for data that can be characterized as piecwise stationary is described in [1].

estimated over the entire time series plus or minus twice the standard error of the mean for the estimates of the mean based on the shorter time series. These are referred to as control limits. For stationary, normal data the mean estimates over each short segment should remain between these limits 95.45% of the time. Line 3 of panel (1,2) shows the fraction of estimates that are “out of control”: i.e., outside the control limits. In the present example no estimates of the mean are out of control, which is exceptional given the number of sample estimates. The interpretation of these results is discussed in § ?? below.

  • Panel (2,1) shows, as a solid line, the variance ν in each short time series beginning at the time indicated on the x-axis. Also show are two dash-dot lines, between which we expect 95% of the variance estimates to rest assuming that the variance is constant over the entire time series. Line 4 of panel (1,2) shows the fraction of estimates that are out of control. In the present example the variations in the variance are so large that the control limits are indistinguishable in Panel (2,1). Additionally, greater than 96% of the variance estimates differ from the overall variance. Finally, the figure shows large differences in the variance between consecutive 50s intervals. We discuss the interpretation of these results in § ?? below.
  • Panel (2,2) shows the ratio of consecutive estimates of the variance together with (dash-dot lines) bounds within which we would expect 95% of such ratios to remain if the consecutive estimates were drawn from the same normal distribution. Line 5 of panel (1,2) shows the fraction of these ratios that are out of control. In the present example we see more clearly that the variance in consecutive 50s intervals of the time series are very different, indicating strongly that, in this band, the analyzed data is not stationary on 50s intervals. We discuss the interpretation of these results in greater detail in § ?? below.
  • Panel (3,1) shows the results of a χ 2 fit of the samples in each sub-interval to the normal distribution whose mean and variance are shown in panels (1,1) and (2,1). The quantity displayed is normalized by the number of degrees of freedom, which is the number of bins less three. The bins are chosen so that samples from a normal distribution with the expected mean and variance have equal probability of falling in any bin. Also shown are the 95% control limits on the normalized χ 2. Line 6 of panel (1,2) gives the fraction of sub-intervals in which the data differ significantly from that expected from a normal distribution whose mean and variance correspond to the mean and variance of the sub-interval. In the present example we see that the data are far from normal on 50s intervals, as signified by the fraction of intervals whose χ 2 is much greater than the control limits. We discuss the interpretation of these results in greater detail in § ?? below.
  • Panel (3,2) shows the ratio of estimates χ 2 in consecutive 50s sub-intervals, together with control limits between which we would expect 95% of the ratios fall if these estimates were drawn from identical distributions. Line 7 of panel (1,2) gives the fraction of these ratios that are out of control.

In the present example we see that most consecutive 50s intervals “fit” a normal distribu- tion in vary different ways, strongly suggesting that the data are far from stationary on 50s intervals.

2.2 Interpretation

Consider two different sub-intervals of data. From each we can estimate the mean and variance, and how well it fits to the normal distribution described by the estimated mean and variance. These three measures of a distribution can vary independently: i.e., two distributions can have the same mean and variance while one is normal and the other not; similarly, two otherwise identical distri- butions can differ only by a translation (difference in the mean); finally, two normal distributions, with the same mean, can have different variances. noiseChar characterizes sub-intervals of a longer time series as samples from different distributions and provides information on the con- cordance, or lack thereof, between the distributions of consecutive sub-intervals [panels (2,2) and (3,2)], each sub-interval with a normal distribution [panel (3,1)], and between the distribution of each sub-interval and the distribution of the whole [panels (1,1), (2,1)]. In the discussion that follows we will refer principally to figure 1, which is of H1:LSC-AS Q in the first triple coincidence science mode locked segment of S2. Figure 2 shows, for comparison, an identical noiseChar analysis of an equal interval of Gaussian normal data with zero mean and unit variance. Panels (1,1) and (2,1), and the corresponding summaries in panel (1,2), provide a measure of how well each sub-interval fits to the overall distribution of the data. Focus first on panel (1,1) of the example figure 1, which shows the mean in each sub-interval together with control limits that correspond to twice the standard error of the mean. In this particular example the mean fits too well: i.e., for a stationary normal distribution we would expect the mean to be out of control for 5% of the sub-intervals. This is an indication that the variance of the whole, upon which the control limits depend, is generally larger than the variance of most sub-intervals. The analysis of panel (2,1) bears out this conclusion. Panel (2,1) shows the variance estimated on each sub-interval together with control limits that show where 95% of these estimates should fall if the data are stationary and normally distributed. 2 In panel (2,1) we see that the overall variance, which falls approximately mid-way between the control limits, is larger than most of the sub-interval variances. The fewer sub-intervals with large variance drive-up the overall variance. Panel (2,1) also suggests that the noise on the entire interval is dominated by noise in approx- imately 1/4 of the sub-intervals (principally between 2000 and 3000 seconds after the beginning of the analysis data set). Detector characterization efforts might be focused on this segment; alter- natively, an epoch cut might be applied, assuming that it can be shown that such a cut would be unlikely to be triggered by an actual gravitational wave event. Panel (3,1) shows the normalized χ 2 fit of each sub-interval to the normal distribution whose mean and variance are the mean and variance of that sub-interval: i.e., it is measure of how well

(^2) More precisely, when the data are normally distributed then each estimate of the variance is a χ 2 random variable

with ∆tf (^) s degrees of freedom (where ∆t is the duration of each sub-interval, f (^) s the sample rate, and each data sample in a sub-interval is assumed to be independent). The cumulative distribution of ratios of χ 2 random variables is given by the F -distribution. The control limits show the interval in which 95% of the sub-interval estimates are expected to fall if they are drawn from the same normal distribution that characterizes the whole, with 2.5% of the estimates falling above the upper limit and 2.5% falling below the lower limit.

each individual sub-interval fits to a normal distribution. The control limits are determined so that, for normally distributed data, 95% of the estimates will fall between the control limits. 3 In the present circumstance approximately 17% of the sub-intervals are, by this measure, consistent with a normal distribution. A close examination of panels (3,1) and (2,1) suggest that there is a correlation between large χ^2 and large variance. This correlation is borne out by evaluating the correlation coefficient for the interval estimates of χ 2 and ν on the sub-intervals. Panels (1,1), (2,1) and (3,1) provide a qualitative, graphical indication of data stationarity: regardless of the degree to which the data are normal, if the distribution is stationary we expect that the mean, variance and normalized χ 2 on sub-intervals should not vary by an amount much greater than the intervals set by the control limits. Panels (2,2) and (3,2), and the corresponding summaries in panel (1,2), examine this proposition more closely. Panel (2,2) shows the ratio of estimates of the variance on consecutive intervals. If the data are stationary on periods larger than the duration of a sub-interval we expect that this ratio should be near unity. The control limits show the interval about unity in which we expect 95% of the variance ratios to fall if the data are stationary over consecutive intervals. 4 In the present example the estimated variance on consecutive intervals is seen to vary by much more than would be expected for data with a stationary variance. Panel (3,2) shows the ratio of the χ 2 values corresponding to the fit of each sub-interval to a normal distribution. In 21% of the cases the ratios are near unit (as measured by the control limits), suggesting that the character of the distribution measured by the χ 2 fit of the data to a normal distribution is stationary between 21% of the consecutive segments. 5 Figure 2 shows an analysis identical to that shown in figure 1 but for an equal amount of normal data of unit mean and zero variance. Note the behavior of computed statistics relative to the control limits in this case. [[THERE IS APPARENTLY SOMETHING WRONG WITH THE COMPUTATION OF THE MEAN AND/OR THE STANDARD ERROR OF THE MEAN IN PANEL (1,1)]]. noiseChar panels (2,2) and (3,2) can be used to identify sub-intervals of data that are approx- imately stationary: sub-intervals of data that are stationary between consecutive intervals should have variance and χ 2 fit to normal distribution ratios that are unity. Panels (2,2) and (3,2) show these ratios between consecutive segments. Consecutive sub-intervals whose ratios fall within the control limits have noise properties that can be regarded as constant.

(^3) With 2.5% of the estimates falling above the upper limit and 2.5% falling below lower limit. (^4) The control limits are set assuming that the data in each sub-interval are normal, in which case each variance estimate is χ 2 distributed and their ratio is F -distributed. The ratio of the control limits are set by the 2.5% and 97.5% critical values of the F -statistic; their position is set to indicate the interval within which the estimates of χ 2 are expected to fall if the data in each interval is normally distributed. (^5) The quantitative interpretation of the control limits depends on the χ 2 values in each sub-interval being χ 2 dis-

tributed, in which case the ratios are F -distributed. The control limits shown correspond to the 2.5% and 97.5% critical vaues of the F -statistic. If the data are not normal then χ 2 computed in the intervals are not χ 2 distributed. Nevertheless, the control limits still give a sense of the scale of variation in the ratio that is significant and thus an indication of when consecutive segments are similar.

2.3 Requirements

The system on which noiseChar is used must share filesystem access to the appropriate frame data with paths identical to those used by LDAS to find the frames. In addition, noiseChar requires the following software packages and environment:

  • Basic M ATLAB installation;
  • M ATLAB Statistics toolbox;
  • M ATLAB Signal Processing toolbox;
  • M ATLAB m-files LDASRdData and mkFrameTbl;
  • LIGOTools package Fr;
  • LIGOTools package dataflow;
  • An account on the LDAS installation that shares access to the local frame files, logged-in using the LIGOTools ldaspw command.

2.4 Use

The instructions for the use of noiseChar, taken from the M ATLAB source, are reproduced below.

function varargout = noiseChar(varargin) % NOISECHAR - characterize detector noise % Evaluate the data mean, variance and chiˆ2 fit to normal distribution % over short segments of data. % User specifies data channel, gps start time, length of segments to % average over, total duration of data to divide into segments, and % number of bins for evaluation of chiˆ2. Returns mean, variance, and % chiˆ2 per degree of freedom per segment. % % [m,v,c2,fs] = noiseChar(Channel, ldas, type, T0, DT, NSec, Nbins, figs, ba % d = noiseChar(Channel, ldas, type, T0, DT, NSec, Nbins, figs, band) % % Channel string name of channel to process % ldas ldas system (’psudev’, ’llo’, ’lho’, ’cit’) % type frame type (’R’ for raw, ’RDS_R_L1’ for rds) % T0 Start time (GPS secs) % DT Duration (GPS secs) % NSec number seconds per segment (averaging time) % Nbins number of bins for chiˆ2 fit to Gaussian % bins are chosen for constant probability in each bin % figs =0 for no figure, % >0 for displayed figure, % <0 for eps