Open access peer-reviewed chapter

Wavelet Signatures and Diagnostics for the Assessment of ICU Agitation-Sedation Protocols

By In Kang, Irene Hudson, Andrew Rudge and J. Geoffrey Chase

Submitted: November 9th 2010Reviewed: May 6th 2011Published: September 12th 2011

DOI: 10.5772/20547

Downloaded: 1311

1. Introduction

The use of quantitative modelling to enhance understanding of the agitation-sedation (A-S) system and the provision of an A-S simulation platform are key tools in this area of patient critical care. A suite of wavelet techniques and metrics based on the discrete wavelet transform (DWT) are developed in this chapter which are shown to successfully establish the validity of deterministic agitation-sedation (A-S) models against empirical (recorded) dynamic A-S infusion profiles. The DWT approach is shown to provide robust performance metrics of A-S control and also yield excellent visual assessment tools. This approach is generalisable to any study which investigates the similarity or closeness of bivariate time series of, say, a large number of units (patients, households etc) and of disparate lengths and of possibly extremely long length. This work demonstrates the value of the DWT for assessing ICU agitation-sedation deterministic models, and suggests new wavelet based diagnostics by which to assess the A-S models.

Typically agitation-sedation cycling in critically ill patients involves oscillations between states of agitation and over-sedation, which is detrimental to patient health, and increases hospital length of stay (Rudge et al., 2006a; 2006b; Chase et al., 2004; Rudge et al 2005). Agitation management via effective sedation management is an important and fundamental activity in the intensive care unit (ICU), where in the hospitalized adult agitation is defined as excessive verbal behaviour that interferes with patient care, and the patient’s medical therapies (Chase et al., 2004). The main goal of sedation is to control agitation, while also preventing over-sedation and over-use of drugs. In clinical practice, however, a lack of understanding of the underlying dynamics of A-S, combined with a lack of subjective assessment tools, makes effective and consistent clinical agitation management difficult (Chase et al., 2004; Rudge et al., 2005, 2006b). Early agitation management methods traditionally relied on subjective agitation assessment, and sedation assessment scales, combined with medical staff experience and intuition, to deliver appropriate sedation; and an appropriate sedation input response, from recorded at bedside agitation scales (Fraser & Riker, 2001b; Jaarsma et al., 2001; Ramsay et al., 1974; Ricker et al., 1999; Sessler et al., 2002). The clinical staff at the bedside, usually nurses, then select an appropriate infusion rate based upon their evaluation of these scales, experience, and intuition (Kress et al., 2002). This approach usually leads to the administration of largely continuous infusions which lack a bolus-focused approach, and commonly result in either over sedation, or insufficient sedation (Rudge et al., 2006b). Several recent studies have emphasised the cost and healthcare advantages of drug delivery protocols based on assessment scales of agitation and sedation. A minimal differential equation (DE) model to predict or simulate the patients’ agitation-sedation status over time (range [3,001-25,261] time points in minutes) was developed and validated statistically for the first time by Chase et al. (2004). This process is depicted in Figure 3 (see Chase et al., 2004). The goal of the research was to create a physiologically representative pharmacodynamic model that captured the fundamental dynamics of the A-S system. The resulting model can serve as a platform to develop and test semi-automated sedation management controllers that offer the potential of improved agitation management and thus, the clinically relevant outcomes of reduced length of stay in the ICU and reduced health care costs as a result. A-S models were later developed by Rudge et al. (2005, 2006a, 2006b). All these models used either kernel regression, tracking indices, kernel density estimation, a probability band or time within a band as metrics of similarity or closeness of the patient’s simulated and recorded A-S profiles. Lee et al. (2005) also developed a nonparametric regression approach with an Epanechnikov kernel (Wand & Jones 1995) to assess the validity of the deterministic A-S models.

The work in this chapter develops novel wavelet signatures and wavelet based statistics and threshold criterion (to assess closeness between pairs of time series). These are applied to the recorded and the simulated infusion rates obtained from the DE models of Chase et al. (2004) to test for commonality across patients, in terms of wavelet correlations. A major aim of this study is to test the feasibility of wavelet statistics to help distinguish between patients whose simulated profiles were “close” to their mean profile a majority of the time profile versus those for whom this was not the case - so-called good versus poor trackers. This research builds on initial work by Kang et al. (2005), which was a preliminary study to assess wavelet signatures for modelling ICU A-S profiles to evaluate “closeness” or “discrimination” of simulated versus actual A-S profiles with respect to wavelet scales. Another earlier application of some of our methods was the study by Kang et al. (2004) on historical, flowering records of 4 Eucalypt species, where it was established that wavelets add credibility to the use of phenological records to detect climate change (see also Hudson, 2010 , Hudson 2011, Hudson et al., 2010 c and Hudson et al., 2005). This early phenological study was recently expanded from 4 to 8 Eucalypt species by Hudson et al. (2011a, 2011b) (see also Hudson et al., 2010 a, 2010b and Hudson & Keatley, 2010 ).


2. Brief review of wavelets and associated mathematics

Section 2 gives a brief introduction of the basic ideas concerning wavelets. A wave is usually defined as an oscillating function that is localized in both time and frequency. A wavelet is a “small wave”, which has its energy concentrated in time to give a tool for the analysis of transient, nonstationary, or time-varying phenomena (Goupillaud et al., 1984; Morlet, 1983). Wavelets have the ability to allow simultaneous time and frequency analysis via a flexible mathematical foundation. Wavelets are well suited to the analysis of transient signals in particular. The localizing property of wavelets allows a wavelet expansion of a transient component on an orthogonal basis to be modelled using a small number of wavelet coefficients using a low pass filter (Barber et al., 2002). This allows application to a wide range of fields, such as signal processing, data compression, and image analysis (Mallat, 1998; Meyer, 2003; Kumar, 1993, 1994; Donoho, 1995; Chang et al., 2000a, 2000b). The wavelet decomposition of functions is analogous to Fourier decomposition methods (Ogden, 1997; Abramovich & Benjamini, 1995). The wavelet representation is presented first in terms of its simplest paradigm, the Haar wavelet (Haar, 1910). The Haar wavelet is used here to describe the concepts of multiresolution analysis (MRA). For more details about wavelets see, for example, Daubeches (1992), Chui (1992), Donoho & Johnstone (1994), Ogden (1997), Vidakovic (1999), Percival & Walden (2000), and Gencay et al. (2001).

2.1. The Discrete Wavelet Transform (DWT)

Wavelets may be formed from the mother wavelet function ψ(t)via dyadic dilation and integer translation by the following,


where Z is the set of all integers and the factor 2j/2maintains a constant norm independent of scale j. The entire set of wavelets ψj,k(t)forms an orthonormal basis (Daubeches, 1992). The wavelet functions ψj,kare ordered according to their dilation index jand translation index k. Higher jcorresponds to lower frequency wavelets, and higher kcorresponds to a rightward shift. The wavelet transform is usually considered to be a continuous wavelet transform (CWT) (Vidakovic, 1999; Percival & Walden, 2000; Gencay et al., 2001) since it is applied to a function f( ) defined over the entire real axis. However, we only have a finite number Nof sampled values, as is usually the case for real data applications. This approach leads to the discrete wavelet transform (DWT). To some degree of approximation, we can regard the DWT as being formed by taking slices through a corresponding CWT (Mc Coy et al., 1995). Any wavelet in L2(R)then can then be written as a set of expansion functions,


where the two-dimensional set of coefficients aj,kis called the discrete wavelet transform of f(t).A more specific form indicating how theaj,k’s are calculated, can be written using inner products (Swelden, 1996) as follows,


Let Xtbe a dyadic length column vector containing a sequenceX1,X2,,XNof N=2 Jobservations of a real-valued time series. The length Nvector of discrete wavelet coefficients Wis obtained via W= X, where  is an N× Northonormal matrix defining the DWT. The vector of wavelet coefficients may be organised into J +1 vectors,


where Wjis a length N/2jvector of wavelet coefficients associated with changes on a scale of length λj=2j1and VJis a length N/2 Jvector scaling coefficients associated with averages on a scale of length 2 J= 2λ J.Wavelet coefficients thus tell us about variations in adjacent averages (Percival & Walden, 2000).

The structure of the N× Ndimensional matrix Wis visualised through the submatrices W1, …, WJand V J(scaling coefficient matrix) via


Let us now consider implementation of the DWT by using a pyramid algorithm (PA) (Mallat, 1989). Let h= (h0,..., hL-1) be the vector of wavelet (high-pass) filter coefficients and g= (g0,..., g L-1) be the vector of scaling (low-pass) filter coefficients (Daubechies, 1992). Graphical representation of the DWT as applied to a dyadic length vector Xtis given by Figure 1 and Figure 2. These depict the analysis of Xtinto W1, W2 and V2 using the pyramid algorithm (PA). The synthesis of Xtfrom W1, W2 and V2 use the inverse of the PA (Figure 2).

Figure 1.

Flow diagram illustrating the decomposition ofXt into first and second level wavelet coefficients W1,tand W2,tand their scaling coefficients V1,tand V2,t(k=0,…,N-1).

The Inverse DWT (IDWT) is achieved through upsampling the final level of wavelet and scaling coefficients, convolving them with their respective filters and adding up the two filtered vectors. Figure 2 gives a flow diagram for the reconstruction of Xtfrom the second level wavelet and scaling coefficient vectors. Given a dyadic length time series, it was not necessary to implement the DWT down to levelJ=log2(N). A partial DWT (PDWT) may be performed instead that terminates at a levelJpJ. The resulting vector of wavelet coefficients will then contain NN/2Jpwavelets (Percival & Walden, 2000; Gencay et al., 2001). PDWT’s are more commonly used in practice than the full DWT because of the flexibility they offer in specifying a scale beyond which a wavelet analysis into individual large scales is no longer of real interest. A PDWT of level J0allows us to relax the restriction that Nsatisfy, N=2Jfor some Jand replace this restriction with the condition that Ncan be an integer multiple of 2J0(Percival & Walden, 2000; Gencay et al., 2001).

Figure 2.

Flow diagram illustrating the reconstruction ofXt2from first and second level wavelet coefficients W1,tand W2,tand their scaling coefficients V1,tand V2,t(k=0,…,N-1).

2.2. The Maximal Overlap Discrete Wavelet (MODWT)

The DWT is an alternative to the Fourier transform (FT) for time series analysis. The DWT provides wavelet coefficients that are local in both time and frequency. In this section the maximal overlap DWT (MODWT) which is a modified version of the discrete wavelet transform is discussed. Like the DWT, the MODWT is defined in terms of a computationally efficient pyramid algorithm (PA). The term MODWT comes from the relationship of the MODWT with estimators of the Allan variance (Allan, 1966). The MODWT gives up orthogonality in order to gain features the DWT does not possess. A consequence of this is that the wavelet and scaling coefficients must be rescaled in order to retain the variance preserving property of the DWT (Percival & Guttorp, 1994).

DataN=2JAny sample size N
Detail and Smooth Coefficients of MRADownsamplingAssociated with zero phase filters
Circularly shiftingDoes not holdHolds and Invariant
Wavelet VarianceLess efficientAsymptotically Efficient

Table 1.

Properties of the DWT and MODWT

The properties in Table 1 are important in distinguishing the MODWT from the DWT (Percival & Mofjeld, 1997; Percival & Walden, 2000; Gencay et al., 2001). The decomposition and reconstruction procedure and inverting of the MODWT is similar to the DWT. A key feature to an MRA using the MODWT is that the wavelet details and smooth are associated with zero-phase filters. Thus, interesting features in the wavelet details and smooth may be perfectly aligned with the original time series. This attribute is not available through the DWT since it subsamples the output of its filtering operations (Percival & Walden, 2000; Gencay et al., 2001).

2.3. Wavelet-based estimators of correlation

The length Nvector of discrete wavelet coefficients Wis obtained via W= WXand W=[W1,W2,,WJ,VJ]Twhere W is an N× Northonormal matrix defining the DWT, Wjis a length N/2jvector of wavelet coefficients associated with changes on a scale of length λj=2j1and VJis a length N/2 Jvector scaling coefficients associated with averages on a scale of length 2 J= 2λ Jin Section 2.1. Due to orthonormality, X= WT W,and the squared wavelet coefficients of Wthe norm, W2, is the same as X2because of the equalityX2=XTX=(WTW)T(WTW)=WTWWTW=W2. Then X2can be decomposed on a scale-by-scale basis viaX2=W2=j=1JWj2+VJ2. The wavelet correlation and cross-correlation between two time series can now be defined. The wavelet correlation (WCORR) is the correlation between the scale λjwavelet coefficients of bivariate time series. Likewise the wavelet covariance is the covariance between the scale λjwavelet coefficients from bivariate time series. We introduce a lag τ, between the two series, to obtain the wavelet cross-covariance (WCCOVA) and wavelet cross-correlation (WCCORR) (Percival & Walden, 2000; Gencay et al., 2001), as described below.

Let Xtand Ytbe two time series of interest. The wavelet cross-covariance of (Xt,Yt)for scale λj=2j1and lag τ is defined (Percival, 1995; Percival & Guttorp, 1994; Whitcher et al., 2000; Gencay et al., 2001) as follows,


where W¯j,tXand W¯jYare the scale λjMODWT coefficients for XtandYt. When the width of wavelet or scaling filter is equal or greater than two times of the number of differencing operations, the MODWT coefficients have mean zero and therefore the covariance reduces to an expectation of a product (Percival & Walden, 2000). By setting τ = 0 and Xtto Yt, γτ,XY(λj)reduces to the wavelet variance for Xtor Ytdenoted by σX2(λj)orσY2(λj). The wavelet correlation of (Xt, Yt) at scale λj=2 j-1 is then defined as follows,

Rationale for wavelets

Wavelets allow time series data to be decomposed on a scale by scale basis, or to be discretized, into its so-called underlying subcomponents.

Conventional time frequency domain methods results may be difficult to interpret, whereas the wavelet-correlation is able to display how the association between two time series change with wavelet scale.

Transformation of the data (orthonormal) allows correlation, cross-correlational analyses of bivariate series to be performed - based on the derived wavelet coefficients.

DWT is often less computer intensive than other transformations (e.g. fast Fourier transform).

DWT offers easier analysis than the CWT as most time series are sampled as discrete values. DWT allows for the decorrelation of time series.
Qualitative Description of the DWT and MODWT
DWT transforms the original time series Xinto its DWT coefficients W= wY,where wis a N × Northonormal matrix

the components, Wj,of Ware associated with coefficients for each scale λj= 2j−1

Wavelet coefficientsWjinform on the variations in adjacent averages over λj.
There areN2λjwavelet coefficients for each scale λj ≡ 2j−1, j = 1, 2 . . , J0 where λj = 2j−1 is a so-called standardized scale, whereas λjΔt is a physical scale, where Δt is the sampling interval.

The MODWT is a non-decimated variation of the DWT, which defines the jth level MODWT detail subcomponent of the time series asD¯j=W¯j,TW¯jand defines the jth level MODWT smoothed series,S¯j=V¯j,TV¯j, which is related to the average (over scale N), and is normally interpretable as the trend.
Cross- Correlation and correlation
The scale λjMODWT coefficients may be used to investigate the correlation and cross-correlation of two time series, Xtand Yt.

The wavelet cross correlation ofXt, Ytat scale λj=2j-1for a time lag τ, is defined as
ρXY,τ(λj)=Cov {W¯j,tXW¯j,tY}σX(λj)σY(λj)=γXY,τ(λj)σX(λj)σY(λj)where W¯j,tX and W¯j,tY are
scale λjMODWT coefficients. Correlation is the cross-correlation at lag τ = 0.
The orthonormal matrix, N × N,leads to scale-based decompositions. Given the MODWT coefficients, Ycan be constructed as an additive decomposition, known as a multiresolution analysis (MRA).

Specifically the level J0MODWT-based MRA is given byY=j=1J0d¯j+s¯j0, d¯jare the “detail series”, ( j= 1, 2, . . ., J0)

for a pre- specified J0, and are part of the MRA of Ythat can be attributed to variations on a scale of λj..

Table 2.

Summary of the wavelet mathematics and rationale.

where σX2(λj)=var{W¯j,tX}is the wavelet variance with scaleλj. W¯j,tXand W¯j,tYare the scale λjMODWT coefficients for Xtand Yt, respectively (Percival & Walden, 2000; Gencay et al., 2001). As with the usual correlation coefficient (between two random variables), the range of ρXY(λj)is the interval –1 to 1 for all j. The typical cross-correlation statistic is purely a function of the cross-covariance and standard deviations. Thereby the MODWT estimator of the wavelet cross-correlation (WCCORR) of the two processes, which are at variance by an integer lag τ, is defined as


As the usual cross-correlation is used to determine lead or lag relationships between two series, the wavelet cross-correlation provides a lead or lag relationship between Xtand Yton a scale-by-scale basis. In terms of confidence intervals (CIs) for the WCORR and WCCORR parameters, a nonlinear transformation is required to produce reasonable CIs for the correlation coefficient (Gencay et al., 2001). We use the Fisher’s z-transformation (Dépué 2003) which is defined as follows,


An unbiased estimator of the WCORR based on the MODWT in Equation (7) isρ˜. The given estimated correlation coefficientρ˜, based on Nindependent Gaussian observations, has the following limiting distribution (Percival & Walden, 2000; Gencay et al., 2001).


Applying the transformation tanh maps the confidence interval back to [−1,1] to produce an approximate 95% CI for ρas follows (Whitcher et al. 2000; Gencay et al. 2001; Hudson et al., 2010 b)


The quantity N^jin Equation (11) is the number of the DWT coefficients associated with scaleλj. Table 2 gives a brief overview of the wavelet mathematics used in this chapter.

3. Application to Agitation Sedation (A-S) wavelet modelling

This section presents the application of a wavelets analysis of the agitation-sedation (A-S) data of 37 ICU patients’ bivariate time series, sourced from the research of Chase et al. (2004). An extensive description of A-S modelling, as well as other references on A-S control; along with details of the development and validation of the A-S model are given in Chase et al. (2004). The model by Chase et al. (2004) serves as a platform to develop and test semi-automated sedation management controllers that offer the potential of improved agitation management and reduced length of stay in the ICU. Figure 3 presents a diagram of the feedback loop employing nursing staff feedback of subjectively assessed patient agitation through the infusion controller (Chase et al., 2004). We refer the reader also to the later works of Lee et al. (2005) and of Rudge et al. (2005, 2006a, 2006b) who developed further A-S models and metrics. Table 3 summarises the equations used, mathematical methods employed and the aims of the given study, along with the performance indicators derived for each of Chase et al. (2004), Rudge et al. (2006a, 2006b, 2005), and Lee et al. (2005). As such Table 3 and subsequently Table 8 show how the research presented in this chapter adds knowledge and insight into A-S modelling in the context of these earlier works.

3.1. Using the DWT and MODWT

The DWT, the maximal overlap (MODWT) and multiresolution analysis (MRA) were applied to all pairs of patient specific infusion profiles (recorded (R) and simulated (S)) for the 37 ICU patients. The aim of the analysis reported in section 3.1 – 3.3 is to investigate

Figure 3.

Diagram of the feedback loop employing nursing staff feedback of subjectively assessed patient agitation through the infusion controller (diagram is sourced fromChase et al. (2004)).

whether wavelets based diagnostics can reliably assess how well the A-S model (simulation) captures the underlying dynamics of the true recorded infusion rates at different horizons via the DWT; and to compare these results with the diagnostics of Chase et al. (2004), Rudge et al. (2006a, 2006b, 2005) and Lee et al. (2005). For illustration of these concepts patient specific recorded (R) and simulated ( S) profiles (as the thick line, according to the equation of Chase et al. (2004)) are shown in Figure 4. It is noteworthy that simulation of the A-S states using the model of Rudge et al. (2005) showed that a reduction in both the magnitude of agitation and the severity of agitation sedation cycling is possible. Mean and peak agitation levels were reduced by 68.4% and 52.9%, respectively, on average, with some patients exhibiting in excess of a 90% reduction in mean agitation level through increased control gains. Implementation of automated feedback infusion controllers based on such models could thus offer simple and effective drug delivery, without significant increases in drug consumption and expenses.

The lag/lead relationship between the S and R infusion series was investigated on a scale-by-scale basis via a MODWT-MRA (using the LaDaub (8) filter); thereby each patient’s S and R series can be expressed as a new set of series, called details and smooth. Each of these series are associated with variations at a particular wavelet scale. The results of a MODWT-MRA (not detailed here due to space restrictions) reveal that thirteen patients (patients 3, 9, 11, 17, 20, 22, 26, 30, 33, 34, 35, 36, 37) (Figure 4) have recorded infusion series that lead their corresponding simulated infusion series. It is noteworthy that of these 13 patients, which exhibit such a lagged dependency, our DWT wavelet diagnostics (and those of Chase et al., (2004) and Rudge et al., (2006b)) identify the following as poor performers in common (Patients 9, 11, 17, 22, 33, 34 and 35). Overall it is thought that the simulated profile peaks later than the patient’s recorded infusion possibly due to the delay in distribution time for the drug. This result implies that, while performing well most of the time, the simulated rate is lagging behind the patient’s true infusion rate. These periods indicate times of the patient’s hospital length of stay in ICU, where the DE model may not capture the subject’s specific A-S dynamics (evidenced by the time lags). These periods may correspond to periods of marked distress or physiological alterations due to the patient’s state. A common reason for the departure of the simulated profile is this apparent time-lag. Particularly small departures indicate rapid increases (or decreases) in the recorded infusion rate, where the simulated infusion rate appears to lag behind. These differences may be a result of the medical staff’s over or under-assessment of the patient’s agitation status, this hypothesis is as yet not proven.

3.2. Wavelet correlation and other diagnostics

In section 3.2 an estimate of wavelet correlation (WCORR), ρ˜from Equation (7), is derived per patient. This WCORR between the scale λjwavelet coefficients of each patient’s bivariate (S, R) time series is used to assess how the simulated (S) and recorded (R) infusion series correlate. Graphical assessment tools and derived wavelet-based metrics are then suggested and proven valid for ICU A-S management. The wavelets based performance indices developed in this chapter pertain to the modulus of the wavelet correlation at wavelet scale (λj) (level 1) and also to summary statistics founded on measures of the wavelet correlations and wavelet cross-correlations over scales, as defined below (Table 6). For the ith patient (i=1, 2, …, 37) count the number of its wavelet scales (out of a maximum of 8) for which the WCORR value at scale λjis not significant (at the 5% level of significance). This variable is denoted by “Count of NS” and given per patient, with specification of the significance (at the 5% level of significance) of WCORR at λj(j=1, 2, …, 8) as either significant (S) or not significant (NS) in Table 4. Patient specific AND (average normalized density), RAND (relative average normalized density), and TI (tracking index) values, all derived by Rudge et al (2006b) and Chase et al. (2004), are also shown in Table 4. Definitions for the AND, RAND and TI performance indicators or diagnostics are detailed in Table 3.

Figure 4.

Example of the delay between the recorded and simulated (thick line) infusion profiles for Patients 8, 9, 34 and 35 (denoted by P8, P9, P34 and P35). P8 is shown to be a good tracker, the remainder are poor trackers, according to the indices developed in this chapter.

Table 3.

Overview of Agitation-Sedation studies of ICU patients.

Poor trackers are identified via wavelet diagnostics as follows: Patients with a “Count of NS” greater or equal to 2 and a non-significant WCORR value at scale λ1(level 1) are said to be a poor tracker; as are patients with a “Count of NS” less or equal to 3 and a significant negativeWCORR value at scale λ1(level 1) and a significant negativeWCORR value at scaleλ6. Table 4 indicates 15 such poor trackers (given in bold), as defined by the wavelet based diagnostics (“Count of NS” and WCORR at scales λ1 andλ6) derived in this chapter. Poor tracking implies that the patient’s simulated A-S profiles do not mirror their actual (recorded) infusion profile over time (according to their profile of wavelet correlations).

Note that the threshold values delineating poor tracking for AND and RAND (according to Rudge et al. (2006b)) are not taken into account in classifying a patient as either a poor or good tracker (Table 4). In this chapter our criterion for tracking classification is based solely on the patient’s WCORR values at scales λj(j=1, 2, …, 8), their significance or otherwise, and on their “Count of NS” wavelet correlations (Table 4). As mentioned above Table 4 also indicates patients which are considered to track poorly according to both Rudge et al’s (2006b) and Chase et al.’s (2004) diagnostics, the latter are based on completely different mathematical methodologies as summarised in Table 3. It is noteworthy that 11 of our 15 wavelet based poor trackers are also considered to be poor trackers by either or both of Rudge et al.’s (2006b) and Chase et al.’s (2004) performance indices.

Figure 5 shows the estimated WCORR, ρ˜and 95% CI for four patients, P2 and P4 (are poor trackers) and P8 and P14 (are good trackers). From Figure 5 WCORR is generally significant for wavelet levels 1, 2, 4, 8 and 16 for the good trackers (whether they are a positive or negative WCORR value). This is not the case for the poor trackers, who generally exhibit a non-significant WCORR at λjfor j< 5. Figures 6 and 7 display each patient’s multivariate profile of AND, RAND and “Count of NS” (divided by 10 for axis scaling purposes), for increasing|λ1|,for the poor trackers and good trackers, respectively. Figures 6-7 clearly show that the profile of (“Count of NS”/10) is invariably higher for the poor trackers; and RAND, AND and |λ1|profiles are invariably higher for the good trackers.

By using the data per patient (from Table 4), we can perform a Kruskal Wallis test to statistically compare the medians of the performance indicators between the wavelet based good and poor trackers. These results are summarized in Table 5 and Table 6. Specifically Table 6 gives the results of the Kruskal Wallis (k-w) tests for our wavelet based poor versus good tracker groups for measures of WCORR at scale λj(j=1, 2, …, 8), “Count of NS”, |λ1|, in addition to AND, RAND and TI per patient. From Table 6 we observe that the median wavelet correlations for the first 5 wavelet scales are significantly lower for the poor trackers (15 of 37 patients), as are the median absolute value of the wavelet correlation atλ1, and of AND, RAND and TI (P < 0.006). The median of the number of non significant wavelet correlations (“Count of NS”) (an integer out of 8, atλj, j=1, 2,…, 8) is 5.0 for the poor trackers, significantly higher than the median of 2.0 for the good tracking group (P = 0.001) (Table 6). It is noteworthy also that the patient specific WCORR profiles are good visual “signatures” of the patient’s tracking status (good or poor tracking) (see Figure 5).

Recall that 11 of the 15 DWT based poor trackers are also considered to be poor trackers by either or both Rudge et al.’s (2006b) and Chase et al.’s (2004) (non wavelet based) performance indicators. Indeed kappa tests of agreement show that our DWT WCORR criterion for poor tracking, as developed in this chapter, agrees significantly with that of the performance thresholds of Chase et al (2004) (kappa= 0.2127, P=0.01) and with that of Rudge et al. (2006b) (kappa= 0.5856, P=0.001). It is noteworthy also that the threshold criterion for poor tracking for RAND by both Rudge et al.’s (2006b) and Chase et al.’s (2004) performance indicators is corroborated by our poor trackers, identified by the wavelet metrics derived in this chapter, shown to have a median RAND of 0.50 (Table 6), which is exactly the threshold used by Rudge et al. (2006b) and Chase et al. (2004).

Figure 5.

Wavelet correlation for Patient 2 (Top LHS), Patient 4 (Top RHS), Patient 8 (bottom LHS) and Patient 14 (bottom RHS) with the approximate 95% confidence interval. Patients 2 and 4 are poor trackers in contrast to Patients 8 and 14 who are good trackers with >4 significant WCORR at wavelet scales (1, 2, 4, 8, 16).

Figure 6.

A comparison of RAND (green square), AND (burgundy triangle), the number of non-significantλj(divided by 10) (pink square), and the modulus of λ1 (blue diamond) for the poor trackers (P11, P2,…, P29) sorted by increasing|λ1|.

Figure 7.

A comparison of RAND (green square), AND (burgundy triangle), the number of non- significantλj(divided by 10) (pink square ), and the modulus of λ1 (blue diamond) for the good trackers (P31, P30,..., P3) sorted by increasing|λ1|.

Patient IDWavelet scaleλj(j= 1, 2, …, 8)Count of NS*Rudge et al. (2006b) diagnosticsChase et al. (2004) diagnostics
1248163264128ANDRANDTI (SE)
P1SSSSSNSNSS20.510.6287.0 (0.041)
P2NSNSNSNSNSNSNSS70.530.6686.2 (0.037)
P3SSSSSSN.SS10.700.8388.8 (0.015)
P4NSNSNSNSNSNSNSS70.560.6280.1 (0.095)
P5SSNSNSNSNSNSS50.600.8091.1 (0.016)
P6SSSSSNSNSS20.700.8487.0 (0.014)
P7SSNSNSNSNSNSS50.330.4384.5 (0.068)
P8SSSSSNSNSS20.450.5987.4 (0.027)
P9NSNSNSNSNSNSNSS70.490.6287.3 (0.024)
P10SSSNSNSSNSS30.270.3483.4 (0.041)
P11NSNSNSNSNSNSNSS70.310.3883.7 (0.080)
P12SSSSSSNSS10.610.7784.1 (0.033)
P13SSSSSNSNSS20.370.4586.1 (0.072)
P14SSSNSSNSNSS30.480.5693.1 (0.034)
P15SSSNSNSNSNSS40.450.6091.1 (0.011)
P16SSSSSNSNSS20.440.5787.9 (0.021)
P17SSSSSNSNSS20.610.7284.0 (0.037)
P18SSSSNSSNSS20.550.6894.6 (0.026)
P19SSSSSNSNSS20.500.6691.1 (0.014)
P20SSSNSNSNSNSS40.530.6587.3 (0.033)
P21NSNSNSNSNSNSNSS70.530.7278.5 (0.095)
P22SSNSNSNSNSNSS50.350.4585.2 (0.043)
P23SSSSNSNSNSS30.720.8584.8 (0.105)
P24SSSSSNSNSS20.430.5488.1 (0.023)
P25SSSSSNSNSS20.500.6692.4 (0.025)
P26SSSNSNSNSNSS40.680.8887.4 (0.031)
P27SSSSNSSSS10.390.4974.9 (0.074)
P28SSSSNSSNSS20.340.4489.2 (0.027)
P29SSSSSSNSS10.380.4577.6 (0.083)
P30NSNSNSNSNSNSSS60.630.8292.2 (0.021)
P31SSNSNSNSNSNSS50.400.5189.3 (0.030)
P32SSNSNSNSSNSS40.380.5089.3 (0.022)
P33SSSNSNSSNSS30.280.3688.7 (0.020)
P34NSNSNSNSNSSNSS60.430.5586.5 (0.034)
P35SSSSSSNSS10.380.4685.9 (0.044)
P36SSNSNSNSNSNSS50.520.6486.4 (0.095)
P37SSSSSNSNSS20.530.5979.9 (0.093)

Table 4.

Wavelet correlation analysis of the 37 ICU patients. S-significant, NS-non-significant WCORR at given scale λj(j= 1, 2, …, 8). Bolded patients indicate poor trackers according to the WCORR and “Count NS” values. Patient 30 has NS=6, which is large, but their high AND=0.63, RAND=0.82, and TI=92.2% are indicative of good tracking.

Poor Patient IDWavelet Correlations (scaleλj)Rudge et al. (2006b) diagnosticsChase et al. (2004) diagnostics
P20.0050.0050.0050.005-0.008-0.186-0.0340.6490.530.6686.2 (0.03)
P40.0060.0060.0050.0050.036-0.0770.0230.7240.560.6280.1 (0.09)
P7-0.081-0.081-0.081-0.081-0.037-0.0660.0340.7850.330.4384.5 (0.06)
P9-0.020-0.021-0.021-0.0210.012-0.0660.0120.7930.490.6287.3 (0.02)
P100.0510.0510.0510.0510.052-0.125-0.0400.5910.270.3483.4 (0.04)
P11-0.001-0.001-0.001-0.0010.0190.0930.0020.6540.310.3883.7 (0.08)
P210.0160.0170.0170.0170.026-0.148-0.0310.7790.530.7278.5 (0.09)
P22-0.051-0.051-0.051-0.051-0.027-0.115-0.0520.7390.350.4585.2 (0.04)
P27-0.108-0.108-0.108-0.108-0.088-0.227-0.2010.6600.390.4974.9 (0.07)
P28-0.100-0.101-0.101-0.101-0.090-0.200-0.1570.6280.340.4489.2 (0.02)
P29-0.616-0.616-0.616-0.616-0.582-0.497-0.2940.6270.380.4577.6 (0.08)
P320.0320.0340.0350.0350.042-0.139-0.0610.7320.380.5089.3 (0.02)
P330.0460.0460.0460.0460.049-0.127-0.0120.6910.280.3688.7 (0.02)
P34-0.019-0.019-0.019-0.019-0.029-0.213-0.1310.6760.430.5586.5 (0.03)
P35-0.172-0.172-0.172-0.172-0.139-0.155-0.1660.5760.380.4685.9 (0.04)
Poor Median-0.019-0.019-0.019-0.019-0.008-0.1390.0400.6760.3900.50085.2
(81.333, 87.001)
Good Pt ID
P1-0.112-0.134-0.134-0.134-0.107-0.101-0.1150.6620.510.6287.0 (0.04)
P3-0.503-0.504-0.504-0.504-0.439-0.221-0.2420.6750.700.8388.8 (0.02)
P50.0740.0730.0730.0730.078-0.118-0.0040.7070.600.8091.1 (0.02)
P6-0.202-0.202-0.202-0.202-0.155-0.090-0.1670.6660.700.8487.0 (0.01)
P80.2080.2060.2060.2060.211-0.0290.0810.7830.450.5987.4 (0.03)
P12-0.359-0.359-0.359-0.359-0.316-0.264-0.1790.6450.610.7784.1 (0.03)
P130.2580.2580.2580.2580.2570.0070.1070.7680.370.4586.1 (0.07)
P14-0.378-0.379-0.380-0.380-0.301-0.074-0.0030.7850.480.5693.1 (0.03)
P150.0860.0920.0930.0930.084-0.149-0.039-0.6970.450.6091.1 (0.01)
P160.1680.1690.1690.1690.173-0.0670.0350.7580.440.5787.9 (0.02)
P17-0.122-0.122-0.122-0.122-0.0690.131-0.1610.6040.610.7284.0 (0.04)
P18-0.134-0.134-0.134-0.134-0.130-0.243-0.2110.6280.550.6894.6 (0.03)
P190.2720.2730.2730.2730.2770.0660.1950.7260.500.6691.1 (0.01)
P200.0570.0570.0570.0570.057-0.106-0.0510.6130.530.6587.3 (0.03)
P230.1490.1490.1490.1490.164-0.0190.0990.7290.720.8584.8 (0.11)
P240.2310.2320.2320.2320.232-0.0070.1570.7930.430.5488.1 (0.02)
P25-0.211-0.214-0.214-0.214-0.188-0.218-0.1850.5610.500.6692.4 (0.03)
P26-0.122-0.123-0.123-0.123-0.0730.057-0.0110.5790.680.8887.4 (0.03)
P30-0.045-0.044-0.044-0.044-0.049-0.208-0.1500.6470.630.8292.2 (0.02)
P310.0400.0400.0400.0400.047-0.1080.0240.7010.400.5189.3 (0.03)
P360.0810.0810.0810.0810.055-0.172-0.1040.6770.520.6486.4 (0.10)
P370.2720.2730.2730.2730.2730.0660.1950.7260.530.5979.9 (0.09)
Good Median0.0490.0490.04850.04850.051-0.096-0.0250.6760.5250.65587.7
(0.015,0.036)(0.065,-0.726)(0.479, 0.610)(0.590, 0.771)(86.984, 91.100)
Kruskal Wallis
P value
(Poor vs Good)

Table 5.

Kruskal Wallis test on the wavelet correlation, and on Rudge et al.’s (2006b) and Chase et al.’s (2004) diagnostics – testing for differences between the DWT based poor versus good tracker groups.

VariablePoor group
Good group
k-w#: P value
Modulus WCORR atλ10.0460.1590.001
“Count of NS”520.001

Table 6.

K-W tests of all wavelet and other diagnostics by wavelet based tracking group.

3.3. Using the Wavelet Cross-Correlation (WCCORR)

We can investigate possible lead or lag relationships between a given patient’s modelled (simulated) versus observed (recorded) A-S profile by examining a plot of its MODWT based wavelet cross-correlation (WCCORR), according to Equation (8). Figure 8 shows this WCCORR plot for Patient 3 (P3: a good tracker) and Patient 4 (P4: a poor tracker). For Patient 3 the ρ˜values are negative and statistically significant for all scales except 8 (Table 7), and there is also a large positive peak at a lag of 120 minutes for the first six wavelet scales λj(j=1, 2, …, 6) (Figure 8). At scaleλ7; a large positive peak occurs at 112 minutes for Patient 3; and at scale λ8at a lag of 33 minutes. We conclude that at scale λ7there is a period of 170 minutes (see Figure 15) for Patient 3. Likewise an examination of Figure 8 shows an inverse shaped profile of peaks to troughs for Patient 4 (a poor tracker), with generally non-significant positive ρ˜values compared to Patient 3 (see also Table 7). It is noteworthy from Figure 8 that generally patients who are good trackers show a common type of WCCORR signature or pattern, with WCCORR being significant at zero lag (for all scales) and their 95% CI do not include zero (see Table 7), not so for the poor trackers.

Patient 3 (good tracker)
ScaleLevel 1Level 2Level 3Level 4Level 5Level 6Level 7Level 8
L. CI-0.528-0.539-0.554-0.573-0.544-0.398-0.4850.382
U. CI++-0.477-0.467-0.451-0.428-0.321-0.0270.0360.845
Patient 4 (poor tracker)
ScaleLevel 1Level 2Level 3Level 4Level 5Level 6Level 7Level 8
L. CI-0.034-0.050-0.074-0.107-0.123-0.297-0.2990.401
U. CI++0.0450.0610.0850.1170.1940.1510.3390.886

Table 7.

The signature of WCORR for the Patient 3 and Patient 4 at zero lag based WCCORR. The positive subscript (+) indicates significant WCCORR ρ˜values.

Recall that Table 7 gives the values (signatureover wavelet scales) of ρ˜and their associated 95% confidence limits (L.CI, U.CI) for Patient 3 and Patient 4 who are deemed, to be a good and poor tracker, respectively (as depicted by Figure 8). The main results of the work in this chapter are summarised in Table 8 and discussed in detail in the Conclusion (section 4).

Figure 8.

MODWT estimated wavelet Cross-Correlation between the simulated and recorded infusion series for lags up to ±144 minutes for Patient 3 (a good tracker) and Patient 4 (a poor tracker) with approximate 95% CI (red broken lines).

Table 8.

Overview of DWT and WCORR results.

4. Conclusion

DWT and MODWT-MRA decomposition and reconstruction are shown to provide clear and consistent, in regard to good or poor performance, “signatures” of, and values for the wavelet correlations and cross-correlations (at all dyadic scales) between an ICU patient’s bivariate time series, namely their simulated and their recorded A-S infusion profiles over time under sedation. A suite of wavelet techniques are advocated, based on the DWT, and applied successfully to assess whether an ICU patient’s mathematically simulated agitation-sedation (A-S) status reflects their true dynamic profile.

The wavelet correlation profiles of the good trackers are shown to be invariably significant at all scales (except at 32 and 64). Patients who exhibit poor tracking exhibit WCORR profiles which are invariably non significant at almost all wavelet scales, particularlyat λ1. Moreover, cross-correlation (WCCORR) signatures also show a common pattern for the good trackers, which is distinctly different to the pattern associated with poor tracking. It is also shown that the lead or lag relationship between a patient’s simulated and recorded agitation-sedation infusion series can be investigated on a scale by scale basis via the implementation of the MODWT-MRA. The MRA is shown to successfully indicate local features of interest in the simulated and recorded series, with the smooth MRA series offering a good visual summary of the overall long-term trends in a patient’s A-S status.

Fifteen poor trackers are identified by the DWT based diagnostics derived in this chapter. Specifically it is found that the modulus of WCORR at λ1, |λ1|, is invariably higher (and significantly so) for the good compared to the poor trackers. The profile of (“Count of NS”) across all patients is higher for the poor trackers; and the values of RAND, AND and |λj| invariably higher for the good trackers. Specifically the median absolute value of the wavelet correlation at λ1, and median value of AND, RAND and TI are highly significantly lower for the poor trackers (15 of 37 patients). The median of the number of non significant wavelet correlations (the “Count of NS” variable) is 5.0 for the poor trackers, significantly higher than the median of 2.0 for the good tracking group (P = 0.001). It is noteworthy that 11 of the 15 DWT based poor trackers are also found to be poor trackers by either or both of Rudge et al.’s (2006b) and Chase et al.’s (2004) (non wavelet based) performance indicators, showing significant agreement between the wavelet DWT and the earlier kernel based methods - with a kappa test of agreement between the WCORR criterion for poor tracking and Chase et al (2004) of 0.2127 (P=0.01); and with Rudge et al. (2006b) of 0.5856 (P=0.001).

Other recent work by Kang et al. (In Prep)has used Bayesian densities and wavelet shrinkage methods to create a novel wavelet probability band (WPB). A 90% value for the WPB implies that for at least 90% of the time, the estimated mean value of the patient’s recorded infusion rate lies within the band. A 90% WPB was constructed by Kang et al. (In Prep) for each of the 37 patient profiles, and the time and duration of any deviations from the wavelet probability band recorded for each patient. Likewise wavelet analogues of the AND and RAND diagnostics of Rudge et al. (2006a; 2006b), namely the average normalized wavelet density (ANWD) and the relative average normalized wavelet density (RANWD) have been derived by Kang et al. (In Prep); as has a Wavelet Time Coverage Index (WTCI) – all by using Bayesian wavelet thresholding. The resultant WTCI and 90% WPB provide very strong support for the DWT wavelet diagnostics derived in this chapter. Indeed of the 15 DWT based poor trackers identified in this chapter, 10 also exhibit a low WPB (WPB 90% < 70%) and a low wavelet density based RANWD measure (RANWD0.5) and are likewise deemed to be poor trackers according to these recent wavelet regression methods of Kang et al. (In Prep). Statistically speaking the wavelet probability band and wavelet density diagnostics mirror the poor versus good classification of this chapter’s WCORR DWT based diagnostics (kappa = 0.7701, P = 0.0001). The main reason for the reduced total time within the WPB (and for the non significant WCORRs) for this minority group of 10 (or 15) poor trackers (of a total of 37 patients), is the consistently poor performance of the DE model throughout their totallength of the A-S simulation.

The work in this chapter provides a suite of new wavelet based diagnostics by which to achieve statistical model validation of the A-S models. The DWT, wavelet correlation and cross-correlation measures derived in this chapter are proved to be valid for assessing control, and mirror earlier validation measures; as do the more recent wavelet regression diagnostics (namely WTCI, ANWD, RANWD, and WPB 90%) of Kang et al. (In Prep). Wavelets are shown to visually and quantitatively discriminate patients for whom the A-S model captures their fundamental A-S dynamics, versus those, for whom this is not so. Wavelet WCORR and WCCORR signatures thus form a possibly alternative and appropriate feedback mechanism for comparison of improved sedation administration controllers and gain. The wavelets based visual tools and quantitative measures thus contribute to the task of improving and of refining A-S models. This chapter thus demonstrates that wavelets provide a new diagnostic tool by which to assess the agitation-sedation of ICU patients, and show that it is possible to evaluate A-S models via wavelet diagnostics for accurate evaluation of A-S management, where the latter represents a trade-off between the benefits of low patient agitation versus the cost of high infusion rates and increased total dose requirements (Rudge et al., 2003; 2005; 2006a; 2006b). Wavelets are thus suitable for clinical implementation in ICU agitation and sedation control.

Overall the various wavelet diagnostics strongly agree and confirm the value of A-S modelling in ICU. Wavelet DWT analysis also demonstrates that the models of the A-S studies of Chase et al., (2004), Rudge et al., (2005; 2006a; 2000b) and of Lee et al., (2005), are suitable for developing more advanced optimal infusion controllers. These offer significant clinical potential of improved agitation management and reduced length of stay in critical care. The use of quantitative modelling to enhance understanding of the A-S system and the provision of an A-S simulation platform are critical tools in this area of patient critical care.

The DWT approach gives robust performance metrics of A-S control and also yields excellent visual assessment tools - generalisable to any study which investigates the similarity or closeness between any bivariate time series of, say, a large number of units (patients, households etc) and of disparate lengths and possibly of extremely long length.

© 2011 The Author(s). Licensee IntechOpen. This chapter is distributed under the terms of the Creative Commons Attribution-NonCommercial-ShareAlike-3.0 License, which permits use, distribution and reproduction for non-commercial purposes, provided the original is properly cited and derivative works building on this content are distributed under the same license.

How to cite and reference

Link to this chapter Copy to clipboard

Cite this chapter Copy to clipboard

In Kang, Irene Hudson, Andrew Rudge and J. Geoffrey Chase (September 12th 2011). Wavelet Signatures and Diagnostics for the Assessment of ICU Agitation-Sedation Protocols, Discrete Wavelet Transforms - Biomedical Applications, Hannu Olkkonen, IntechOpen, DOI: 10.5772/20547. Available from:

chapter statistics

1311total chapter downloads

More statistics for editors and authors

Login to your personal dashboard for more detailed statistics on your publications.

Access personal reporting

Related Content

This Book

Next chapter

Application of Discrete Wavelet Transform for Differential Protection of Power Transformers

By Mario Orlando Oliveira and Arturo Suman Bretas

Related Book

First chapter

Discrete Wavelet Multitone Modulation for ADSL & Equalization Techniques

By Sobia Baig, Fasih-ud-Din Farrukh and M. Junaid Mughal

We are IntechOpen, the world's leading publisher of Open Access books. Built by scientists, for scientists. Our readership spans scientists, professors, researchers, librarians, and students, as well as business professionals. We share our knowledge and peer-reveiwed research papers with libraries, scientific and engineering societies, and also work with corporate R&D departments and government entities.

More About Us