A Statistical Method and Tool to Account for Indirect Calorimetry Differential Measurement Error in a Single-Subject Analysis
- United States Army Research Laboratory, Human Research and Engineering Directorate, Integrated Capability Enhancement Branch, Aberdeen Proving Ground, Aberdeen, MD, USA
Indirect calorimetry and oxygen consumption (VO2) are accepted tools in human physiology research. It has been shown that indirect calorimetry systems exhibit differential measurement error, where the error of a device is systematically different depending on the volume of gas flow. Moreover, systems commonly report multiple decimal places of precision, giving the clinician a false sense of device accuracy. The purpose of this manuscript is to demonstrate the use of a novel statistical tool which models the reliability of two specific indirect calorimetry systems, Douglas bag and Parvomedics 2400 TrueOne, as univariate normal distributions and implements the distribution overlapping coefficient to determine the likelihood that two VO2 measures are the same. A command line implementation of the tool is available for the R programming language as well as a web-based graphical user interface (GUI). This tool is valuable for clinicians performing a single-subject analysis as well as researchers interested in determining if their observed differences exceed the error of the device.
Since the original description of gas exchange indirect calorimetry (Atwater and Benedict, 1983) and progression toward mobility with the Douglas Bag method (Douglas, 1911), the measurement of ventilatory gases has been a mainstay methodology in the field of human physiology. Indirect calorimetry is commonly used to examine the metabolic cost of performing different tasks or to examine the effectiveness of a chronic exercise intervention on cardiovascular fitness. Both of these types of studies share a study design whereby a “baseline” test is performed and a second “experimental” test follows. This test-retest design is common in the area of exercise physiology.
A number of valuable methods have been proposed to examine and understand the effect of measurement error in exercise sciences and these methods can be applied to indirect calorimetry. William Hopkins has developed an ecosystem of tools to understand how reliability alters the understanding of measurements and noise (Hopkins, 2004, 2015). In the case of a test-retest design, the method requires the researcher input measured value, the standard error of measurement or the coefficient of variation, which is the standard error of measurement expressed as a percent of the mean. The Hecksteden et al. method (Hecksteden et al., 2015) uses a similar framework as those proposed by Hopkins (2004, 2015), requiring a measurement and coefficient of variation for the measure. Both of these proposed methodologies are helpful in characterizing test-retest differences for single subjects, and generally assume that measurement error is constant. These methods assume a classical model of non-differential measurement error:
In this model, W is the observed value of the mis-measured variable. X is the true variable measured, subject to error and U is the error which is assumed to be independent of X. In the present case, X is the actual VO2 (variable of interest) and W is the VO2 level actually measured by the device or system.
It is known that error in indirect calorimetry is not constant and has a non-linear measurement error based largely on the total flow rate (Macfarlane and Wu, 2013). This non-random change in measurement error is commonly called “differential measurement error” in epidemiology (Carroll, 2005). In this case the model of differential measurement error will take the general form of:
In this model, the error term is not independent of X and may be a linear or non-linear function based upon the value of X. The development of inferential statistical methods where differential measurement error is known are currently under development (Newton et al., 2001; Imai and Yamamoto, 2010). A simpler issue concerns the interpretation of test-retest VO2 measures when performing a single subject analysis, which is highly applicable to clinical areas of sport performance and cardiac rehabilitation.
The goal of the present manuscript is to detail the use of a statistical package that models the test-retest reliability of indirect calorimetry as univariate normal distributions accounting for non-linear measurement error. This tool is designed to provide researchers and clinicians a way of determining if two indirect calorimetry measures are likely to be “the same.” The utility of this novel statistical package will be detailed using five hypothetical examples: (1) baseline VO2 1.5 L/min vs. post-intervention VO2 1.7 L/min using the Parvomedics 2400 TrueOne, (2) baseline VO2 3.3 L/min vs. post-intervention VO2 3.5 L/min using the Parvomedics 2400 TrueOne, (3) baseline VO2 1.5 L/min vs. post-intervention VO2 1.7 L/min using the Douglas bag, (4) baseline VO2 3.3 L/min vs. post-intervention VO2 3.5 L/min using the Douglas bag, and (5) baseline VO2 3.0 with the Douglas bag vs. post-intervention VO2 3.3 with the Parvomedics 2400 TrueOne. The proposed tool has both advantages and disadvantages compared to previously proposed methodologies and these differences in both approach and use will be discussed.
Materials and Methods
Gas.Sim is written in the R programming and statistics language (R Core Team, 2015) which implements “packages” to enhance the capabilities of the base system. The function within the Gas.Sim package for VO2 measurement error is called VO2sim. Throughout the package, dplyr is leveraged for data management (Wickham and Francois, 2015) and figures are created using ggplot2 (Wickham, 2015). The graphical user interface (GUI) is created using Shiny for R.
Defining the Test-Retest Distribution and Overlap
The error around each VO2 measurement is modeled as a univariate normal distribution. The parameters for the univariate normal distribution are defined by an analysis performed on the raw data contributed by Crouter et al. (2006). In the study by Crouter et al. (2006), subjects' VO2 was measured at increasing cycling workloads on differing days. This provides a range of day-to-day VO2 values to create a regression equation modeling the VO2 repeatability at different flow rates. The day-to-day variability for the ParvoMedics and Douglas bag methods were determined via identical methodologies. The mean and standard deviation of the two test-retest values were calculated. The data were then fit with a third-order polynomial regression where mean VO2 was used to predict the standard deviation of VO2 measures. The user-supplied VO2 value (mu) is combined with the non-linear regression equation to define σ and create the normal distribution density for that measure. When passing two VO2 value arguments to VO2sim, two different univariate normal probability distributions are created. All VO2 data is input in L/min as this is typically the most “raw” and un-normalized form of the data produced by indirect calorimetry.
The two distributions are next overlapped and the overlapping coefficient is calculated (Inman and Bradley, 1989). The overlapping coefficient is a measure of similarity between two probability distributions and is bounded from 0 to unity (i.e., 1); therefore, the coefficient can be interpreted as a probability that a value obtained in one distribution can also be obtained in the other distribution (i.e., the probability that the same VO2 measure is obtained from both distributions).
Gas.Sim presently has one primary function which implements the described analysis for VO2 data: VO2_sim. This function is implemented in R and is available upon request from the corresponding author. The function takes 5 inputs:
The “a” and “b” arguments are the VO2 values being tested. The present iteration of VO2sim is valid for use with the ParvoMedics 2400 TrueOne system and Douglas bag, which can be specified with either “parvo_2400” or “douglas_bag,” respectively. The system used to obtain each VO2 measure can be specified in the “system_a” or “system_b” argument. In cases where no system is specified, the algorithm defaults to the ParvoMedics 2400 TrueOne system. Depending on the needs of the user, the algorithm can also report only the probability that the two measures are the same (plot=FALSE) or can return a plot of the two distributions with the overlap visually depicted (plot=TRUE); by default, the algorithm simply returns the probability that the two VO2 arguments are the same.
It is pertinent to provide example data to illustrate the utility of the Gas.Sim package. For this purpose, we will examine the effects of theoretical training protocols for persons at a given constant workload. In these examples, repeated VO2 measurements will be made with the Douglas bag and with the Parvomedics 2400 TrueOne as well as one example where the baseline data is collected with the Douglas bag but the follow-up test was performed with the Parvomedics 2400 TrueOne. For the lower-end VO2 test, the baseline VO2 level for both systems is 1.5 L/min. After 1 year of training, the patient/athlete has a VO2 of 1.7 L/min, measured with both systems. For the higher-end VO2 test, the baseline VO2 level is 3.3 L/min and the post-intervention measure is 3.5 L/min. The fifth example assumes the first test was performed with the Douglas bag (VO2: 3.0 L/min) and the follow-up test was performed with the Parvomedics 2400 TrueOne (VO2: 3.3 L/min). VO2sim will be used to determine the probability that the change in VO2 observed for all pre- post-testing arise from the same distribution (i.e., they are the same measurement with no “true” change).
VO2sim: Visualizing Example Distributions and Classification
The change in VO2 after training protocols is an example of how VO2sim can be used to determine if repeated VO2 measurements are within the differential measurement error based on the specific system used to obtain the measurement. In examples 1 and 2, the measurements were obtained with the Parvomedics 2400 TrueOne system. When the baseline VO2 is 1.5 L/min and post-intervention VO2 is 1.7 L/min, there is a 10.3% probability that they are the same measure (Figure 1). When the baseline VO2 is 3.3 L/min and post-intervention VO2 is 3.5 L/min, there is a 35.8% probability that they are the same measure (Figure 2).
Figure 1. Overlapping probability density plots for VO2 measures of 1.5 L/min and 1.7 L/min collected with the Parvomedics 2400 TrueOne system. The dark overlapping section results in an overlapping coefficient of 0.103.
Figure 2. Overlapping probability density plots for VO2 measures of 3.3 L/min and 3.5 L/min collected with the Parvomedics 2400 TrueOne system. The dark overlapping section results in an overlapping coefficient of 0.358.
In examples 3 and 4, the measurements were obtained with the Douglas bag method. When the baseline VO2 is 1.5 L/min and post-intervention VO2 is 1.7 L/min, there is a 17.2% probability that they are the same measure (Figure 3). When the baseline VO2 is 3.3 L/min and post-intervention VO2 is 3.5 L/min, there is a 46.7% probability that they are the same measure (Figure 4).
Figure 3. Overlapping probability density plots for VO2 measures of 1.5 L/min and 1.7 L/min collected with the Douglas bag. The dark overlapping section results in an overlapping coefficient of 0.172.
Figure 4. Overlapping probability density plots for VO2 measures of 3.3 L/min and 3.5 L/min collected with the Douglas bag. The dark overlapping section results in an overlapping coefficient of 0.467.
Example 5 demonstrates the use of VO2sim to compare VO2 measures when they are obtained from different systems. When the baseline VO2 of 3.0 L/min is obtained with the Douglas bag and the follow-up VO2 measurement of 3.3 L/min is obtained with the Parvomedics 2400 TrueOne system, there is a 23.1% probability that they are the same measure (Figure 5).
Figure 5. Overlapping probability density plots for VO2 measures of 3.0 L/min collected with the Douglas bag and 3.3 L/min collected with the Parvomedics 2400 TrueOne system. The dark overlapping section results in an overlapping coefficient of 0.231.
This study presents a novel descriptive methodology and tool to examine measurement error in gas exchange indirect calorimetry. This method is not susceptible to issues of statistical power, nor is it directly designed for any type of hypothesis testing. VO2sim adds an additional layer to ensure that clinical interpretations are valid as well as for didactic purposes within the classroom. To facilitate use by researchers and practitioners, this tool is available both as a statistical package within R and as a GUI.
Graphical User Interface
In recognition that there are a wide number of researchers and practitioners who may benefit from VO2sim but may not be comfortable with the command line interface used in R programming (a suitable introduction to R is “R in a Nutshell”; Adler, 2010), an online GUI has been implemented using Shiny Apps for R. This web application (https://tenan.shinyapps.io/VO2sim) enables easy input of test values and returns the probability that the two measures are the same. It also produces a visual representation of the distributions and amount of overlap. All images within the present manuscript can be re-created using the web application. The primary downside to the GUI implementation is that it is unable to be iteratively run on multiple participants, requires individual input and does not allow the user full access to the underlying graphics.
Appropriate Application of VO2sim as a Tool
In cases where a single-subject analysis is performed, VO2sim can be used as the primary analytic tool. In research studies with multiple subjects, hypothesis testing should be performed prior to analysis with VO2sim. If VO2 normalized to body mass (typically, mL/kg/min) is desirable, normalized VO2 can be used in the hypothesis testing while the non-normalized VO2 data is used in the VO2sim analysis. If the hypothesis testing indicates that a statistically significant difference is observed between time points, VO2sim can be “stacked” or applied to each subject's data individually and the mean of the subjects' probability of similarity can be calculated to render a “net probability of similarity” between time points. The manual calculation of net probability of similarity with the VO2sim GUI can be time consuming depending on the number of subjects and also susceptible to human input error. However, when the net probability of similarity is calculated in the command line in R, this can be calculated using a single line of code:
In this example, where the default ParvoMedics 2400 TrueOne system is used, only the vectors or pre- and post-data collection points need to be supplied (pre_vector and post_vector, respectively). It is anticipated that as statistical methods for models of differential measurement error become more available and accepted (Newton et al., 2001; Imai and Yamamoto, 2010), that the coarse method of using VO2sim in “stacked” form will become obsolete for research purposes.
Implications of VO2sim on Existing Literature
Since VO2sim needs to be applied on the raw data within a study, there are few published studies which can be directly evaluated. However, rough approximations of previous work can be performed based upon the reported mean values of VO2 and an assumed use of gold standard methodology (Douglas bag). The Gas.Sim tool may indicate the presence of a Type 1 statistical error, where there is an incorrect rejection of the null-hypothesis (i.e., “false positive”). In the present context, a Type 1 error may occur in small sample studies because VO2 measures within the error range happen to be obtained on one side of the distribution or in a larger sample study where there is statistical power to detect differences which exceed the accuracy of the device. This is especially likely in research when data is collected until findings are “significant” (Simmons et al., 2011). In practice, this is not a valid use of VO2sim, but it provides theoretical examples of how VO2sim can be used to assess measurement error in real-world data.
Variability and uncertainty is inherent in any testing methodology. Typically, devices with low measurement error can corroborate the findings of devices with higher measurement error. VO2sim is able to provide a context for the level of confidence in the VO2 metric apart from any corroborating data. For example, Lorenzo et al. (2010) recently demonstrated that heat acclimation improves exercise performance. In addition to a number of other physiologic variables, it is reported that mean VO2 in a 1 h cycling task increased by 5% in cool and 8% in hot conditions. Based on the sample mean data reported in the study, VO2sim returns a 68.6% and 27.3% probability that VO2 levels are the same after heat acclimatization in cool and hot conditions, respectively. Similarly, Howden et al. (Howden et al., 2015) indicated that females have a decreased training response to an endurance regimen with observable increases in VO2max at 3, 6, 9, and 12 months (2.48, 2.57, 2.48, and 2.51 L/min, respectively) compared to baseline (2.19 L/min). According to VO2sim, this results in a similarity probability of 20.9, 10.5, 20.9, and 16.8% at 3, 6, 9, and 12 months, respectively. When considering the above examples it is important to note that these are assessments of the overall averages reported and not indicative of that study's individual data. Furthermore, the listed studies contain numerous other metrics supporting their conclusions that have greater accuracy than gas exchange indirect calorimetry. Nonetheless, it is important to understand the context and reliability of the reported VO2 results.
Comparison with Existing Methodologies for Single Subject Analysis
It is important to consider the Gas.Sim package and VO2sim function in relation to other methods proposed to understand differences in repeated VO2 measurements for singular subjects. The methods proposed by both Hopkins (2015) and Hecksteden et al. (2015) use a theoretical threshold by which a measurement or difference in measurements are clinically or practically meaningful. This should be a substantial consideration when evaluating the effectiveness of an intervention. VO2sim does not account for the magnitude required for clinical meaning. What defines practical significance is, in part, an opinion of the clinician, researcher, editor and/or journal reviewer (Riemann and Lininger, 2015). Indeed, even within researchers, the conception of what defines practical significance may change across a long period of time (Hopkins, 2004).
Probably the most meaningful differences between the methodologies of Hopkins (2015) and Hecksteden et al. (2015) and the Gas.Sim package are the ways in which the measurement error itself is considered. Both previous methods allow the researcher/clinician to dictate the standard error of measurement or coefficient of variation for their methodology. VO2sim dictates the differential measurement error based upon the system being used and flow volume. This represents a trade-off whereby each approach has certain advantages and disadvantages. Allowing the researcher/clinician to dictate the measurement error enables them to input error rates that may be more specific to their situation. For instance, the researcher/clinician may have previously performed a reliability analysis of their own specific machine and skilled implementation across a variety of gas flow rates, this will clearly better approximate the likely error than a published study from a different research laboratory. The downside to allowing manual input of error is that researchers/clinicians may over-estimate their personal level of skill or the error rate of the device. There may also be cases where error levels are manually adjusted (or different reliability studies used) until a result is rendered which satisfies the researcher/clinician. VO2sim does not allow researcher/clinicians to alter the reliability settings, except for indirect calorimetry device selection which, by definition, needs to be determined prior to data collection. VO2sim also adjusts the reliability of the indirect calorimetry device (i.e., accounts for differential measurement error) based upon the flow rate as both the data underlying VO2sim and other published works have indicated that system reliability fluctuates based on air flow (Crouter et al., 2006; Macfarlane and Wu, 2013). Generally, the methods by Hopkins and Hecksteden et al. suggest that this reliability stays constant for a given device; however, the researcher/clinician is able to change the reliability based on their flow rate if they have data supporting the reliability at that given flow. Overall, the Hopkins and Hecksteden et al. methods allow for greater researcher degrees of freedom than VO2sim, enabling (potentially) both more accurate reliability estimates for a specific situation as well as more investigator error and confirmation bias.
The Gas.Sim package has the benefit of returning a probability of similarity between two indirect calorimetry measures. This can be interpreted in a straightforward way: “there is a 30% probability that the two measures are the same.” A reasonable default threshold to state that the measures are “truly different” is 10% similarity. However, users of the Gas.Sim package are encouraged to consider what level of similarity is acceptable given their particular context.
Present Limitations and Future Modifications
The Gas.Sim package is presently limited to providing estimates for only two systems: ParvoMedics 2400 TrueOne and Douglas bag. As raw day-to-day validation data becomes available, new systems will be added to Gas.Sim's capabilities. The GUI is only available for VO2sim; however, the Gas.Sim package available for the R interface has functions capable of examining minute ventilation (VE) and carbon dioxide (VCO2). The current iteration of Gas.Sim is only valid for examination of day-to-day variability. This variability takes into account both the human-level variability and the system-level variability. Using VO2sim to determine the probability of VO2 differences within a testing session will likely result in an overly conservative estimate. As raw data becomes available which isolates the system-level variability, it will be added to the software package to estimate within-trial VO2 differences.
The Gas.Sim package relies heavily on the raw validation data provided by outside investigators (Crouter et al., 2006). As such, it assumes that the validation data was collected using best practices under “normal circumstances.” Therefore, estimates may be conservative if the underlying raw data did not maintain appropriate methodologies or standardization and may be overly liberal if the underlying raw data was collected under near-perfect circumstances which other investigators are unable to achieve. The raw data underlying the current version of Gas.Sim (Crouter et al., 2006) has been previously published in an established journal and was produced by a research group with a long-standing history of published validation work. This suggests a high-level of confidence in the raw data upon which Gas.Sim is based.
Simulation of reliability data in gas exchange indirect calorimetry provides a method by which measurement error can be quantified and assessed. Both a command line and GUI implementation of the VO2sim function are presently available and described within the manuscript. Future iterations of the Gas.Sim package will include a greater number of indirect calorimetry devices as the raw validation data is made available. The described statistical tool provides an additional layer of security to understand and quantify the validity of clinical and research outcomes in exercise testing.
MT developed the methodology in the present manuscript and wrote the manuscript and underlying code for both the software package and web application.
Conflict of Interest Statement
The authors declare that the research was conducted in the absence of any commercial or financial relationships that could be construed as a potential conflict of interest.
The author would like to acknowledge the expert statistical advice and review performed by Vernon Lawhern Ph.D. and the subject matter expertise and review performed by Andrew Tweedell M.A. This manuscript would not be possible without Scott E. Crouter Ph.D. contributing the raw data from his previous validation studies.
Crouter, S. E., Antczak, A., Hudak, J. R., DellaValle, D. M., and Haas, J. D. (2006). Accuracy and reliability of the ParvoMedics TrueOne 2400 and MedGraphics VO2000 metabolic systems. Eur. J. Appl. Physiol. 98, 139–151. doi: 10.1007/s00421-006-0255-0
Hecksteden, A., Kraushaar, J., Scharhag-Rosenberger, F., Theisen, D., Senn, S., and Meyer, T. (2015). Individual response to exercise training-a statistical perspective. J. Appl. Physiol. 118, 1450–1459. doi: 10.1152/japplphysiol.00714.2014
Hopkins, W. (2015). Spreadsheets for analysis of validity and reliability. Sportscience 19, 36–42. Available online at: www.sportsci.org/2015/ValidRely.htm
Hopkins, W. G. (2004). How to interpret changes in an athletic performance test. Sportscience 8, 1–7. Available online at: www.sportsci.org/jour/04/wghtests.htm
Howden, E. J., Perhonen, M., Peshock, R. M., Zhang, R., Arbab-Zadeh, A., Adams-Huet, B., et al. (2015). Females have a blunted cardiovascular response to 1-year of intensive supervised endurance training. J. Appl. Physiol. 119, 37–46. doi: 10.1152/japplphysiol.00092.2015
Imai, K., and Yamamoto, T. (2010). Causal inference with differential measurement error: nonparametric identification and sensitivity analysis. Am. J. Polit. Sci. 54, 543–560. doi: 10.1111/j.1540-5907.2010.00446.x
Inman, H. F., and Bradley, E. L. Jr. (1989). The overlapping coefficient as a measure of agreement between probability distributions and point estimation of the overlap of two normal densities. Commun. Statist. Theory Meth. 18, 3851–3874. doi: 10.1080/03610928908830127
Newton, M. A., Kendziorski, C. M., Richmond, C. S., Blattner, F. R., and Tsui, K.-W. (2001). On differential variability of expression ratios: improving statistical inference about gene expression changes from microarray data. J. Comput. Biol. 8, 37–52. doi: 10.1089/106652701300099074
Riemann, B. L., and Lininger, M. (2015). Statistical primer for athletic trainers: the difference between statistical and clinical meaningfulness. J. Athl. Train. 50, 1223–1225. doi: 10.4085/1062-6050-51.1.04
Simmons, J. P., Nelson, L. D., and Simonsohn, U. (2011). False-positive psychology undisclosed flexibility in data collection and analysis allows presenting anything as significant. Psychol. Sci. 22, 1359–1366. doi: 10.1177/0956797611417632
Keywords: exercise testing, VO2, indirect calorimetry, research methods, cost of transport
Citation: Tenan MS (2016) A Statistical Method and Tool to Account for Indirect Calorimetry Differential Measurement Error in a Single-Subject Analysis. Front. Physiol. 7:172. doi: 10.3389/fphys.2016.00172
Received: 23 March 2016; Accepted: 28 April 2016;
Published: 11 May 2016.
Edited by:Johnny Padulo, University eCampus, Italy
Copyright © 2016 Tenan. This is an open-access article distributed under the terms of the Creative Commons Attribution License (CC BY). The use, distribution or reproduction in other forums is permitted, provided the original author(s) or licensor are credited and that the original publication in this journal is cited, in accordance with accepted academic practice. No use, distribution or reproduction is permitted which does not comply with these terms.
*Correspondence: Matthew S. Tenan, email@example.com