Variable and Periodic Signals in Astronomy

Similar documents
Variable and Periodic Signals in Astronomy

TIME SERIES ANALYSIS

FOURIER TRANSFORMS. f n = 1 N. ie. cyclic. dw = F k 2 = N 1. See Brault & White 1971, A&A, , for a tutorial introduction.

Unstable Oscillations!

Continuous Wave Data Analysis: Fully Coherent Methods

Signals & Systems. Lecture 5 Continuous-Time Fourier Transform. Alp Ertürk

Fourier transform. Stefano Ferrari. Università degli Studi di Milano Methods for Image Processing. academic year

Periodogram of a sinusoid + spike Single high value is sum of cosine curves all in phase at time t 0 :

CHAPTER 4 FOURIER SERIES S A B A R I N A I S M A I L

Time and Spatial Series and Transforms

Fourier analysis of AGN light curves: practicalities, problems and solutions. Iossif Papadakis

Pulsars: Observation & Timing. Stephen Eikenberry 28 Jan 2014

SEISMIC WAVE PROPAGATION. Lecture 2: Fourier Analysis

Lecture 11: Spectral Analysis

Correlator I. Basics. Chapter Introduction. 8.2 Digitization Sampling. D. Anish Roshi

Parameter estimation in epoch folding analysis

Periodogram of a sinusoid + spike Single high value is sum of cosine curves all in phase at time t 0 :

Signal Modeling, Statistical Inference and Data Mining in Astrophysics

FOURIER TRANSFORMS. At, is sometimes taken as 0.5 or it may not have any specific value. Shifting at

Experimental Fourier Transforms

Sequential Data 1D a new factorization of the discrete Fourier transform matrix :The Hartley Transform (1986); also chirplets

Basic Structure of the High-energy Observations. Preparation of the Data for the Analysis. Methods to Examine the Periodic Signal

Lecture 9: Speckle Interferometry. Full-Aperture Interferometry. Labeyrie Technique. Knox-Thompson Technique. Bispectrum Technique

3.1.1 Lightcurve, colour-colour and hardness intensity diagram

A6523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring

False Alarm Probability based on bootstrap and extreme-value methods for periodogram peaks

Information and Communications Security: Encryption and Information Hiding

STATISTICS OF OBSERVATIONS & SAMPLING THEORY. Parent Distributions

Chapter 4 The Fourier Series and Fourier Transform

Summary of Linear Least Squares Problem. Non-Linear Least-Squares Problems

Continuous-time Signals. (AKA analog signals)

Communication Signals (Haykin Sec. 2.4 and Ziemer Sec Sec. 2.4) KECE321 Communication Systems I

arxiv: v1 [astro-ph.sr] 6 Jul 2013

Statistical Methods for Astronomy

BME 50500: Image and Signal Processing in Biomedicine. Lecture 2: Discrete Fourier Transform CCNY

Helioseismology: GONG/BiSON/SoHO

23.4. Convergence. Introduction. Prerequisites. Learning Outcomes

A1 Time-Frequency Analysis

arxiv:astro-ph/ v1 17 May 2006

Basics about Fourier analysis

A=randn(500,100); mu=mean(a); sigma_a=std(a); std_a=sigma_a/sqrt(500); [std(mu) mean(std_a)] % compare standard deviation of means % vs standard error

Simultaneous XMM-Newton Radio Observations of the Mode-switching Radio Pulsar PSR B Wim Hermsen 1,2

Time-domain astronomy with the Fermi Gamma-ray Burst Monitor

REGULARIZED ESTIMATION OF LINE SPECTRA FROM IRREGULARLY SAMPLED ASTROPHYSICAL DATA. Sébastien Bourguignon, Hervé Carfantan, Loïc Jahan

2A1H Time-Frequency Analysis II

A6523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring 2013 Lecture 4 For next week be sure to have read Chapter 5 of

Fundamentals of the Discrete Fourier Transform

Continuous Fourier transform of a Gaussian Function

Problem Set 4 Solutions

Images have structure at various scales

The Continuous-time Fourier

Observational Astrophysics 2

V(t) = Total Power = Calculating the Power Spectral Density (PSD) in IDL. Thomas Ferree, Ph.D. August 23, 1999

Problem Sheet 1 Examples of Random Processes

PART 1. Review of DSP. f (t)e iωt dt. F(ω) = f (t) = 1 2π. F(ω)e iωt dω. f (t) F (ω) The Fourier Transform. Fourier Transform.

Infrared-Optical observations of magnetars

Practical Statistics

Review: Continuous Fourier Transform

Chapter 4 The Fourier Series and Fourier Transform

Lecture 2: Thin Films. Thin Films. Calculating Thin Film Stack Properties. Jones Matrices for Thin Film Stacks. Mueller Matrices for Thin Film Stacks

Transiting Exoplanet in the Near Infra-red for the XO-3 System

Stochastic Processes. M. Sami Fadali Professor of Electrical Engineering University of Nevada, Reno

2. What are the tradeoffs among different measures of error (e.g. probability of false alarm, probability of miss, etc.)?

Lecture 7: Optical Spectroscopy. Astrophysical Spectroscopy. Broadband Filters. Fabry-Perot Filters. Interference Filters. Prism Spectrograph

ω 0 = 2π/T 0 is called the fundamental angular frequency and ω 2 = 2ω 0 is called the

Evidence of a Neptune-sized Planet in the ρ 1 Cancri System

06EC44-Signals and System Chapter Fourier Representation for four Signal Classes

EA2.3 - Electronics 2 1

Pulsars. The maximum angular frequency of a spinning star can be found by equating the centripetal and gravitational acceleration M R 2 R 3 G M

lightcurve Data Processing program v1.0

Signal and systems. Linear Systems. Luigi Palopoli. Signal and systems p. 1/5

A6523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring

THE FOURIER TRANSFORM (Fourier series for a function whose period is very, very long) Reading: Main 11.3

Question Paper Code : AEC11T02

Non-Imaging Data Analysis

Galaxies 626. Lecture 3: From the CMBR to the first star

EE 435. Lecture 30. Data Converters. Spectral Performance

Ph 21.2: Introduction to Fourier Transforms

Indirect Methods: gravitational perturbation of the stellar motion. Exoplanets Doppler method

Time Series Analysis. Eric Feigelson Penn State University. Summer School in Statistics for Astronomers XIII June 2017

Delaware Asteroseismic Research Center. Asteroseismology with the Whole Earth Telescope (and More!)

Typical anisotropies introduced by geometry (not everything is spherically symmetric) temperature gradients magnetic fields electrical fields

2.161 Signal Processing: Continuous and Discrete Fall 2008

1 Statistics Aneta Siemiginowska a chapter for X-ray Astronomy Handbook October 2008

A6523 Modeling, Inference, and Mining Jim Cordes, Cornell University. False Positives in Fourier Spectra. For N = DFT length: Lecture 5 Reading

Discrete-time Signals and Systems in

EC Signals and Systems

Observational and modeling techniques in microlensing planet searches

Stochastic Modeling of Astronomical Time Series

CS711008Z Algorithm Design and Analysis

2A1H Time-Frequency Analysis II Bugs/queries to HT 2011 For hints and answers visit dwm/courses/2tf

Fourier Series Tutorial

Fourier series. XE31EO2 - Pavel Máša. Electrical Circuits 2 Lecture1. XE31EO2 - Pavel Máša - Fourier Series

4 The Continuous Time Fourier Transform

Application Note AN37. Noise Histogram Analysis. by John Lis

Lecture 25: The Cosmic Distance Scale Sections 25-1, 26-4 and Box 26-1

A6523 Signal Modeling, Statistical Inference and Data Mining in Astrophysics Spring 2013

Introduction to Statistics and Error Analysis II

Review of Linear Time-Invariant Network Analysis

Lecture 2: Geometrical Optics 1. Spherical Waves. From Waves to Rays. Lenses. Chromatic Aberrations. Mirrors. Outline

Transcription:

Lecture 14: Variability and Periodicity Outline 1 Variable and Periodic Signals in Astronomy 2 Lomb-Scarle diagrams 3 Phase dispersion minimisation 4 Kolmogorov-Smirnov tests 5 Fourier Analysis Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 1

Variable and Periodic Signals in Astronomy Examples variable stars (Cepheids, eclipsing/interacting binaries) magnetic activity (spots, flares, activity cycles) exoplanets (Doppler, transients, micro-lensing) pulsars, neutron star QPO gravitational lensing transients (flare stars, novae, supernovae, GRB) new synoptic telescopes: LSST, Pan-STARRS, VST Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 2

Eclipsing Binary: Raw Data Eclipsing Binary: Folded with 1.4 Days www.stat.berkeley.edu/users/rice/ubcworkshop/ Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 3

Spotted Star Siwak et al. (2010) Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 4

Exoplanet Transits Borucki et al. 2010 Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 5

Finding Variability and Periodicity Problems: uneven sampling data gaps, sometimes periodic variable noise variability of Earth atmosphere, instrument, detector Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 6

Testing for Constant Signal N measurements y i with errors σ i at times t i best guess for constant with Gaussian errors y a min = N y i i=1 σi 2 N i=1 1 σi 2 minimizes N N χ 2 χ 2 (y i y m ) 2 i i=1 i=1 σ i 2 probability that chi-squared by chance P(χ 2 obs ) = gammq((n 1)/2, χ2 obs /2) but test is often insufficient Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 7

Counter Example Data N measurements y i, Gaussian distribution around constant value with constant error σ observed chi-squared due to chance Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 8

Counter Example 1 re-order measurements such that y N y N 1... y 2 y 1 new time series has same chi-squared, but cannot be obtained by chance significant increase of y i with time not uncovered by chi-squared test Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 9

Counter Example 2 equidistant time intervals t i = i t order y i so that higher values are assigned to t i with even i and lower values to t i with odd i significant periodicity present in re-ordered data not uncovered by chi-squared test if time series is long enough, can uncover significant variability from other tests Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 10

W UMa (pulsation variable) TV Cas data obtained by Hipparcos significantly variable (variations error bars) due to observing method, data taken at irregular intervals Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 11

Fitting Sine Functions: Lomb-Scargle fit (co)sine curve V h = a cos(ωt φ o ) = A cos ωt + B sin ωt A, B related to a, φ o by a 2 = A 2 + B 2 ; tan φ o = B A fit a, φ o, ω 2π/P by minimizing sum of chi-squares specialized method developed by Lomb (1967), improved by Scargle (1982), Horne & Baliunas (1986), and Press & Rybicki (1989) see Numerical Recipes, Ch. 13.8 Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 12

W UMa TV Cas Folded Light-Curve W UMa roughly sinusoidal: Lomb-Scargle works well TV Cas: folded light curve very different from sine: Lomb-Scargle does not work Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 13

Issues with Binaries note two maxima and minima in each period sometimes difficult to decide by factor of 2 contact binaries (W UMa variables) often have two almost equal minima per orbital period depending on data quality one may or may not find significant difference between two minima additional knowledge must decide whether period is actual period or half of it Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 14

Period Folding TV Cas: folded light curve very different from sine Lomb-Scargle not efficient in finding period arbitrary lightcurves: phase dispersion minimization (Stellingwerf, 1978, ApJ 224, 953) fold data on trial period to produce folded lightcurve divide folded lightcurve into M bins if period is (almost) correct, variance s j 2 inside each bin j 1, M is small if period is wrong, variance in each bin is almost same as total variance best period has lowest value for M j=1 s j 2 Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 15

False Alarm Probability probability that result is due to chance analytic derivation of this probability is difficult often safest estimate obtained by simulations N measurements y i at t i scramble data and apply Lomb-Scargle or Stellingwerf method scrambled data should not have periodicity many scrambles distribution of significances that arises due to chance, probability that period obtained from actual data is due to chance this probability is often called false-alarm probability Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 16

Variability through Kolmogorov-Smirnov (KS) Tests data may be variable without strict periodicity consider detector exposing for T seconds detecting N photons M bins of equal length T /(M 1) constant source: n = N/(M 1) photons per bin test with chi-squared or maximum-likelihood test loss of information by binning result depends on the number of bins chosen Kolmogorov-Smirnov test (KS-test) test avoids these problems KS test computes probability that two distributions are the same computes probability that two distributions have been drawn from the same parent one-sided KS-test compares theoretical distribution without errors with observed distribution two-sided KS-test compares two observed distributions, each of which has errors Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 17

Kolmogorov-Smirnov Test Example number of photons from constant source increases linearly with time normalize total number N of detected photons to 1 theoretical expectation: normalized number of photons N(< t) arriving before time t increases linearly with t from 0 at t = 0 to 1 at t = T Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 18

Kolmogorov-Smirnov Test Example (continued) observed distribution is histogram starting at 0 for t = 0, and increasing with 1/N at each time t i, i 1, N that a photon arrives determine largest difference d between theoretical curve and observed curve KS-test gives probability that a difference d or larger arises in sample of N photons due to chance KS-test takes into account that for large N one expects any d arising due to chance to be smaller than in small sample Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 19

Fourier transforms Introduction periodic signal builds up with time discover periodic signal in long time series, even if signal is small with respect to noise level best for un-interrupted series at equidistant intervals data gaps lead to spurious periodicities can remove spurious periodicities ( cleaning ) continuous and discrete Fourier transforms observations only discrete transform Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 20

Continuous Fourier Transform continuous transform a(ν) of signal x(t) a(ν) = reverse transform x(t) = x(t)e i2πνt dt a(ν)e i2πνt dν for < ν < rmfor < t < therefore Parseval theorem x(t) 2 dt = a(ν) 2 dν occasionally written with the cyclic frequency ω 2πν write e i2πνt as cos(2πνt) + i sin(2πνt) Fourier transform gives the correlation between the time series x(t) and a sine or cosine function, in terms of amplitude and phase at each frequency ν. Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 21

Discrete Fourier Transform series of measurements x(t k ) x k taken at times t k t k kt /N, T is total time for N measurements time step δt = T /N discrete Fourier transform defined at N frequencies ν j, for j = N/2,..., N/2 1, frequency step δν = 1/T discrete versions of continuous transforms a j = N 1 k=0 x k = 1 N x k e i2πjk/n j = N 2, N 2 + 1,... N 2 2, N 2 1 N/2 1 j= N/2 a j e i2πjk/n k = 0, 1, 2,..., N 1 Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 22

Discrete Fourier Transform (continued) discrete Parseval theorem N 1 k=0 x k 2 = 1 N N/2 1 j= N/2 a j 2 occasionally also in terms of cyclic frequencies ω j 2πν j 1/N-normalization is matter of convention other conventions: 1/N-term in forward transform or 1/ N-term in both forward and backward transforms in general: both x and a are complex numbers x j real a j = a j Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 23

Nyquist and DC Frequencies highest frequency is ν N/2 = 0.5N/T (Nyquist frequency) with a N/2 = a N/2 : a N/2 = N 1 k=0 x k e iπk = N 1 k=0 x k ( 1) k = a N/2 may list the amplitude at the Nyquist frequency either at the positive or negative end of the series of a j amplitude at zero frequency is the total number of photons: a o = N 1 k=0 x k N tot Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 24

Parseval s Theorem Parseval s theorem: express variance of signal in terms of Fourier amplitudes a j : N 1 k=0 (x k x) 2 = N 1 k=0 x k 2 1 N ( N 1 k=0 x k ) 2 = 1 N N/2 1 j= N/2 a j 2 1 N a o 2 discrete Fourier transform converts N measurements x k into N/2 complex Fourier amplitudes a j = a j each Fourier amplitude has amplitude and phase a j = a j e iφ j if the N measurements are uncorrelated, the N numbers (amplitudes and phases) associated with the N/2 Fourier amplitudes are uncorrelated as well Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 25

Correlations in Real and Fourier Spaces N 1 k=0 N 1 k=0 N 1 k=0 sin ω j k = 0, cos ω j k cos ω m k = N 1 k=0 N 1 k=0 cos ω j k = 0 (j 0) N/2, j = m 0 or N/2 N, j = m = 0 orn/2 0, j m cos ω j k sin ω m k = 0 { N/2, j = m 0 or N/2 sin ω j k sin ω m k = 0, otherwise Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 26

Period Searching with Fourier Transform phase often less important than period period search often based on power of Fourier coefficients defined as a series of N/2 numbers P j P j 2 a o a j 2 = 2 N tot a j 2 j = 0, 1, 2,..., N 2 series P j is called the power spectrum does not contain information on phases normalization of power spectrum is convention Fourier coefficients a j follow super-position theorem Fourier power spectrum coefficients P j do not: a j Fourier amplitude of x k, b j Fourier amplitude of y k Fourier amplitude c j of z k = x k + y k given by c j = a j + b j power spectrum of z k is c j 2 = a j + b j 2 a j 2 + b j 2 difference being due to correlation term a j b j Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 27

Variance and Fourier Transform Only if x k and y k are not correlated, then the power of the combined signal may be approximated with the sum of the powers of the separate signals. variance expressed in terms of powers N 1 (x k x) 2 = N N/2 1 tot P j + 1 N 2 P N/2 k=0 In characterizing the variation of a signal one also uses the fractional root-mean-square variation, 1 N k r (x N/2 1 k x) 2 j=1 P j + 0.5P N/2 = x N tot j=1 Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 28

From Continuous to Discrete measurements x k taken between t = 0 and t = T at equidistant times t k. describe as continuous time series x(t) multiplied with window function { } 1, 0 t < T w(t) = 0, otherwise and then multipled with sampling function ( Dirac comb ) s(t) = k= δ(t kt N ) Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 29

From Continuous to Discrete (continued) a(ν) is continuous Fourier transform of x(t) W (ν) and S(ν) Fourier transforms of w(t) and s(t) then W (ν) 2 w(t)e i2πνt dt 2 = sin(πνt ) πν 2 = T sinc(πνt ) 2 Fourier transform of a window function is (the absolute value of) a sinc-function, and S(ν) = s(t)e i2πνt dt = N T m= ( δ ν m N ) T Fourier Transform of Dirac comb is also a Dirac comb all these transforms are symmetric around ν = 0 by definition Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 30

From Continuous to Discrete (continued) Fourier Transform of product is convolution of Fourier Transforms convolution of a(ν) and b(ν) is a(ν) b(ν) a(ν )b(ν ν )dν x(t)w(t): window function w(t) convolves each component with a sinc-function widening dν inversely proportional to length of time series: dν = 1/T. [x(t)w(t)]s(t): multiplication of signal by Dirac comb corresponds to convolution of its transform with Dirac comb, i.e. by an infinite repeat of the convolution. Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 31

From Continuous to Discrete (continued) from continuous a(ν) to discontinuous a d (ν): a d (ν) a(ν) W (ν) S(ν) = x(t)w(t)s(t)dt = x(t) N 1 k=0 δ ( t kt ) N e i2πνt dt = N 1 k=0 x ( ) kt N e i2πνkt /N ( finite length of time series broadening of Fourier transform with width dν = 1/T with sidelobes discreteness of sampling causes aliasing (reflection of periods beyond Nyquist frequency into range 0, ν N/2 ) sample often integration over finite exposure time convolution of time series x(t) with window function { N/T, T b(t) = 2N < t < T 2N 0, otherwise Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 32

From Continuous to Discrete (continued) Fourier transform a d (ν) is multiplied with Fourier transform of b(t) sin πνt /N B(ν) = πνt /N at frequency zero, B(0) = 1, at the Nyquist frequency B(ν N/2 = T /(2N)) = 2/π, and at double the Nyquist frequency B(ν = N/T ) = 0. frequencies beyond Nyquist frequency are aliased into window (0, ν N/2 ) with reduced amplitude integration of the exposure time corresponds to an averaging over a time interval T /N, and this reduces the variations at frequencies near N/T Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 33

Power Spectra time series x(t) consists of uncorrelated noise and signal P j = P j,noise + P j,signal power P j,noise often approximately follows chi-squared distribution with 2 degrees of freedom normalization of powers ensures that power of Poissonian noise is exactly distributed as the chi-squares with two degrees of freedom probability of finding a power P j,noise larger than an observed value P j : Q(P j ) = gammq(0.5 2, 0.5P j ) standard deviation of noise power equal to their mean value: σ P = P j = 2. fairly high values of P j are possible du to chance Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 34

Power Spectra (continued) reduce noise of power spectrum by averaging: method 1: bin the power spectrum method 2: divide time series into M subseries and average their power spectra loss of frequency resolution in both cases but binned/averaged power spectrum is less noisy chi-squared distribution of power spectrum divided into M intervals, and in which W successive powers in each spectrum are averaged, is given by the chi-squared distribution with 2MW degrees of freedom, scaled by 1/(MW ) average of distribution is 2, variance 4/(MW ) probability that binned/averaged power > observed power P j,b : Q(P j,b = gammq(0.5[2mw ], 0.5[MWP j,b ]) for sufficiently large MW this approaches the Gauss function Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 35

Detecting and Quantifying a Signal can decide whether at given frequency observed signal exceeds noise level significantly, for any significance level 90% significance first compute P j for which Q = 0.1 in words: probability which is exceeded by chance in only 10% of the cases check whether the observed power is bigger than this P j decided on frequency before we did the statistics, i.e. if we first select one single frequency ν j good for known period, e.g. orbital period of a binary, or pulse period of pulsar in general: searching for a period, i.e. we do not know which frequency is important apply recipe many times, once for each frequency corresponds to many trials, and thus our probability level has te be set accordingly Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 36

Unknown Frequency and Amplitude consider one frequency, P detect has probability 1 ɛ not to be due to chance try N trials frequencies probability that the value P detect is not due to chance at any of these frequencies is given by (1 ɛ ) N trials, which for small ɛ equals 1 N trials ɛ. probability that value P detect is due to chance at any of these frequencies is given by ɛ = N trials ɛ. if we wish to set an overall chance of ɛ, we must take the chance per trial as ɛ = ɛ/n trials, i.e. ɛ = ɛ N trials = gammq(0.5[2mw ], 0.5[MWP detect ]) Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 37

Upper Limit observed power P j,b higher than detection power P detect for given chance ɛ observed power is sum of noise power and signal power P j,signal > P j,b P j,noise (1 ɛ ) confidence no observed power exceeds detection level upper limit determine level P exceed, exceeded by noise alone with high probability (1 δ), from 1 δ = gammq(0.5[2mw ], 0.5[MWP exceed ]) highest observed power P max upper limit P UL to power is P UL = P max P exceed if there were signal power higher than P UL, the highest observed power would be higher than P max with a (1 δ) probability Christoph U. Keller, Utrecht University, C.U.Keller@uu.nl Astronomical Data Analysis, Lecture 8: Variability and Periodicity 38