Open access peer-reviewed chapter

Modelling Agitation-Sedation (A-S) in ICU: An Empirical Transition and Time to Event Analysis of Poor and Good Tracking between Nurses Scores and Automated A-S Measures

Written By

Irene Hudson

Submitted: 28 March 2022 Reviewed: 19 May 2022 Published: 02 July 2022

DOI: 10.5772/intechopen.105480

From the Edited Volume

Recent Advances in Medical Statistics

Edited by Cruz Vargas-De-León

Chapter metrics overview

101 Chapter Downloads

View Full Metrics

Abstract

Sedation in the intensive care unit (ICU) is challenging, as both over- and under-sedation are detrimental. Optimal sedation and analgesic strategies, are a challenge in ICU and nurses play a major role in assessing a patient’s agitation levels. Assessing the severity of agitation is a difficult clinical problem as variability related to drug metabolism for each patient. Multi-state models provide a framework for modelling complex event histories. Quantities of interest are mainly the transition probabilities e.g. between states, that can be estimated by the empirical transition matrix (ETM). Such multi-state models have had wide applications for modelling complex courses of a disease. In this chapter the ETM of multi-state and counting process (survival analytic) models which use the times for ICU patients to transition to varying states of violations (a violation being a carer’s agitation rating outside so-called wavelet-probability bands (WPB)) confirm the utility of defining so-called trackers and non-trackers according to WPB-based control limits and rules. ETM and multi-state modelling demonstrate that these control-limit scoring approaches are suitable for developing more advanced optimal infusion controllers and coding of nurses A-S scores. These offer significant clinical potential of improved agitation management and reduced length of stay in critical care.

Keywords

  • agitation-sedation (A-S) control
  • nurses scores
  • empirical transition matrix (ETM)
  • transition states
  • wavelet probability band (WPB)

1. Introduction

Pain management is increasingly recognised as a formal medical subspecialty worldwide [1]. Optimal sedation and analgesic strategies, combined with delirium management, are a challenge when caring for critically ill patients. Sedation in ICU aims to provide patient pain reflief, comfort and safety. For sedation monitoring, the most extensively used tools are RASS (Richmond Agitation and Sedation Scale) [2] and SAS (Sedation Agitation Scale) [3]. Despite extensive improvements in analgesia medication there are still barriers to nurses’ assessment, management, documentation, and reassessment of pain [4, 5, 6].

Pain is the most common reason that patients come to the emergency department. Emergency nurses have an indispensable role in the management of this pain [7, 8]. Sedation in the intensive care unit (ICU) is challenging, as both over- and under-sedation are detrimental. Current methods of assessment, such as the Richmond Agitation Sedation Scale (RASS), are measured intermittently and invariable depend on patients’ behavioural response to stimulation, as such may interrupt sleep and rest. A non-stimulating method for continuous sedation monitoring may be beneficial and allow more frequent assessment., noting that appropriate sedation cycling has to accommodate patients’ oscillations between states of agitation and over-sedation, which are detrimental to patient health and increases hospital length of stay [9, 10, 11, 12, 13, 14].

As such there also have been recent studies exploring the impact of augmenting sedation assessment with physiologic monitors [15] and studying the correlation between observational scales of sedation and bispectral index scores [16]. Recently the feasibility of continuous sedation monitoring of ICU patients using the NeuroSENSE was studied and suggested that such a non-stimulating method for continuous sedation monitoring may benefit patient care and allow increased A-S assessment [17]. The authors advocated use of incorporating some degree of automation into sedative drug administration, e.g. closed-loop control based on feedback from a processed EEG monitor, and various studies have suggested the limitations of RASS as a stand-alone measure of sedation levels, and pointed to benefit of adjunct continuous e.g., brain monitoring [17].

Earlier, Rudge, Chase, Shaw, Lee [12] discussed target controlled infusion (TCI) systems to deliver drugs to maintain target plasma concentrations, using a pharmacokinetic model, shown to be feasible when anaesthesia is given over short periods of reduced consciousness and well-known pharmacology is invoked. Infusion systems that regulate the infusion rate to maintain target agitation levels, to regulate the primary metric for longterm sedation, are one approach to improving care in the ICU. The data analysed in this chapter pertains to the scenario and data type studied earlier by [9, 10, 11, 12, 13, 14].

Assessing the severity of agitation is a challenging clinical problem as variability related to drug metabolism for each individual is often subjective. A multitude of previous studies suggest that the assessment accuracy of the sedation quality conducted by nurses tend to suffer from subjectivity and lead to sub-optimal sedation [14, 15, 18]. For example, [19] strongly recommend lighter than deeper levels of sedations. Moreover, [20, 21] argue that sedation should be reviewed and adjusted regularly. Whilst agitation management methods frequently rely on subjective agitation assessment [2, 3] the carers then select an appropriate infusion rate based upon their evaluation of these scales, experience, and intuition [21]. This approach usually leads to largely continuous infusions which lack a bolus-focused approach, commonly resulting in over or under-sedation. The work of [11, 12, 13] aimed to enhance feedback protocols for medical decision support systems and eventually automated sedation administration. A minimal differential equation model to predict or simulate each patient’s agitation-sedation status over time was presented in [12] for 37 ICU patients and was shown to capture patient A-S dynamics. The use of quantitative modelling to enhance understanding of the agitation-sedation (A-S) system and provision of an A-S simulation platform are one of the key tools in this area of patient critical care. A more refined A-S model, which utilised regression with an Epanechnikov kernel was formulated by [12]. A Bayesian approach using densities and wavelet shrinkage methods was later suggested by [9] to assess a previously derived deterministic, parametric A-S model [10, 11, 12, 13, 14], thus successfully challenging the practice of sedating ICU patients using continuous infusions. Wavelets approaches [9, 10] were shown to provide reliable diagnostics and visualisation tools to assess A-S models, giving alternative metrics of A-S control to assess validity of the earlier A-S deterministic models (Table 1 in [10]).

V1V2V3Total V’sTime in ICUWPB%
P18/Good22426206493.8%
P28/Poor151211420350.8%

Table 1.

Time to the patient-specific 1st violation V1, second violation V2 and third violation V3, total number of violations, total ICU time and WPB% values.

This suite of wavelet metrics based on the discrete wavelet transform (DWT) were able to establish the value of earlier deterministic agitation-sedation (A-S) models against empirical (recorded) dynamic A-S infusion profiles, providing robust performance metrics of A-S control and excellent tools, as based on the classification of patients into poor and good trackers based on Wavelet Probability Bands (WPBs). Importantly, the WPBs were shown as a useful patient-specific method by which to identify and detect regions in the patient’s A-S profile i.e., times whilst in ICU, where the simulated infusion rate performs poorly, thus providing visual and quantified ways to help improve and distil the deterministic A-S model and in practice be a guage to alert carers.

In this chapter Empirical Transition Matrix (ETM) approach of multi-state counting process (survival analytic) models of Allignol and coauthors [22, 23], aligned with the counting process/event history work in [24, 25, 26], which use the times patients transition to varying states of violations (a violation being an A-S measure outside the 90% WPB bands), confirm the utility of defining trackers and non-trackers according to these control limits and wavelet diagnostic rules of Kang et al., [9, 10]. In this chapter ETM and multi-state modelling are found to be valuable for developing advanced optimal infusion controllers and also to assist coding of nurses A-S scores, which potentially offer significant clinical potential of improved agitation management and reduced length of stay, as an augmented approach to also using RASS and SAS. Establishing patient-specific thresholds of poor A-S management and control has significant implications for the effective administration of sedatives, as improved management of A-S states will allow clinicians to improve the efficacy of care and reduce healthcare costs [27, 28, 29].

Advertisement

2. Data and methods

This chapter models the agitation-sedation profiles of Agitation and Sedation (A-S) profiles of 37 patients were collected at the Christchurch Hospital, Christchurch School of Medicine and Health Sciences, NZ. Two measures were recorded for each patient: (1) the nurses’ ratings of a patient’s agitation level and (2) an automated sedation dose (see Figure 1). Infusion data were recorded using an electronic drug infusion device for all admitted ICU patients during a nine-month observation period and required more than 24 hours of sedation. Infusion data containing less than 48 hours of continuous data, or data from patients whose sedation requirements were extreme, such as those with severe head injuries, were excluded [9, 10]. A total of 37 ICU patients met these requirements and were enrolled in the study. Classification of patients into poor and good trackers, as based on the Wavelet Probability Bands (WPB) are given in Table 2. The so-called good tracker delineates the scenario where the nurse’s rating scores remains within the (time based) 90% coverage of wavelet probability band (WPB) based on the simulated dose profiles [9, 10]. Poor tracking delineates the scenario where the nurses rating scores remain outside the (time based) 90% coverage of wavelet probability band (WPB) for a significant portion of time based on the simulated dose profiles [13, 14].

Figure 1.

Diagram of the feedback loop employing nursing staff’s feedback of subjectively assessed patient agitation through the infusion controller (diagram is sourced from Chase et al. [14]).

WPB [9]WCORR [10]Chase et al. [14]Rudge et al. [11]
22
44
6
7777
999
101010
111111
12
13
17
212121
222222
27272727
282828
2929
3232
333333
343434
3535
Total: N1 = 13Total: N2 = 15Total: N3 = 8Total: N4 = 10

Table 2.

Patient numbers of the poor trackers according to the criteria of 4 studies. Developed earlier in [11, 12, 13, 14]. Low WPB 90% indicates a poor tracker by Kang’s WPB diagnostics [9, 10].

By way of illustration we consider four patients from the pool of 37 patients.Tables 1 and 3 summarise each of these four patients’ WPB tracker status, time to first, second and third violation outside the WPB bands [9], their total number of violations over ICU stay and patient’s time in ICU, along with their specific WPB% value. Display of their line profiles of nurses’ rating of A-S in relation to drug infusion dose over time, for each of the 4 patients (P8, P27, P18, P28) are given in Figures 24.

V1V2V3Total V’sTime in ICUWPB%
P8/Good1234612887.5%
P27/Poor1458922543.7%

Table 3.

Time to the patient-specific 1st violation V1, second violation V2 and third violation V3, total number of violations, total ICU time and WPB% values.

Figure 2.

Line plot of nurses’ rating of patient agitation and the automated sedation dose for patient 8 (good tracker).

Figure 3.

Line plot of nurses’ rating of patient agitation and the automated sedation dose for patient 27 (good tracker).

Figure 4.

Line plot and WPB% band for patient 18 (LHS) and 28 (RHS, poor tracker).

The first patient (patient 8) in Table 3 is a good WPB tracker and the second a poor WPB tracker (patient 27), studied in depth in [28], for which upper tail thresholds of the nurses’ scores using copulas were established. We also refer the reader also to Hudson & Tursunalieva’s chapter in this book entitled “Copula thresholds and modelling Agitation-Sedation (A-S) in ICU: analysis of nurses scores of A-S and automated drug infusions by protocol” [27]. The corresponding WPB% values for patient 8 and patient 27 are 87.5% and 43.7%, respectively (Table 3). Overall, the minimum, median and maximum WPB% values for the 24 good trackers is (58.8%, 87.5%, 96.9%) and (47.3%, 64.8%, 77.3%) for the 13 poor trackers (Table 2). Noteworthy also is that the A-S time series of these two patients examined (P8 and P27) were of disparate lengths - patient eight had 10,561 time points and patient 27, 13,441 time points. The full 37 patients studied had a range of [3001–25,261] time points.

Patient 18 (good tracker) with a WPB% of 93.8% and patient 28 (poor tracker) with WPB% of 50.8% (Table 1) were studied in detail in [28], for which both upper and lower tails/thresholds of over or under-estimation of agitation levels by the nurses rating were established using copula dependence analytics [29], refer also to [27].

Patients vary according to their length of stay in ICU and consequently differ in their opportunity for violations to occur. The good trackers generally have shorter ICU time and thus less chance to exibit an increased total number of violations. An indication of how the strata (good versus poor tracker), the patient’s total number of violations and a patient’s time in ICU interact, can be visualied in Figure 5. The total number of WPB based violations is clearly greater for the poor trackers than for the good trackers, and it is the poor trackers that tend to have longer ICU times. Also from the scatterplot in Figure 5 there seems to be three approximate categories of patient ICU time: 50–64, 113–128 and 205–256. The majority of patients (28 (76%)) have ≤40 violations (RHS of Figure 5), 19 (51%) patients have an ICU time of ≤64 (Table 4).

Figure 5.

Total number of violations by WPB tracking status [9] and ICU time.

ICU category
WPB tracker012
Good1572
Poor445

Table 4.

Patient tracker status by ICU time: 0 = 50–64, 1 = 113–128, 2 = 205–256.

Accordingly, for ICU time categorised and coded as: 0 = [50,64], 1 = [113,128], and 2 = [205,256], the total violations profile according to tracking status, displayed in Figure 6, shows that the total number of violations is significantly higher for the poor trackers, particularly when ICU time > 205. Noteworthy, is that the majority of patients 28 (76%) have ≤40 violations (RHS of Figure 6), whereas 19 (51%) patients have an ICU time ≤ 64 (Table 4). Figure 7 displays the histogram of the number of violations where a violation is defined as a nurse’s A-S rating outside the patient’s WPB control band. We note that the majority of the time, in excess of >75% of the 370 violation counts are below a count of five violations (Figure 7).

Figure 6.

Total number of violations by 3 levels of ICU time (LHS) and boxplot of poor good tracker time to 3rd violation by ICU time: 0 = [50,64], 1 = [113,128], 2 = [205,256].

Figure 7.

Violation counts in bins across all patients.

For the state-space analysis described in Section 3 each patient’s total ICU time is broken into 10 bins, where each bin represents 10% of the patients’ total time in ICU; i.e., Bin 1: 0–10%, Bin 2: 11–20% etc. For the 37 patients, we thus have 370 bins, i.e. 370 counts of violations. The 10% interval approach is used due to the large variation in time in ICU between the WPB-based good versus poor strata [9] - noting that some poor trackers have times up to 256, whereas good trackers are mostly limited to 64–128. Given these bins, patients’ A-S states can then be defined in terms of the total number of violations or jumps outside the WPB bands that occur during each 10% interval of a patient’s total ICU time. The randon, outcome event of A-S status is then the number of violations that over time.

Advertisement

3. Empirical transition matrix state-space & commenges’ test approach

3.1 Mathematical formulation

Multi-state models are known to provide a relevant framework for modelling complex event histories. Quantities of interest are mainly the transition probabilities that can be estimated by the empirical transition matrix, that is also referred to as the Aalen-Johansen estimator [30, 31]. Such multi-state models have had a wide range of applications for modelling complex courses of a disease over the course of time and across applications in medical research (Beyersmann et al. [32], Munoz-Price et al. [33], Andersen & Keiding [34]). We now utilise the Empirical Transition Matrix (etm) approach to model multi-state models of [22] and derive inference tests for such models using the approach of Commenges [25, 35, 36] with a particular focus on Commenges’ test derived in earlier work [25].

Define patient states as follows, any state can transition into any other state (Figure 8).

Figure 8.

State-space system.

• State 1: 0 or 1 violations

• State 2: 2 or 3 violations

• State 3: > 3 violations

A number of different approaches (etm on ICU time, etm on bin time, and log-rank type tests as in Commenges [25], will be used to investigate the difference between good and poor trackers in terms of a devised a 3 state transition formulation as defined below. Differences between transition probabilities between states for the good and poor trackers will be evaluated using Commenges’ [25] chi square test.

The mathematics is well described in the work of Allignol [22], adapted to more complex scenarios in [23]; and in Commenges’ approach [25, 35, 36]. The mathematical formulation of the ETM state-space approach and Commenges’ test are given for general frameworks as follows.

Consider a stochastic process Xt with finite state space S=1K where sample paths are right-continuous, and the stochastic process is assumed to be time-inhomogeneous Markov. The transition hazard from state i to state j, ij is defined as

αijtdt=PXt+dt=jXt=i.

The cumulative hazard transitions are defined as,

Aijt=0tαijtdtAiit=jiAijt.

Define

Pijst=PXt=jXs=i,fori,jS,st

as the probability that an individual who is in state i at time s is in state j at time t.

The (K + 1)x(K + 1) probability transition matrix with elements Pijst can then be obtained from the transition hazards through product integration. Let Nijt be the number of observed direct transitions from state I to state j up to time t and let Yit be the number of individuals under observation in state I just before time t. The Nelson-Aalen estimator is used to estimate the non-diagonal elements of the matrix of cumulative hazards as follows,

Âijt=0tdNijuYiu,ij

and the diagonal elements Âiit are obtained as above. The product integration relationship below leads to an estimate of the probability transition matrix as follows,

P̂st=s<tktI+ΔÂtk,

where the product is taken over all possible transition times in time interval (s,t].

An estimator for the covariance of the empirical transition matrix is given by,

cov̂P̂st=stP̂utTP̂sucov̂dÂuP̂utP̂su,T

which is a (K + 1)2 x (K + 1)2 matrix, with number or rows and columns equal (K + 1)2.

3.2 Commenges’ test formulation

We now utilise the framework of the generalised Cochran–Mantel–Haenszel (CMH) test for (I x J x K) tables. The CMH test is based on the hypergeometric distribution. The CMH and the test of Commenges’ for the specific case here, where we have three states (of violations) and two strata (good versus poor trackers) is now described.

In our application then we have 2 × 3 × 3 tables. For each k = 1, 2, 3 we have a 2 × 3 table, where the elements are counts nijk (k denotes the departure state j, so the rows, I, are the WPB strata, the columns, J, are the entry states I and the slices, K, are the departure states j), as tabulated below.

I = 0I = 1I = 2Row total
Goodn11kn12kn13kn1 + k
Poorn21kn22kn23kn2 + k
Totaln+1kn+2kn+3kn++k

Assume that the row and column marginals are fixed. This implies that there are (I-1) by (J-1) values that are free to vary. For the cell nijk the expected value is then given by ni + k x n+jk. We are able to express all cell counts by the vector nk and express all expected cell counts by uk. The covariance matrix, denoted by Vk then has elements,

covnijknijk=ni+kδiin++kni+kn+jkδjjn++kn+jkn++k2n++k1,

where δab=1 when a = b, and 0 otherwise. Assuming rows and columns are unordered we sum over the K strata to obtain,

n=nk,u=uk,V=Vk.

The generalised CMH statistic is then given by,

X2=nuV1nu,

which follows a chi square distribution with (I-1) by (J-1) degrees of freedom. This test is implemented in R via the mantelhaen.test function. Commenges [25] adapts this concept, with a test which differs to the generalised CMH test in that it does not sum over the K strata, before calculating the relevant chi squared test statistic.

Commenges’ test [25] is as follows,

Xk2=nkukV1nkuk,

where Xk2 is chi-square with (I-1) by (J-1) degrees of freedom.

The required total chi squared statistic is then simply obtained by taking X2=Xk2 which is itself disctributed as a chi square distribution with K(I-1) by (J-1) degrees of freedom.

3.3 Results of the ETM analysis and Commenges’ test on transition states

Conditionally on the number of patients in each state at each step we have 3 x 9 = 27 independent contingency tables (i.e., number of departure states j by the number of time points k–1, recall we have 10, 10% bins for a patient’s time in ICU) and each of these tables has dimension 2 × 3 (good/poor tracker by the number of states i).

The corresponding three specific strata tables are given in Tables 57. For example, for departure state j = 0 and time point k = 2 we have a two by three contingency table with an overall total of 7ϕ violations (labelled ϕ in Table 5); the latter informs that, at time k = 2 there are 5ϕ good WPB based trackers that depart from state j = 0 and enter state 0. Similarly there are two (2ϕ) WPB based poor trackers that depart state j = 0 and enter state 1 (Table 5).

StrataI = 0I = 1I = 2Total
k = 2Good5ϕ005
Poor02ϕ02
Total5207ϕ
k = 3Good105116
Poor0101
Total106117
k = 4Good101011
Poor2002
Total121013
k = 5Good92213
Poor0314
Total95317
k = 6Good93214
Poor0000
Total93214
k = 7Good92213
Poor1102
Total103215
k = 8Good54211
Poor2024
Total74415
k = 9Good5207
Poor3003
Total82010
k = 10Good91111
Poor2125
Total112316

Table 5.

Departure state j = 0: WPB strata [9].

StrataI = 0I = 1I = 2Total
k = 2Good6118
Poor1102
Total72110
k = 3Good1203
Poor2226
Total3429
k = 4Good2237
Poor2204
Total44311
k = 5Good3115
Poor0123
Total3238
k = 6Good3104
Poor1315
Total4419
k = 7Good2316
Poor3205
Total55111
k = 8Good2237
Poor1124
Total33511
k = 9Good4329
Poor0101
Total44210
k = 10Good4127
Poor1102
Total5229

Table 6.

Departure state j = 1: WPB strata [9].

StrataI = 0I = 1I = 2Total
k = 2Good52411
Poor0369
Total551020
k = 3Good0055
Poor0156
Total011011
k = 4Good1236
Poor0167
Total13913
k = 5Good2136
Poor0156
Total22812
k = 6Good1236
Poor1258
Total24814
k = 7Good0235
Poor0156
Total03811
k = 8Good0336
Poor0055
Total03811
k = 9Good2248
Poor2169
Total431017
k = 10Good2136
Poor1056
Total31812

Table 7.

Departure state j = 2: WPB strata [9].

Three 2 x 3 contingency tables (one for each departure state j) are thus created.

Estimated transition probabilities for the 3 state process are then plotted using the ‘xyplot’ function from the lattice package in R. In the resultant plots (Figures 911), the vertical y-axis represents the transition probability value, which is represented by the solid line in each plot region. The numbers in the coloured bar above each plot defines the transition (e.g., 1 2 means transition probability from state 1 to state 2). The dotted lines around the solid line represent the confidence bands based on the covariance as calculated by the etm function. The horizontal x-axis shows the the time i.e., 10% bins (i.e. 2–10, because no transitions occur at time one being the initial state). For each tracker status and possible piairs of state transitions there are three plots, given in the following order, good trackers, poor trackers. Figure 11 displays the probability of being in each of the 3 states (0, 1, 2) given the initial state is state 0.

Figure 9.

Transition probability profiles for WPB good trackers.

Figure 10.

Transition probability profiles for WPB poor trackers.

Figure 11.

Probability of being in each state as time progresses given start state 0. Top is good trackers, bottom is poor trackers: WPB based.

Our procedure results in three 2 x 3 contingency tables (one for each departure state j), see Tables 810. The chi squared statistic as derived in [25] can now be calculated in that for the Commenges test the same chi squared calculation is made for each state specific table separately (i.e., without summing over k). The results in this case are χ2(1) = 6.046, χ2 (2) = 2.269 and χ2(3) = 9.280. Each of these follows a chi square distribution with 2 degrees of freedom with associated p-values of 0.049, 0.322 and 0.010 (Table 11). Kang WPB (2013) [9].

Tracker strataI = 0I = 1I = 2Total
Good712010101
Poor108523
Total812815124

Table 8.

Departure state j = 0 summed over all time points k, k = 2, …,10.

Tracker strataI = 0I = 1I = 2Total
Good27161356
Poor1114732
Total38302088

Table 9.

Departure state j = 1 summed over all time points k, k = 2, …,10.

Tracker strataI = 0I = 1I = 2Total
Good13153159
Poor4104862
Total172579121

Table 10.

Departure state j = 2 summed over all time points k, k = 2, …,10.

Stateχ2p-value
J = 06.0460.049*
J = 12.2690.322
J = 29.2800.010**
Total17.590.007***

Table 11.

Computation of Commenges’ test for the WPB strata [9].

Summing these threeχ 2 (j), j = 1,2,3 statistics gives a value of χ2 =17.59 with 6 degrees of freedom and an associated p-value of 0.007 (Table 11). The underlying null hypothesis is that the two nominal variables (strata: good or poor tracker and entry state: 0, 1, or 2) are conditionally independent in each stratum (departure state j; 0, 1 or 2), assuming no three-way interaction. The low p-value of 0.007 suggests that this hypothesis be rejected, i.e., the two variables are not conditionally independent. Thus the Commenges test shows that there is a statistically significant difference between the good versus poor tracker WPB strata, and that this difference is mainly due to transitions out of states 0 and 2, which agrees with the trends based on a graphical inspection of Figures 911.

The same procedure and related Commenges’ test is then applied to each of the 3 remaining good/poor tracker definitions of Kang [10, 11, 14] for the three-state context studied in this chapter. These results are reported in Table 12.

Stateχ2p-value
J = 01.7240.422
J = 10.9110.634
J = 27.1230.028**
Total9.7580.135

Table 12.

Computation of Commenges’ test for the remaining A-S studies.

Kang et al., WCORR [10].

Chase et al. [14].

Stateχ2p-value
J = 05.6690.059
J = 16.4060.041*
J = 23.0970.213
Total15.1720.019**

Rudge et al. [11].

Stateχ2p-value
J = 00.3670.832
J = 12.9510.229
J = 25.4660.065*
Total8.7840.186

Transition probability profiles of being in each state as time progresses, given start state 0, for the remaining 3 studies of [10, 14, 11] are given in Figures 1214. In summary, Figures 914 illustrate the trend that good trackers tend to have higher probability of transitioning into state 0 than poor trackers, and the good trackers tend to have lower probability of transitioning into state two than poor trackers, where state two indicates that more violations (>3 violations) are occurring, and state 0 indicates few violations are occurring.

Figure 12.

Probability of being in each state as time progresses given start state 0. Top is good trackers; bottom is poor trackers: WCORR of [10].

Figure 13.

Probability of being in each state as time progresses given start state 0. Top is good trackers; bottom is poor trackers according to Chase et al. [14].

Figure 14.

Probability of being in each state as time progresses given start state 0. Top is good trackers; bottom is poor trackers according to Rudge et al. [11].

Notably also, the probability of transitioning into state 2 overall appears to increase as ICU time increases. This is most likely because poor tracking patients tend to have longer ICU times, and so, as time goes on, it is only poor trackers transitions that are being estimated. By categorising patients according to total ICU time (≤64, >64) as discussed earlier (Figures 5 and 6, Table 4) some of this could be accounted for. The results obtained are still consistent, as shown in the etm profiles using ICU time (≤64, >64) in Figures 15 and 16, respectively. The corresponding ETM probabilities are determined according to etm in R [21] and associated state and strata specific plots given in Figures 15 and 16.

Figure 15.

Transition probability profiles for patients with ICU time ≤ 64. Top panel are the WPB good trackers, and bottom panel the poor trackers.

Figure 16.

Transition probability profiles for patients with ICU time > 64. Top panel are the WPB good trackers, and bottom panel the poor trackers.

3.4 Conclusion regarding the ETM based analysis

The different approaches in Section 3 led to the sasimilar conclusions that there is a difference in the way good trackers and poor trackers transition between states. Most of this difference occurs in states 0 and states 2, as defined. Good trackers tend to have higher probability of transitioning into state 0 than poor trackers, and good trackers tend to have lower probability of transitioning into state 2 than poor trackers, noting that state 2 indicates more violations are occurring, and state 0 indicates fewer violations. The probability of transitioning into state 2 overall appears to increase as ICU time increases. This is most likely due to the fact that poor tracking patients have longer ICU times, and so, as time goes on, it is only the poor trackers’ transitions that are being estimated.

By categorising patients according to their total ICU time (≤64, >64) similar trends were found. The Commenges’ test established a statistically significant difference between the two tracking strata (p = 0.007), and that this difference was mainly due to transitions out of states 0 and 2. For the tracking metric of Chase et al. [14], the Commenges test demonstrated a statistically significant difference between the two good versus poor strata (p = 0.019), with this difference mainly due to transitions out of states 0 and 1. Overall, the WCORR [10] and Rudge [11] classifications of tracking/strata, the transision probability profiles for the 3 state process, good and poor trackers are not significantly different, but exhibited some difference mainly due to transitions out of state 2.

Advertisement

4. Time-to-response bias as a counting process mult state model

4.1 Mathematical formulation

In this section we analyse the WPB violation data and investigate the times to the third violation given times to second violation for both poor trackers and good trackers where tracking status is defined by WPB diagnostics. The process can be thought to have three states. State 1 corresponds to less than two violations, state 2 means two violations and if a patient is in state 3 then three violations have occurred. This is a sequential three state process shown schematically in Figure 17. Events of interest are a transition from state 2 to state 3, i.e. the occurrence of a third violation.

Figure 17.

States of a patient’s agitation (violations) defined by certain levels of violations or jumps outside of the patient’s WPB bands - a 3 state process.

Time one is the patient’s entry time into state 2 and time two is the patients exit time from state 2 (i.e., entry time to state 3, so-called ‘death’ state). Time one is the patient’s entry time into state 2 and time two is the patient’s exit time from state 2 (i.e., entry time to state 3, so-called ‘death’ state).

In the case of multiple events of interest, the process can be treated as a Markov chain. Let Nij (t) be the process counting the number of observed transitions from state i to state j in the interval [0, t]. The transition intensity from state i to state j at time t is then λij (t) and gives the instantaneous risk of transition from state i to j.

Nij (t) has intensity process of the form λij(t)Ni(t) where Yi(t) is the number of individuals in state i just before time t. This is the setup of Simon and Makuch [37] who considered 4 states and two transitions of interest.

The concept of time in our ICU application represents time on-study (i.e. time at ICU) rather than calendar time. In the case of our 3 state process (Figure 8) the hazard functions of the two transitions of interest are λ13(t) and λ23(t) and the number of individuals in the states just before t are N1(t) and N2 (t), respectively. A chi squared test is conducted to test for independence between response and non-response as in the development formulated in [37].

This same test can be conducted to assess the association between strata and hazard rate. If λ23(0)(t) is the hazard rate (from state 2 to 3) for the good trackers and λ23(1) is the hazard rate (from state 2 to 3) for the poor tackers. Since the focus here is to test the effect of response (prior 2nd violation) on the hazard function, the null hypothesis of interest is H0: λ23(0) (t) = λ23(1). The hypothesis is tested via a log-rank type test following [37] which tests for the time-to-response bias. Now the equivalent of Table 2 in Simon and Makuch [37] can be constructed for both the good trackers and the poor trackers. Let N1(t) be the number of patients in state 1 at time t, and let N2 (t) denote the number of patients in state 2 at time t in Table 13.

Table 13 presents the WPB data as state-specific patient counts for each event time t. Events are a transition from state 2 to state 3, i.e. the occurrence of the event of interest i.e. a third violation. Time represents time to third violation (so-called end-state/death in terms of a counting process). Note that dij (t) are the so-called end-state “deaths” i.e., third violations. The hazard function for transfers between states i and j at time t is denoted by λi j (t) and here time represents time on study at ICU. Also Tij denotes the set of times at which a transition from state i to state j occurs and Ni(t) is the number of patients in state i just before time t, or in other words, Ni(t) is the number of patients at risk of a transfer out of state i at time t. (Note our Ni (t) is equivalent to Yi(t) in the Aalen’s notation). The symbol λij (t) denotes the intensity, or hazard function, for a transfer from state i to state j at time t.

TimeN1N2Events
312127
47105
6662
9551
12451
18261
19251
26061
27051
28041
33031
36021
43011
(a) Good trackers.
TimeN1N2Events
3943
4821
5542
6342
8142
9121
12111
23011
(b) Poor trackers

Table 13.

Simon and Makuch’s [37] represeantation and formulation of the WPB data.

Mathematically the cumulative hazard function is conventionally estimated instead of the hazard function λ(t), as the latter is difficult to estimate. The cumulative hazard function and survival function is then given as,

Aiĵxt=log1diju/Niu
Siĵxt=1diju/Niu
=expAiĵxt

Note that dij(u) above are the so-called end-state “deaths” i.e., third violations, the number of transitions from state i to state j in time interval [x, t]. The estimated survival and cumulative hazard curves are shown as in Figure 18.

Figure 18.

Survival function of time to 3rd violation given the 2nd violation for good tracker and poor (non-)trackers (LHS) and cumulative hazard functions (RHS).

Survival curves and cumulative hazard functions were calculated according to Simon and Makuch’s method [37]. In essence, this counting process formulation keeps track of the number of patients in state 1 and 2 and event times (i.e., transitions into state 3). The survival package is used for estimation, where two times are used. Time one is the patients entry time into state 2 and time two is the patients exit time from state 2 (i.e. entry time to state 3, ‘death’).

The log rank test for H0: λ23(0) (t) = λ23(1), based on the counting process which utilises the number of individuals in the states just before t, these are, N1(t) and N2 (t), was performed. Accordingly, it is shown that the good tracker and poor tracker hazard rates/ (survival curves) time to the 3rd violation, given a 2nd violation has occurred, are statistically significantly different (p-value = 0.044), see left hand side of Figure 18. Notably, the hazard rate for the poor trackers is 2.1 times that of good trackers, 95% confidence interval (CI) [1.01, 4.38].

Further interpretation of the hazard function can be made by assessing the slope of the cumulative hazard function. Figure 18 (RHS), shows that the cumulative hazard increases faster for the poor trackers than the good trackers indicated by a much steeper slope. This suggests it takes less time for the poor trackers to reach their third violation than for the good trackers, this is also confirmed by the 95% confidence bands for the survival curves shown in Figure 19 for the good tracker and poor trackers. Note that the interpretation of Kaplan–Meier curves here is not as straight-forward as for conventional survival analysis. In our ICU A-S process formulation the curves do not correspond to fixed cohorts, as patients can contribute to different states/curves at different times (Table 13). Thereby the curves may be considered to represent hypothetical cohorts whose values remain constant after follow-up [38, 39].

Figure 19.

Survival curves (95% CIs) for good (left) and poor (right) (non-)trackers.

A Cox proportional hazards model (CPHM) was then fitted with tracking status and a patient’s number of violations as covariates. The general CPHM hazard function is,

λtX=λ0expβ1X1++βpXpE13

In our application we model two covariates: X1 (0 for a good tracker, 1 for a poor tracker), and X2 being the patient’s total number of violations in the CPHM. The log rank test associated with the CPHM confirmed that the good tracker and poor tracker hazard rates, and the survival curves were significantly different (p-value = 0.0496), with the hazard rate for the poor trackers being 2.1 times that of good trackers, with a 95% confidence interval of [1.01, 4.38]. The associated hazard rate for poor trackers is shown to be 1.87 times that of good trackers, with a 95% confidence interval [0.75, 4.70]. By inclusion of the total number of second time violations the effect of tracking status has only reduced slightly, and it remains significant (1.87 versus 2.1).

4.2 Asseement of times to different violation counts and patient’s last jump

Log-rank tests were likewise conducted to assess times to different violation counts. Let VX denote the violation times for the Xth violation and the DX’s the associated event indicators (0 censored, 1 event of interest). Log rank tests for the two WPB tracking strata for selected violation times (X = 5, 10, 15, 20, 25, 30) showed significant differences between good and poor WPB trackers regarding the time to the patient’s time to 10th violation (p = 0.027), their 15th (p = 0.025) and their 25th violation (p = 0.011). Likewise, significance at the 10% level was demonstrated for times to the patient’s 5th, 20th and 30th violation (non-violatory lifetimes). All survival curves (not shown here) are significantly different or are close to being significant at the 5% level of significance. This confirms that the difference in time to violations between the good and poor trackers are consistently different, for these varying number of violations (VX, for X = 5, 10, 15, 20, 25, 30).

The time to a patient’s last violation event was also investigated using log-rank tests and Kaplan–Meier curves. We examined nine levels of the effect of the following covariate, which categorises the counts the patient levels of violations as follows: 0–5 violations, 5–10, 10–15, 15–20, 20–25, 25–30, 30–40, 40–50 and >50 violations. A histogram of the time to a patient’s last violation with boxplots of the times for each of these nine levels of categorisation shown is given in Figure 20 (the number above the boxplots gives the number of patients in each of the nine categories).

Figure 20.

Histogram and boxplots of time to last violation. The numbers above the boxplot (RHS) specify the number of patients in each violation level.

Using the patient’s time to their final violation/jump, as the event of interest, and implementing log-rank based tests using this covariate adjustment, the log rank test demonstrated a statistically significant difference between the survival curves of time to last violation (p-value <0.000001) across the above nine different total number of violation levels, {0–5, 5–10, 10–15, 15–20, 20–25, 25–30, 30–40, 40–50, >50 violations}.

Notably, the levels that most contribute to the difference between trackers and non-trackers are those patients who have a total number of violations between 10 and 15, between 20 and 25 and >50, in that order. A log rank test on time to last violation (time of last jump outside the WPB bands) as the outcome of interest by tracking status, also establishes that there is a difference between the two survival curves (p-value = 0.045) (Figure 21). Clearly the WPB-based poor trackers tend to take longer to reach their last violation than good trackers. Corresponding Kaplan–Meier estimated curves are given in Figure 21. We note that up to ICU time 64 (≤64), 40% of the good versus 70% of the poor trackers are still violating, whereas after time point, 130, the corresponding percentages violating are 15% versus 40%, of the good versus poor trackers (Figure 21).

Figure 21.

Estimated survival curves for time to last violation by tracking status.

Advertisement

5. Conclusion

A log-rank test from the counting process formulation [37, 38, 39] established a significant difference between the hazard curves of the WPB-based good and poor trackers (p-value = 0.044). Similarly log-rank tests performed for a variety of violation numbers to test for differences between good and poor trackers times to their 5th, 10th, 15th, 20th, 25th and 30th violation, showed evidence of a significant difference between good and poor trackers for a selection of these violation times (namely patient’s time to their 10th, 15th and 25th violation). In regard to analysing the patients time to their last recorded violation, log-rank tests and Kaplan–Meier curves showed that poor trackers tend to have a higher probability of still violating as time progresses in ICU compared to good trackers (p-value = 0.045).

References

  1. 1. Nassar AP, Zampieri FG, Salluh JI, Bozza FA, Machado FR, Guimarães HP, et al. Organizational factors associated with target sedation on the first 48 h of mechanical ventilation: An analysis of checklist-ICU database. Critical Care (London, England). 2019;23(1):1-8. DOI: 10.1186/s13054-019-2323-y
  2. 2. Sessler CN, Gosnell MS, Grap MJ, Brophy GM, O’Neal PV, Keane KA, et al. The Richmond Agitation-Sedation Scale: Validity and reliability in adult intensive care unit patients. American Journal of Respiratory and Critical Care Medicine. 2002;166(1):1338-1344. DOI: 10.1164/rccm.2107138
  3. 3. Fraser GL, Riker RR. Monitoring sedation, agitation, analgesia, and delirium in critically ill adult patients. Critical Care Clinics. 2001;17(4):967-987. DOI: 10.1016/s0749-0704(05)70189-5
  4. 4. Hochberg U, Sharon H, Bahir I, Brill S. Pain management - A decade’s perspective of a new subspecialty. journal of pain. Research. 2021;14:923-930. DOI: 10.2147/JPR.S303815
  5. 5. Pretorius A, Searle J, Marshall B. Barriers and enablers to emergency department nurses’ management of patients’ pain. Pain Management Nursing. 2015;16(3):372-379. DOI: 10.1016/j.pmn.2014.08.015
  6. 6. Ucuzal M, Doğan R. Emergency nurses’ knowledge, attitude and clinical decision making skills about pain. International Emergency Nursing. 2015;23(2):75-80. DOI: 0.1016/j.ienj.2014.11.006
  7. 7. Varndell W, Fry M, Elliot D. Emergency nurses' perceptions of sedation management practices for critically ill intubated patients: A qualitative study. Journal of Clinical Nursing. 2015;24(21-22):3286-3295. DOI: 10.1111/jocn.12932
  8. 8. Varndell W, Fry M, Elliot D. The validity, reliability, responsiveness and applicability of observation sedation-scoring instruments for use with adult patients in the emergency department: A systematic literature review. Australasian Emergency Nursing Journal. 2015;18(1):1-23. DOI: 10.1016/j.aenj.2014.07.001
  9. 9. Kang I, Hudson IL, Rudge A, Chase JG. Wavelet Signatures and Diagnostics for the Assessment of ICU Agitation-Sedation Protocols. In: Olkkonen H, editor. Discrete Wavelet Transforms. 1st ed. Rijeka: IntechOpen; 2011. pp. 321-348. DOI: 10.5772/20547
  10. 10. Kang I, Hudson IL, Rudge A, Chase JG. Density Estimation and Wavelet Thresholding via Bayesian Methods: A Wavelet Probability Band and Related Metrics Approach to Assess Agitation and Sedation in ICU Patients. In: Al-Asmari A, editor. Discrete Wavelet Transforms: A Compendium of New Approaches and Recent Applications. 1st ed. Rijeka: IntechOpen; 2013. pp. 127-162. DOI: 10.5772/52434. Available from: https://www.intechopen.com/chapters/42461
  11. 11. Rudge AD, Chase JG, Shaw GM, Lee D, Wake GC, Hudson IL, et al. Impact of control on agitation-sedation dynamics. Control Engineering Practice. 2005;13(9):1139-1149. DOI: 10.1016/j.conengprac.2004.10.010
  12. 12. Rudge AD, Chase JG, Shaw GM, Lee D. Physiological modelling of agitation-sedation dynamics including endogenous agitation reduction. Medical Engineering and Physics. 2006;28(7):629-638. DOI: 10.1016/j.medengphy.2005.10.008
  13. 13. Rudge AD, Chase JG, Shaw GM, Lee D, Hann CE. Parameter identification and sedative sensitivity analysis of an agitation-sedation model. Computer Methods and Programs in Biomedicine. 2006;83(3):211-221. DOI: 10.1016/j.cmpb.2006.06.011
  14. 14. Chase JG, Rudge AD, Shaw GM, Wake GC, Lee D, Hudson IL. Modeling and control of the agitation-sedation cycle for critical care patients. Medical Engineering and Physics. 2004;26(6):459-471. DOI: 10.1016/j.medengphy.2004.02.001
  15. 15. Olson DWM, Zomorodi MG, James ML, Cox CE, Moretti EW, Riemen KE, et al. Exploring the impact of augmenting sedation assessment with physiologic monitors. Australian Critical Care. 2014;27(3):145-150. DOI: 10.1016/J.AUCC.2013.09.001
  16. 16. Barbato M, Barclay G, Potter J, Yeo W, Chung J. Correlation between observational scales of sedation and comfort and bispectral index scores. Journal of Pain and Symptom Management. 2017;54:186-193
  17. 17. West N, McBeth PB, Brodie SM, van Heusden K, Sunderland S, Ga D, et al. Feasibility of continuous sedation monitoring in critically ill intensive care unit patients using the NeuroSENSE WAV CNS index. Journal of Clinical Monitoring and Computing. 2018;32(6):1081-1091. DOI: 10.1007/s10877-018-0115-6
  18. 18. Milane TA, Bennett ED, Grounds RM. Isoflurane and propofol for long-term sedation in the intensive care unit. A crossover study. Anaesthesia. 1992;47(9):768-774. DOI: 10.1111/j.1365-2044.1992.tb03254.x
  19. 19. Barr J, Fraser FL, Puntillo K, Ely GC, Dasta EW, Davidson JE, et al. Clinical practice guidelines for the management of pain, agitation, and delirium in adult patients in the intensive care unit. Critical Care Medicine. 2013;41(1):263-306. DOI: 10.1097/CCM.0b013e3182783b72
  20. 20. Vincent J, Shehabi Y, Walsh TS, Pandharipande PP, Ball JA, Spronk P, et al. Intensive Care Medicine. 2016;42(6):962-971. DOI: 10.1007/s00134-016-4297-4
  21. 21. Kress JP, Pohlman AS, Hall JB. Sedation and analgesia in the intensive care unit. American Journal of Respiratory and Critical Care Medicine. 2002;166(8):1024-1028. DOI: 10.1164/rccm.200204-270CC
  22. 22. Allignol A, Schumacher M, Beyersmann J. Empirical transition matrix of multi-state models: The etm package. Journal of Statistical Software. 2011;38(4):1-14. DOI: 10.18637/jss.v038.i04
  23. 23. Nießl A, Allignol A, Beyersmann J, Mueller C. Statistical inference for state occupation and transition probabilities in non-Markov multi-state models subject to both random left-truncation and right-censoring. Econometrics and Statistics. 2021. ISSN 2452-3062. Available from: https://www.sciencedirect.com/science/article/pii/S2452306221001155
  24. 24. Andersen PK, Borgan O, Gill RD, Keiding N. Statistical Models Based on Counting Processes. 3rd ed. Vol. 784. New York: Springer; 2012. DOI: 10.1007/978-1-4612-4348-9
  25. 25. Commenges D, Barberfer-Gateau P, Dartigues JF, Loiseau P, Salamon R. A non-homogeneous markov chain model for follow-up studies with application to epilepsy. Methods of Information Medicine. 1984;23(2):109-114. DOI: 10.1007/s00239-009-9282-x
  26. 26. Snappin SM, Jiang Q, Iglewicz B. Illustrating impact of a Time-varying covariate with an extended Kaplan-Meier Estimator. Amer. Statist. 2005;59(4):301-307. DOI: 10.1198/000313005X70371
  27. 27. Hudson IL, Tursunalieva AT. Copula thresholds and modelling Agitation-Sedation (A-S) in ICU: Analysis of nurses scores of A-S and automated drug infusions by protocol. InTechOpen. 2022 (to appear)
  28. 28. Tursunalieva, A., Hudson, I., Chase, J. Copula modelling of nurses’ agitation-sedation rating of ICU patients, in Communications in Computer and Information Science 1150: SDS, 2019. Simone Diniz Junqueira Barbosa, et al (ed.), Springer Nature Singapore Pte Ltd. H. Nguyen (Ed.): RSSDS 2019, CCIS 1150, 148–161, 2019. DOI: 10.1007/978-981-15-1960-4_11
  29. 29. Tursunalieva, A. Hudson, I., Chase, J. 2019, ‘Copula modelling of nurses’ agitation-sedation rating of ICU patients: towards monitoring and health alerting tools’, in Proceedings from the 23rd International Congress on Modelling and Simulation, Sondoss Elsawah (ed.), Modelling & Simulation Society of Australia & New Zealand (MSSANZ), Melbourne, Australia, pp. 835-841. ISBN: 978-0-9758400-9-2. Available from: https://mssanz.org.au/modsim2019/I4/tursunalieva.pdf
  30. 30. Aalen OO, Borgan Ø, Gjessing HK. Survival and Event History Analysis: A Process Point of View. 1st ed. New York: Springer; 2008. p. 560. DOI 10.1007/978-0-387-68560-1
  31. 31. Aalen O, Johansen S. An empirical transition matrix for non-homogeneous Markov chains based on censored observations. Scandinavian Journal of Statistics. 1978;5(3):141-150. Available from: https://www.jstor.org/stable/4615704
  32. 32. Beyersmann J, Wolkewitz M, Allignol A, Grambauer N, Schumacher M. Application of multistate models in hospital epidemiology: advances and challenges. Biometrical Journal. 2011;53:332-350. DOI: 10.1002/bimj.201000146
  33. 33. Munoz-Price LS, Frencken FJ, Tarima S, Bonten M. Handling time dependent variables: Antibiotics and antibiotic resistance. Clinical Infectious Diseases. 2016;62(12):1558-1563. DOI: 10.1093/cid/ciw191
  34. 34. Andersen P, Keiding N. Multi-state models for event history analysis. Statistical Methods in Medical Research. 2002;11(2):91-115. DOI: 10.1191/0962280202SM276ra
  35. 35. Commenges D. Multi-state models in epidemiology. Lifetime Data Analysis. 1999;5(4):315-327. DOI: 10.1023/a:1009636125294
  36. 36. Commenges D. Inference for multi-state models from interval-censored data. Statistical Methods in Medical Research. 2002;11(2):167-182. DOI: 10.1191/0962280202sm279ra
  37. 37. Simon R, Makuch R. A non-parametric graphical representation of the relationship between survival and the occurrence of an event: application to re- sponder versus non-responder bias. Statistics in Medicine. 1984;3:35-44. DOI: 10.1002/sim.4780030106
  38. 38. Broström G. Event History Analysis with R. ISBN: Chapman and Hall/CRC; 2022. p. 9781138587717
  39. 39. Broström G. Event History Analysis with R. 2nd ed. Boca Raton: Chapman & Hall/CRC; 2012. 236p. Available from: https://www.routledge.com/Event-History-Analysis-with-R/Brostrom/p/book/9781138587717

Written By

Irene Hudson

Submitted: 28 March 2022 Reviewed: 19 May 2022 Published: 02 July 2022