## 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

where Z is the set of all integers and the factor
*j*. The entire set of wavelets
*j* and translation index *k*. Higher *j* corresponds to lower frequency wavelets, and higher *k* corresponds 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 *N* of 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

where the two-dimensional set of coefficients

Let *X*
_{
t
} be a dyadic length column vector containing a sequence
*N*=2^{
J
} observations of a real-valued time series. The length *N* vector of discrete wavelet coefficients *W* is obtained via *W*= *X*, where is an *N* × *N* orthonormal matrix defining the DWT. The vector of wavelet coefficients may be organised into *J +* 1 vectors,

where *W*
_{
j
} is a length *N/*
*V*
_{
J
} is a length *N/*2^{
J
} vector 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* × *N* dimensional matrix
_{1}, …,
_{
J
} and V_{
J
} (scaling coefficient matrix) via

Let us now consider implementation of the DWT by using a pyramid algorithm (PA) (Mallat, 1989). Let *h* = (*h*
_{
0
},..., *h*
_{
L-1
}) be the vector of wavelet (high-pass) filter coefficients and *g* = (*g*
_{
0
},..., 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 *X*
_{
t
} is given by Figure 1 and Figure 2. These depict the analysis of
_{1}, W_{2} and V_{2} using the pyramid algorithm (PA). The synthesis of
_{1}, W_{2} and V_{2} use the inverse of the PA (Figure 2).

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
*N* satisfy,
*J* and replace this restriction with the condition that *N* can be an integer multiple of

### 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).

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 *N* vector of discrete wavelet coefficients *W* is obtained via *W* = W*X* and
*N* × *N* orthonormal matrix defining the DWT, *W*
_{
j
} is a length *N/*
*V*
_{
J
} is a length *N/*2^{
J
} vector scaling coefficients associated with averages on a scale of length 2^{
J
} = 2λ_{
J
} in Section 2.1. Due to orthonormality, *X* = W^{T}
*W,* and the squared wavelet coefficients of *W* the norm,

Let

where
*λ*
_{
j
} MODWT coefficients for
*X*
_{
t
} to *Y*
_{
t
},
*X*
_{
t
} or *Y*
_{
t
} denoted by
*X*
_{
t
}, *Y*
_{
t
} ) at scale *λ*
_{
j
}=2^{
j-1} is then defined as follows,

where
*X*
_{
t
} and *Y*
_{
t
}, respectively (Percival & Walden, 2000; Gencay et al., 2001). As with the usual correlation coefficient (between two random variables), the range of
*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 *X*
_{
t
} and *Y*
_{
t
} on 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
*N* independent 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

## 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

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),
*λ*
_{
j
} wavelet 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 *i*th 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
*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.

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
*significant negative* WCORR value at scale
*significant negative* WCORR value at scale
_{1} and

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*=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,
*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

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*=1, 2, …, 8), “Count of NS”,
*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).

### 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
*j*=1, 2, …, 6) (Figure 8). At scale

Recall that Table 7 gives the values (*signature* over wavelet scales) of

## 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, *particularly* at *λ*
_{
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 (RANWD
*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 *total* length 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.