Statistical Investigation of ECG Signal of Sleep Apnea Patient

Table of contents

1. Statistical Investigation of ECG Signal of Sleep Apnea Patient

Chandan Das ? , Mofazzal H. Khondekar ? A Abstract -The Hurst Exponent of the time series of a normal patient and apneal patient suggest that they are anti-persistent and the later has more self similarity compared to the former. It has been established that they are AR process and nonstationary. The Semblance analysis suggests strong correlation both positive and negative between them. Tentative mathematical models of the normal an apneal patient has also been suggested using Yule Walker method.

Keywords: Hurst exponent, ECG, autocorrelation, partial autocorrelation, Wavelet, Semblance.

leep apnea is the occurrences of interrupted breathing during sleep. Obstructive sleep apnea is a well-known disorder in which relaxation of muscles in the throat repeatedly close off the airway during sleep; the person wakes just enough to take a gasping breath. This process is repeated many times during sleep and usually is not remembered the next day. Those suffering from severe obstructive sleep apnea typically complain of sleepiness, irritability, forgetfulness, and difficulty in concentrating. They may have difficulties in their occupational or social lives and be prone to motor vehicle accidents. The disorder has been medically linked to hypertension, which in turn puts people at greater risk of heart failure and stroke.

An electrocardiogram (ECG or EKG, abbreviated from the German Elektrokardiogramm) is a graphic produced by an electrocardiograph, which records the electrical activity of the heart over time [1]. Its name is made of different parts: electro, because it is related to electronics, cardio, Greek for heart, gram, a Greek roots meaning "to write". Specific waveforms within the ECG represent the electrical activity associated with mechanical events such as ventricular contraction and relaxation (systole and diastole). Analysis of the various waves and normal vectors of depolarization and re-polarization yields important diagnostic information [2].

ECG signals of the normal patient and apnea patient being taken for a period of 15minutes [3, 4] with the sampling interval of 4 msec. In this paper we will try to find out the nature of variability of the above two ECG signals using Finite Variance Scaling Method (FVSM). But before we proceed for the above action we have to consider that in practical cases all the observed data involve some amount of circumstantial errors which may creep in due change in environment, or systematic error which is due to factors inherent in the manufacture of the measuring instrument arising out of tolerances in the components of the instruments. Study of such data in presence of error may often not succeed to give true information. There is the need to remove these errors up to a satisfactory level. For these purpose we frequently use different methods of filtration in the time-dependent data. Here Simple Exponential Smoothing technique has been used for the filtration purpose.

The Hurst Exponent obtained from FVSM quantifies the relative affinity of a time series either to regress strongly to the mean or to cluster in a direction. Autocorrelation plots are used for checking randomness in a data set. This randomness is estimated by computing autocorrelations for data values at varying time lags. For random time series, such autocorrelations are near zero value for every time-lag, whereas for deterministic series, one or more of the autocorrelations will have notably non-zero values.

Partial autocorrelation plots are used here for model identification in Box-Jenkins models of the time series.

Semblance Analysis using the continuous wavelet transform has been done to investigate the similarity of the phase relationship locally between the two signals which is a function of frequency and time of the signals.

2. a) Simple Exponential Smoothing

Exponential Smoothing helps to produce a smoothed Time Series by assigning exponentially decreasing weights as the observation in the time series get older. Simple Exponential Smoothing [5] where y i is the smoothed data at the i-th position and ? (0< ?< 1) is a parameter. This is equivalent to y 1 =x 1 and where the sum of the corresponding weights ?, ? (1-?), ? (1-?) 2 ,? (1-?) i-2 and (1-?) i-1 is equal to unity. Thus in effect, each smoothed value is a convex linear combination of all the previous observations as well as the current observation.

A familiar version of Finite Variance Scaling Method (FVSM) is the Standard Deviation Analysis (SDA) [6,7,8], which is based on the assessment of the standard deviation D (t) of the variable x (t). In a time series {x (t i )} observed at the instants t i for i=1, 2?, n it yields

i n i t i X i n i t i X t i D 1 2 1 1 2 ) ( 1 For n=1, 2, 3???.j Eventually it is observed [6, 7 and 8] t H t D 2

The exponent H is known as the Hurst exponent. It is evaluated from the gradient of the best fitted straight line in the log-log plot of D (t) against t. The value of the Hurst exponent ranges between 0 and 1. A value of 0.5 indicates a true random walk (a Brownian time series). In a random walk there is no correlation between any element and future element. A Hurst exponent value 0<H<0.5 will exist for a time series with anti-persistent behavior (negative autocorrelation) [9]. If the Hurst exponent is 0.5<H<1.0, the process will be a long memory process. A Hurst exponent value in this range indicates persistent behavior (or, a positive autocorrelation).

Autocorrelation is a statistical method used for time series analysis. It refers to the correlation of a time series with its own past and future values. The values of the autocorrelation coefficients serve two purposes. It can detect non-randomness in a data set. If the values in the data set are not random, then autocorrelation can help the analyst chose an appropriate time series model.

The set of autocorrelation coefficients arranged as a function of separation in time is the sample autocorrelation function (acf). If x i be signal of length N and x be its overall mean i.e. The autocorrelation coefficient at lag k is given by:

N i i k N i i i k x x x x x x r 1 2 1 1 3

The plot of the autocorrelation coefficients as a function of lag is called the correlogram.

Positive autocorrelation signifies the persistent trend in the series where the system likes to remain in the same state from one observation to the next. Whereas negative autocorrelation is distinguished by an inclination for positive departures from the overall mean x to follow a negative departure, and vice versa.

In order to find the connection between i x and k Is the autocorrelation function at lag k.

Partial autocorrelation is a commonly used tool for model identification. If the sample autocorrelation plot indicates that an AR model may be appropriate, then the sample partial autocorrelation plot is examined in order to identify the order. We look for the lag on the partial autocorrelation plot beyond which its values essentially become zero, more specifically where the values of the coefficients are considerably less than a 95% confidence level i.e.

3. 6

Where is the mother wavelet, and * is complex conjugate of , s allows the wavelet to be stretched to various scales and u allows the wavelet to be translated to by various displacements. The CWT basically is the convolution of the signal with scaled version of the mother wavelet. Here, the complex Morlet wavelet has been used, which is defined as [11,12] e e (in Eq. ( 6)). When the mother wavelet chosen here is complex and hence its real and imaginary parts generate a Hilbert transform pair, to order to have orthogonality. Since the mother wavelet is complex, the CWT will also be complex which has a phase at every time and scale. The cross-wavelet transform [13,14] defined as: The Hurst exponent that we have obtained for both the normal and apneal patient are less than 0.5 which suggest that the signals are having anti-persistent behavior i.e. there are trends of a decrement in values followed by an increment and vice versa and it is more pronounced in case of the apneal patient.

4. CWT CWT CWT

The Fractal Dimension (D) is related to the Hurst exponent by the equation of D=2-H. Hence the D for the normal patient is 1.7221 and for the apneal patient it is 1.87. These values of D suggest that the Global ( F )

Figure 1.
can be expressed as,[10] column in equation 4 is replaced by k .
Figure 2.
equivalent to wavelength. The behaviour of the signal on different scales can be revealed by varying the scale s
Figure 3. 11 For 2 Fig. 2 :
1122Fig.1: ECG signals Global Journal of Researches in Engineering
Figure 4. Fig. 4 : 5 Fig. 5 :
455Fig.4: Partial Autocorrelation of two ECG lead signalThe Semblance analysis results shown in fig.5
1
2

Appendix A

Appendix A.1

apneal patient signal has more self similarity than that of a normal patient.

From the auto-correlogram as shown in fig. 3 we find that the autocorrelation coefficients die down to zero more rapidly than that of the apneal patient. The autocorrelation coefficients for apneal patient seem not to die down to zero except for large values of the lag. It signifies that the apneal patient's time series has a stronger trend compared to that of a normal patient. The auto-correlogram also suggests that both the systems from which the signals originated are Autoregressive (Markov) process (AR). The tendency of the autocorrelation coefficients of the apneal patient not to die quickly as compared to those of the normal patient can be taken as an indication of stronger nonstationarity of the former signal with respect to the later.

From the partial auto-correlogram as in fig. 4 we can claim that normal signal is auto-regressive process of order 9 i.e. AR (9) but the patient signal is autoregressive process of order 4 i.e. AR (4). Using the Yule Walker Equation [10], the model of the two data series can be estimated as

Appendix B

  1. American Heart Association Guidelines for Cardiopulmonary Resuscitation and Emergency Cardiovascular Care -Part 8: Stabilization of the Patient With Acute Coronary Syndromes. IV-89 -IV-110. Circulation 2005. 112.
  2. , A Sarkar , P Barat , P Mukherjee , S .
  3. Bandyopadhyay . Proceedings of National Conference on Nonlinear Systems and Dynamics (held at A.M.U., Aligarh during, (National Conference on Nonlinear Systems and Dynamics (held at A.M.U., Aligarh during) February 24-26, 2005) 2005. p. 155.
  4. The Fractal Geometry of Nature, B B Mandelbrot . 1983. New York: Freeman.
  5. Heart Disease: A Textbook of Cardiovascular Medicine, Fifth Edition, Braunwald E. (ed.) 1997. Philadelphia: W.B. Saunders Co. p. 108.
  6. Time Series Analysis-Forecasting and Control, G E P Box , G M Jenkins , ReinselG . Pearson Education Ltd. (3 rd Edition)
  7. , K Hossain , N Dipendra , Koushik Ghosh , Ghosh . Scaling Analysis Of National Stock Exchange Index
  8. ECG Signal Denoising By Wavelet Transform Thresholding. M Alfaouri , K Daqrouq . American Journal of Applied Sciences 1546-923. 2008. 5 (3) p. .
  9. , N Scafetta , P Grigolini . Phys. Rev. E 2002. 66 p. 36130.
  10. , R L Winkler , S Makridakis . Journal of the Royal Statistical Society, Series A (General) 1983. 146 (2) p. 150.
  11. Computational Signal Processing with Wavelets, S Mallat . 1998. 1998. New York; Boston, MA: Birkha¨ user Boston Inc. p. 352. (A Wavelet Tour of Signal Processing)
Notes
1
© 2011 Global Journals Inc. (US)
2
November © 2011 Global Journals Inc. (US)
Date: 2011-12-00 2011-12-17