Skip to main content
American Journal of Physiology - Gastrointestinal and Liver Physiology logoLink to American Journal of Physiology - Gastrointestinal and Liver Physiology
. 2015 Jun 4;309(3):G162–G170. doi: 10.1152/ajpgi.00280.2014

A gamma variate model that includes stretched exponential is a better fit for gastric emptying data from mice

Željko Bajzer 1, Simon J Gibbons 2, Heidi D Coleman 3, David R Linden 4, Gianrico Farrugia 2,
PMCID: PMC4525107  PMID: 26045615

Abstract

Noninvasive breath tests for gastric emptying are important techniques for understanding the changes in gastric motility that occur in disease or in response to drugs. Mice are often used as an animal model; however, the gamma variate model currently used for data analysis does not always fit the data appropriately. The aim of this study was to determine appropriate mathematical models to better fit mouse gastric emptying data including when two peaks are present in the gastric emptying curve. We fitted 175 gastric emptying data sets with two standard models (gamma variate and power exponential), with a gamma variate model that includes stretched exponential and with a proposed two-component model. The appropriateness of the fit was assessed by the Akaike Information Criterion. We found that extension of the gamma variate model to include a stretched exponential improves the fit, which allows for a better estimation of T1/2 and Tlag. When two distinct peaks in gastric emptying are present, a two-component model is required for the most appropriate fit. We conclude that use of a stretched exponential gamma variate model and when appropriate a two-component model will result in a better estimate of physiologically relevant parameters when analyzing mouse gastric emptying data.

Keywords: motility, smooth muscle, gastrointestinal tract, empirical mathematical models


the measurement of gastric emptying in human subjects and animal models of disease is an important technique for understanding the changes in gastric motility that occur under normal physiological conditions, in disease, or in response to drugs. Acute physiological changes in gastric emptying can be identified in response to the content and nature of a meal including the effects of calories, osmolarity, lipid, protein, and carbohydrate content (9). Determination of gastric emptying has clinical relevance since the delay of gastric emptying of solids is required for positive diagnosis of gastroparesis. Gastroparesis can occur secondary to drugs or systemic disease as a complication of diabetes or remain idiopathic (21). Accelerated gastric emptying is also observed in subsets of patients with symptoms suggestive of functional dyspepsia, or dumping, as well as in a subset of patients with diabetes particularly early after diagnosis (12, 25). Accelerated gastric emptying is also observed in animal models of diabetes (7). Prokinetic agents have been identified and studied by using gastric emptying tests in experimental animals and candidate drugs have been tested for unwanted effects on gastric emptying (24).

Several noninvasive tests have been developed to follow gastric emptying in humans including scintigraphy and breath tests (5, 29), and some of these tests have been applied for animal studies (3, 6, 10, 28). The ability to do repeated measurements in the same, unrestrained, diabetic mouse has been useful to identify the factors that contribute to the development of diabetic gastroparesis and to show that treatment of mice can reverse the symptoms and underlying pathological changes (7, 8, 15).

Analysis of the data from gastric emptying tests has typically used models that gave a readout of the time to half emptying (T1/2) value or reported the proportion of a meal that remained in the stomach at fixed time points. Time points at 1, 2, and 4 h after feeding can be effectively used to screen for fast or slow gastric emptying using scintigraphy (29). A 4-h time point is required to make an accurate diagnosis of delayed gastric emptying. Breath tests allow samples to be collected at multiple time points with detailed kinetic information available. These breath tests depend on the principle that the rate of appearance of ingested isotope-enriched CO2 in the breath is limited by the rate of gastric emptying. Assays based on detection of radioactive 14C or stable, spectroscopically detectable, 13C have been developed (11). For example, we use a system that measures 13CO2 from air samples at a rate of 1 Hz for at least 4 h and that automatically switches sampling between up to 12 mouse chambers so that individual chambers are sampled at every 4–6 min (10). We have typically applied a gamma variate model to these data. This model was first applied to gastric emptying in mice by Symonds et al. (28) to obtain T1/2 (time to half emptying) values for emptying of a solid meal. Our approach was originally developed for human solid gastric emptying studies where the gamma variate model works relatively well for fitting the data. However, when we use our system that tracks gastric emptying at high time and signal resolution, we have observed that the time course of gastric emptying is not well described by a single gamma variate and that occasionally there is evidence for more than one phase to gastric emptying, as previously reported by Symonds et al. (28); the additional phase showing up as a second peak in the plotted data. The existing models were relatively weak with respect to fitting these two important characteristics of the data, namely the fit to the later time points in the study and the handling of data with two peaks of 13CO2 in the breath.

The outputs of the gamma variate model fit are the T1/2 value, the gastric emptying coefficient (GEC), which is a measure of the overall gastric emptying rate, and the Tlag value (11, 13). In the literature two definitions of Tlag have been used, the time from eating until the first food particles have been triturated to a size to pass into the duodenum, and the time to the peak rate of gastric emptying, which correlates with the time where all the food has been triturated to a size where it can be emptied (32). We have not detected in mice a clear lag between feeding and the appearance of content in the duodenum. However, Tlag, defined as the time to peak emptying, has been reported in some studies on gastric emptying in mice (28).

The accuracy and reproducibility of the T1/2 values are important for identifying changes in gastric emptying that are physiologically or clinically significant. Investigators carry out costly, longitudinal studies on mice, and the goal was to improve the power and reliability of gastric emptying studies to make more accurate decisions on disease pathophysiology and effectiveness of potential therapies. The ability to fit the data to two peaks is important because although this phenomenon has been previously reported (28), none of the currently used models take it into account and therefore cannot be used to test the underlying physiological basis for the double peaks. Therefore, a key objective of developing new models is to allow studies to elucidate the physiological or pathological factors that affect the presence and timing of the second peak.

To accommodate gastric emptying patterns that do not fit to simple models and to allow investigation of how these variations in gastric emptying might reflect variations in gastric motility, we proposed and tested a gamma variate model with stretched exponential and a two-component gamma variate model with stretched exponentials, designed to describe data with two peaks. From the best fits by these models we calculate T1/2, and the time to the peak rate of emptying (Tlag) (32), which is a variable that is not always well estimated by the conventional gamma variate model. The gastric emptying coefficient is well defined for a single gamma variate model, but it becomes difficult to define it for a two-component model. Therefore, to characterize the gastric emptying rate, we estimate the maximal value for the rate of 13CO2 production (R).

To evaluate the merits of the proposed models, we fitted 175 gastric emptying data sets with two standard models (gamma variate and power exponential), with a gamma variate model that includes stretched exponential, and with a proposed two-component model. The appropriateness of these models in fitting the data with respect to the quality of the fit and the number of free parameters introduced was assessed by Akaike Information Criterion (AIC) (14, 17, 27). Our results suggest that the extension of the gamma variate model to include stretched exponential improves the fit, which allows better estimation of characteristic parameters (T1/2, Tlag, R). Also, it became evident that the two-component model is required for an appropriate fit in some cases.

MATERIALS AND METHODS

Experimental methods and data preprocessing.

The gastric emptying tests were done as previously reported (6) using female NOD/LtJ mice (Jackson Laboratories, Bar Harbor, ME). Protocols were approved by the Mayo Clinic Institutional Animal Care and Use Committee. Mice were habituated to the testing chambers and received egg meals for 2 wk before testing. Mice were fasted for 12–18 h with free access to water before testing. Metal mesh flooring was inserted into the cages to prevent coprophagia. At the time of testing, mice are placed in chambers that allow the freedom to turn around and the chambers are connected to air flow that originates in a zero CO2 air generator. The flow rate of each chamber is controlled by individual flow meters and adjusted to be between 0.5 and 1.5 l/min so that exhaled breath samples measured between 1,500 and 2,000 ppm CO2. After a baseline reading, mice were fed 200 mg cooked egg yolk containing 2.5 μmol 13[C]octanoic acid. Because the mice were fasted and trained, they generally ate the test meal within 2 min. A computer-controlled solenoid valve system, called the multiple input unit, controlled which animal chamber is sampled and analyzed by a laser spectrometer CO2 analyzer (Los Gatos Research, Mountain View, CA), which measured the 13CO2, 12CO2, and H2O content of the breath. The instrument utilizes off-axis integrated cavity output spectroscopy to mitigate the need to resolve CO2 spectra via traditional laser 7 resonance spectroscopy. The concentrations of 13CO2, 12CO2, and H2O are calculated via integration of defined peaks within the spectra generated by the rapidly tunable laser.

Samples containing exhaled breath were analyzed at a rate of 1 Hz and the valves switched between up to 12 mouse chambers every 25–45 s so that each chamber was sampled at least every 4–6 min for up to 4 h. It means that the system collects a rapid series of data points from say chamber 1 for a period of time and then the valves switch to collect data from the adjacent chambers in turn before returning to chamber 1. This implies that for a given mouse there are groups of data points resolved on a time scale of seconds, and those groups are resolved on a time scale of 4–6 min. The enrichment of 13CO2 to 12CO2 was determined and expressed as a percent change in 13C calculated from the sample.

The measurements from the first 10 s of each time group of data were removed, because the preliminary experiments using the multiple input unit to switch between standard tanks of 500 ppm CO2 to 2,000 ppm CO2 indicated that 10 s was sufficient to completely flush the previous sample. In the remaining 15–35 data points from a given time group, there still can be outliers due to misinterpretation of the spectrogram that is usually the consequence of laser alignment. Based on inspection, we chose to remove at most 10 outliers per time group using the generalized extreme studentized deviate many-outlier procedure (22).

After the outliers were removed, data were adjusted for the baseline, which is the level of 13CO2 that is normally exhaled by a given mouse. The baseline is approximated by the average of the measurements recorded before the egg is administered. It is noteworthy that the baseline value is much larger (at the level of ∼1.1) than the signal specific to enhancement of 13CO2, which is in the range [0,0.04]. This implies that the small errors in the estimation of the baseline may influence the analysis. Therefore, we introduced an additive constant in the model as a correction to the baseline, which is then determined by fitting. Data sets from mice with accelerated, normal, and delayed gastric emptying values were analyzed using the four empirical models described below.

Empirical models.

In previous studies fitting data for 13CO2 enrichment in the breath vs. time was accomplished by using gamma variate function (6, 11, 28). According to this model, the rate y(t) of C13 excretion in breath is written in the form:

y(t)=atbet/τ (1)

where a, b, and τ are positive constants and t is time. The function exhibits one peak with y(0) = y(∞) = 0. The gamma variate function can be considered useful as a simple approximation of the linear combinations of exponential functions that occur in linear multi-compartment models. The data from high-resolution gastric emptying measurements are a reflection of more than one compartment in the complex physiological processes underlying 13C kinetics. In the following we will refer to the model given by Eq. 1 as the gamma variate (GV) model.

Another empirical model used to analyze 13CO2 data (11, 28, 23) can be written in the form:

y(t)=aekt(1ekt)β1, (2)

where a, k > 0, and β > 1. This is also unimodal function with y(0) = y(∞) = 0. In the following, we will refer to this model as power exponential (PE) model according to Ref. 23.

In this article we propose a simple generalization of the gamma variate model that includes a stretched exponential function:

y(t)=atbe(t/τ)c (3)

Here a, b, τ, c > 0, and the function is also unimodal with y(0) = y(∞) = 0. This model is motivated by the idea that by generalizing the gamma variate function to include the stretched exponential, one can only better approximate the multiexponential function related to multicompartment models. On the other hand the stretched exponential contains the power function (t/τ)c, which is a signature of fractal kinetics (1, 2, 26). It is likely that fractal kinetics plays a role in physiological processes involved, as they are happening in spaces exhibiting fractal structures. In our experience the fits to gastric emptying data by the model given by Eq. 3 are almost always preferred by the AIC for model selection (14, 17, 27) compared with the models given by Eqs. 1 and 2. In the following we will refer to this model as the gamma variate model with stretched exponential (GVS).

In a considerable number of cases, gastric emptying data exhibited patterns of visually distinguished two peaks or one peak and a shoulder (in the present study that was 19.4% of cases). This was the motivation to introduce a model capable of describing two peaks, which is not the case for models given by Eqs. 13. The model we propose is the linear combination of two gamma variates with stretched exponentials, which is a phenomenological model sufficiently flexible to describe either two peaks or a peak and a shoulder. It is given by:

y(t)=a1f1(t)+a2f2(t),fj(t)=tbjexp((t/τj)cj),j=1,2, (4)

where bj, τj, cj > 0. In principle a1 or a2 can achieve a negative value as a result of fitting the model to the data. In these cases it is possible that in some time intervals the best-fit curve may achieve, usually small, negative values, while still approaching zero for infinite times. Since a gastric emptying curve by definition is nonnegative, we define our model by:

y(t)=maxt.0[0,a1f1(t)+a2f2(t)]. (5)

In the following we will refer to this model as the two-component gamma variate model with stretched exponentials (GVS2).

To compare the adequacy of the models considered (Eqs. 1, 2, 3, and 5), we performed least-squares fits to the data by each of them and then used the AIC (14, 17, 27) to determine which should be selected as preferable. This criterion takes into account how good the fit is and how many free parameters were used. Assuming that the errors in data points are distributed according to the same normal distribution, which is reasonable for measurements of 13CO2, the corrected Akaike Information Criterion (AICc) is based on the statistic

AICc=nln(S/n)+2(v+1)n/(nv2), (6)

where

S=mini=1n[yiδy(ti)]2 (7)

is the least sum of squares of errors, n is the number of data points (ti, yi), and ν is the number of free parameters in the model. y(ti) Represents the rate given by any of the considered models, while δ is a correction to the baseline. Namely, the baseline is initially only roughly determined from the initial recordings (see above). The minimization is performed with respect to all free parameters including δ. The model with the lowest value of AICc is considered the preferred model.

The AIC criterion does not provide a good sense to what extent one model is preferred over the other models (4, 30). Therefore, we have calculated Akaike weights for the models we compared, defined by (4, 30):

wk=ek/j=1Mej,ek=exp((A1Ak)/2),k=1,,M (8)

where M is the number of models compared, A1 is the lowest AICc for the considered models, and Ak, k = 2, . . ., M are AICc values for the rest of the models. From the weights we calculated the evidence ratio wk/wj for models k and j, which shows how many times model k is more likely the better model in terms of Kullback-Leibler discrepancy than model j (30).

Evaluation of characteristic parameters.

In previous studies it was established that emptying time T1/2 and the initial delay in gastric emptying Tlag are of interest in studying gastric emptying. The value of T1/2 is defined through the cumulative excretion curve C(t), as the time when one-half of its maximum K = C(∞) is achieved:

K/2=0T1/2y(t)dt, (9)

In the case of the PE model (Eq. 2) one gets the following analytic expression for T1/2

T1/2=k1ln(121/β) (10)

and for the GVS model (Eq. 3), it is given by the solution of the nonlinear equation:

γ(g,(T1/2/τ)c)=Γ(g)/2,g=(b+1)/c (11)

where γ(α, x) = ∫0xettα−1dt is the incomplete gamma function and Γ(x) is the gamma function (19). The solution of this equation can be found numerically, and we used the bracketing and bisection method (20). Obviously, when c = 1 we get the equation for the classical GV model (Eq. 1). It is seen that our GVS model (Eq. 3) requires essentially the same effort to calculate T1/2 as GV model does.

To obtain T1/2 in two-component model GVS2, one solves Eq. 9 with y(t) given by Eq. 5. This is accomplished by using the definition of incomplete gamma function for the intervals in which y(t) is not zero, whereby ∫uvettα−1dt = γ(α, v) − γ(α, u).

Another characteristic parameter previously proposed by Symonds et al. (28) is Tlag, the time required for the stomach to grind the meal into particles fine enough to pass through the pylorus. Mathematically, it is the time when the excretion curve achieves its first maximum. For models PE and GVS, there are analytical expressions for Tlag:

PE:Tlag=(lnβ)/k,   GVS:Tlag=τ(b/c)1/c (12)

In the case of GVS2 we can have two peaks and we define Tlag as time when the first peak is achieved. It should be calculated numerically. We found Tlag by numerically solving the equation y′(Tlag) = 0 in the neighborhood where the first peak is found just by calculating y(t) on sufficiently fine grid. The equation is solved by bracketing and bisection method (20).

Symonds et al. (28) have also considered the GEC = lna based on the GV model as yet another quantitative characterization of gastric emptying rate. Clearly, it can be likewise evaluated for our GVS model. However, it is not clear how this index would be evaluated for our two-component GVS2 model. We believe that a more intuitive characterization of gastric emptying rate is its maximal value, which can be easily calculated for the models considered here. In case of PE, GV, or GVS we define the maximal rate R = y(Tlag)/K. The function y(t) is divided by K = C(∞) to ensure that R does not depend on the coefficient a which may vary from measurement to measurement due to possibly different scaling and losses of 13CO2. For PE, GV, and GVS models, there are analytical expressions for R:

PE:R=k(11/β)β1,  GVS:R=chheh/[τΓ(g)],h=b/c, (13)

where c = 1 corresponds to GV model. For GVS2 we can have two peaks. Assuming they have occurred at times T1 and T2, R is evaluated as greater of the two, i.e., R = max[y(T1),y(T2)]/K.

Estimation of characteristic parameters by least-squares fitting.

We use the least-squares fitting to estimate the model parameters from which T1/2, Tlag, and R are calculated based on the above equations. The numerical minimization in the least-squares fitting is found to proceed faster when the model parameters δ, a, a1, a2 are expressed through the rest of parameters, which is possible because δ, a, a1, a2 appear linearly in the model. The details are explained in the appendix. Our custom developed software uses the SIH algorithm for minimization (18), which likely finds the global minimum. The uncertainties in characteristic parameters are estimated by the bootstrap method (31), which is briefly explained in the appendix.

RESULTS

We analyzed 175 gastric emptying data sets using the considered empirical models, namely the PE model given by Eq. 2, the standard GV model given by Eq. 1, the model with a gamma variate function that includes stretched exponential (GVS) given by Eq. 3, and the model with a linear combination of two gamma variate functions with stretched exponentials (GVS2) given by Eq. 4. The models were fitted to data according to a least-squares method as described in materials and methods and in appendix.

The most appropriate model in each case is chosen based on the AICc and corresponding Akaike weights and evidence ratios. In the majority of the gastric emptying data sets analyzed, GVS was preferred by this criterion compared with GV and PE. This is the case for example shown in Fig. 1, where GVS is preferred compared with PE. On the other hand the PE model is preferred compared with GV (Table 1, case 1). GVS is evidently the preferred model in terms of Akaike weights and evidence ratio (see Table 1, case 1). Furthermore, GVS leads to significantly different values for T1/2 and R than those obtained by PE or GV (Table 1, case 1). This example illustrates our rationale for introducing the generalization of the standard GV model. The GVS model was preferred in 90% of the analyzed cases, compared with the GV model, and in 91% of the analyzed cases compared with the PE model. Interestingly, GV was preferred in 76% cases compared with PE. This indicates that GV model is perhaps a more suitable empirical model for gastric emptying data than the PE model and a posteriori justifies our idea to generalize the GV model.

Fig. 1.

Fig. 1.

Fit of gastric emptying data by power exponential model (PE; Eq. 2) and gamma variate model with stretched exponential (GVS; Eq. 3) models. Data are consistent with one peak. For obtained parameters and corrected Akaike Information Criterion (AICc) value see Table 1, case 1. Although the two curves appear very similar, half-time and maximal rate for PE and GVS are different. The fit by GVS is preferred by AICc.

Table 1.

Results of characteristic parameters estimation by fitting

Case/Model T1/2, min* Tlag, min 103 R AICc w(AICc) ER
1 (Fig. 1)
    PE 79.6 ± 1.9 51.5 ± 0.8 8.3 ± 0.2 −9,154 0.00006 1,750
    GV 77.3 ± 1.8 52.4 ± 0.8 8.5 ± 0.3 −9,144 <10−5 >105
    GVS 97.4 ± 6.9 47.3 ± 1.0 6.6 ± 0.5 −9,169 0.9994
2 (Fig. 3)
    PE 96.5 ± 2.5 64.9 ± 0.7 7.0 ± 0.3 −8,962 <10−9 >109
    GV 90.3 ± 1.6 67.4 ± 0.7 8.0 ± 0.3 −8,995 <10−9 >109
    GVS 84.8 ± 0.9 75.6 ± 1.2 8.8 ± 0.2 −9,080 1.00000
3 (Fig. 4)
    PE 131 ± 6 76.5 ± 1.1 4.7 ± 0.3 −8,389 <10−9 >109
    GV 121 ± 5 78.7 ± 1.1 5.3 ± 0.3 −8,405 <10−9 >109
    GVS 104 ± 1 101 ± 2 7.0 ± 0.2 −8,510 1.00000
4 (Fig. 5)
    GVS 153 ± 43 43.8 ± 1.4 4.2 ± 0.9 −9,425 <10−9 >109
    GVS2 109 ± 14 53.8 ± 1.0 7.2 ± 1.1 −9,675 1.00000
5 (Fig. 6)
    GVS 105 ± 9 23.4 ± 0.5 6.3 ± 0.4 −9,162 <10−9 >109
    GVS2 54.2 ± 0.1 24.2 ± 0.5 13.6 ± 0.2 −9,509 1.00000
6 (Fig. 7)
    GVS 127 ± 4 109 ± 4 4.4 ± 0.3 −8,670 <10−9 >109
    GVS2 109 ± 2 65.8 ± 1.4 6.5 ± 0.3 −9,021 1.00000
7 (Fig. 8)
    PE 64.7 ± 1.0 40.8 ± 0.4 10.0 ± 0.2 −9,567 <10−8 >108
    GVS2 74 ± 10 52.8 ± 0.8 8.4 ± 0.8 −9,605 1.00000

Values are means ± SD. T1/2, time to half emptying; Tlag, time to peak emptying; R, maximal rate; AICc, corrected Akaike Information Criterion; PE, power exponential model; GV, gamma variate model; GVS, gamma variate model with stretched exponential; GVS2, 2-component gamma variate model with stretched exponentials.

*

The values for parameters are best-fit values ± estimated SD by bootstrap method (see text).

w(AICc), Akaike weights; see Eq. 8.

ER, evidence ratios (based on Akaike weights) for a given model in favor of the most preferred model, which in cases 1–3 is GVS and in cases 4–7 is GVS2.

The question arises whether in the considered example (shown in Fig. 1) GVS2 model would be preferred by AICc, although data do not suggest more than one peak. When the fitting by GVS2 is performed (Fig. 2), one gets a lower value for AICc, but at the same time an obvious artifactual peak is produced, which is essentially the result of one deviant group of data. In analyzing data we adopted the criterion that when GVS2 fit leads to a sharp spike (or dip) as a result of few deviant groups of data, we consider this to be an overfitting and chose a simpler model with the second lowest AICc value as the most appropriate description of the data. While often it is visually pretty obvious from the fit when the peak (dip) is spurious, we introduced an objective criterion for spurious peaks (dips). We first overlay the best-fit curves obtained by GVS2 and GVS as in Fig. 2. Then, we estimate the width of the spurious peak (dip) from the two intersections of GVS2 curve by GVS curve at the location of the peak, which provide a measure of the width of the peak (dip) as indicated in Fig. 2 by two green lines. The intersections are numerically determined by an interactive computer program, which uses bisection method (20). The user must provide bracketing for each intersection. This is done by visually observing the intersections from the graph similar to Fig. 2 that the program displays. The times at which intersections occur (obtained by the bisection method) determine the time interval that represents the width of the peak (dip). If this interval is less than 24 min (which is generally the interval between 4 group of points), then we considered the peak (dip) to be spurious.

Fig. 2.

Fig. 2.

Fit of gastric emptying data shown in Fig. 1 by 2-component gamma variate model with stretched exponentials (GVS2) model (Eq. 4), which allows 2 peaks. It is compared with the fit by GVS shown in Fig. 1 (red). The best-fit curve by GVS2 resulted in an artifactual spike. The green lines indicates the width of the peak that is 12.4 min that is <24 min, the threshold value for the nonspurious peaks according to criterion described in the text. Consequently the GVS2 fit is inappropriate. The AICc values were −9,243 for GVS2 and −9,169 for GVS.

In the example shown in Fig. 3, GVS fit is preferred compared with GV and PE fits. It leads to different values for characteristic parameters and especially for Tlag. (Table 1, case 2). Data do not suggest more than one peak and indeed the fit with GVS2 leads to a sharp artifactual spike according to our criterion described above. Thus, the GVS2 fit is not considered appropriate. A similar example is shown in Fig. 4, where the differences in values of T1/2, Tlag, and R for GVS and GV fits are all significant, while the GVS fit is considered preferred by AICc compared with GV and PE fits. The GVS2 fit was inappropriate with a spurious dip according to our criterion.

Fig. 3.

Fig. 3.

Fit of gastric emptying data by GV (Eq. 1) and by GVS (Eq. 3) models. Data are consistent with 1 peak. For obtained parameters and AICc value see Table 1, case 2. The difference in lag time is noticeable.

Fig. 4.

Fig. 4.

Fit of gastric emptying data by GV (Eq. 1) and by GVS (Eq. 3) models. For obtained parameters and AICc values see Table 1, case 3. The differences in characteristic parameters are significant with obvious difference in lag time.

Such a situation is not the case for all data we analyzed. In 34 out of 175 cases we visually observed two distinct peaks (or peak and a shoulder), which implied the necessary application of the two-component model GVS2. An example is shown in Fig. 5 where the second peak is observable and by AICc GVS2 is preferable compared with GVS, GV, and PE. GVS2 leads to estimation of T1/2 which is clearly less uncertain than the estimation with GVS (see Table 1, case 4).

Fig. 5.

Fig. 5.

Fit of gastric emptying data by GVS (Eq. 1) and by GVS2 (Eq. 4) models. Data are consistent with 2 peaks, which are well described by fit obtained with GVS2. For characteristic parameters and AICc value see Table 1, case 3. The 2nd peak occurs at time 125 min. The difference in lag time and maximal rate is noticeable.

In the example shown in Fig. 6 the second peak can be barely observed, but it has considerable effect on the shape of the best-fit curve. Such shape can be only obtained by GVS2, which is also preferable by AICc (together with Akaike weights and evidence ratio) compared with GVS, GV, and PE. The evaluated T1/2 is significantly lower compared with the value obtained by fit with GVS (Table 1, case 5). Also, maximal rate R is significantly higher, while Tlag is essentially the same. This example further illustrates that in some cases GVS2 should be used to properly determine the emptying half-time and maximal rate.

Fig. 6.

Fig. 6.

Fit of gastric emptying data by GVS (Eq. 1) and by GVS2 (Eq. 4) models. Data are consistent with 2 peaks, although 1 is barely observable at time 79 min, but the corresponding hump is clearly observed. Data are well described by fit obtained with GVS2 model. According to our criterion the first peak is not spurious. For characteristic parameters and AICc value see Table 1, case 4. There is essentially no difference in Tlag, but there is a noticeable difference in maximal rate. Also half times differ substantially; see Table 1.

We encountered cases where two peaks are distinctly observed (Fig. 7), but both models GVS2 and GVS lead to not so different value for T1/2, while the values for lag time and maximal rate are significantly different (Table 1, case 6). In this case AICc provided preference to GVS2, as one would expect, while GVS model was preferred over GV and PE models.

Fig. 7.

Fig. 7.

Fit of gastric emptying data by GVS (Eq. 1) and by GVS2 (Eq. 4) models. Data are consistent with 2 peaks of almost the same height. Data are well described by fit obtained with GVS2 model. For characteristic parameters and AICc value see Table 1, case 5. The 2nd peak is obtained at 161 min. The obvious difference is in the lag time.

In our final illustrative example we show the case where data are not suggesting two peaks, while GVS2 yields best-fit curve with one peak and unusual shape, which cannot be obtained by GVS, GV, or PE models (Fig. 8). GVS2 is the preferred model in this case, and interestingly, PE model is preferred compared with GVS and GV models. The value obtained by GVS2 for lag time is significantly different from the value obtained by PE (see Table 1, case 7).

Fig. 8.

Fig. 8.

Fit of gastric emptying data by GVS (Eq. 1) and by GVS2 (Eq. 4) models. Data are consistent with 1 peak. The figure suggests that data are better described with GVS2 model then with PE, the 2nd best model by AICc. For characteristic parameters and AICc value see Table 1, case 6. The obvious difference is in the lag time.

Altogether the GVS2 model was preferred by AICc in all considered cases. However, according to the criterion for spurious spikes (dips), it was selected only 41.1% of the times as the most appropriate. GVS was selected 51.4% times, GV was selected only 2.9% times, and PE 4.6% times. In the cases when PE was selected as the preferred model, the best-fit values for characteristic parameters differed on average 1.5% (with maximum of 4.6%) from the corresponding parameters obtained by GVS.

DISCUSSION

The GV model has been previously used for the analysis of 13CO2 gastric emptying data for mice and in particular to estimate T1/2, (11, 28, 6). These studies have to some extent validated the GV model. The objective of our study was to improve the analysis based on this model. Therefore, we have introduced a simple generalization of the GV model, which consists of replacing the exponential function with the stretched exponential function (see Eq. 3). Such an enhanced model has more flexibility to describe the data and consequently provides better fits that generally lead to more accurate estimation of characteristic parameters. As we demonstrated (see Table 1), it can yield values for emptying time (T1/2) and the initial delay in gastric emptying (Tlag) that significantly differ from the values obtained by classical gamma variate model GV. The same is true when our model with stretched exponential GVS is compared with power exponential model PE (see Eq.2), which was previously used to analyze gastric emptying data (28, 23).

The ability of classical GV and PE models to fit observed gastric emptying data from humans has been questioned in the past. A multicomponent mathematical treatment (based on convolution integral) has been developed to try to separate postgastric processing of the label from gastric emptying (16). The presence of two peaks in the gastric emptying curves for mice has been reported but not analyzed in the past (28). Our study is the first to analyze complex gastric emptying patterns in mice. This now appears possible as data can be and are collected at high temporal resolution. Instead of including complexities introduced by the model of Maes et al. (16), we found it appropriate to introduce a two-component empirical model defined by a linear combination of two gamma variates with stretched exponentials (see Eq. 4). This model (GVS2) was capable of representing data with two peaks (Figs. 46) and more intricate one-peak data, which were better described by the a two-component model (Fig. 7) than by a one-component model (GVS). The introduction of a two-component model did have an effect on the values of the characteristic parameters (Table 1): T1/2, Tlag, and normalized maximal rate of gastric emptying R. We introduced characteristic parameter R as perhaps a better characterization of gastric emptying rate than the GEC (see Ref. 28), which can be reasonably defined only for one-component models.

We have developed our own software for 13CO2 data analysis, partially in R (data preprocessing) and in FORTRAN (fitting). In it we implemented some features that appear required when working with 13CO2 measurements from mice, especially younger mice. These are the ability to remove dropped points that are clear artifacts and accurate correction of the background. Both issues arise due to the low signal obtained from an animal weighing less than 20 g, which generates small amounts of CO2. Occasionally points need to be dropped from the curve due to blocks in the tubing by condensation or instability in the calibration of the machine. Both of these blockages result in a failure to discriminate the spectroscopic signals from H2O and 13CO2 and generate a clear artifact in the curve at a single time point. The second issue is the difficulty of accurately setting the baseline when the signal is very small in relation to the noise in the system. This issue has been addressed by introducing an additive constant to the model to ensure that the data are fitted without distortion by an inaccurately set baseline.

A correction for failure to recover all the 13C fed to the animal is implicitly incorporated in coefficient a (Eqs. 1, 2, and 3) or in a1 and a2 (Eq. 4). This is important since a small but significant amount of 13C is incorporated into the bone and/or excreted in the urine and feces (16). Incomplete fasting of the mice can also be detected and can be a confounding factor in this type of study due to the higher than background levels of 13C in standard mouse chow (28).

To investigate the merit of the considered four models (PE, GV, GVS, and GVS2) we applied them to 175 data sets and used AIC to select the preferable model for each data set. In most cases the one-component GV model with stretched exponential GVS was selected as the optimal representation of gastric emptying data with respect to goodness of fit and the number of free parameters. Of course this was not the case when two peaks were observable or when the shape of the gastric emptying curve was considerably different from the shapes that the GV model with stretched exponential can provide (Fig. 7).

The two classical models GV and PE were rarely selected as a preferred model, i.e., 7.5% times. One may pose the question whether in analyzing gastric emptying data one has to try these models as well. Our analysis indicates that this is not necessary, because the GVS provides essentially the same values for the characteristic parameters. This is, of course expected when the GV is selected, because this model is nested in GVS, i.e., GV is obtained from GVS by fixing parameter c to 1. In the case where PE was selected the difference was also insignificant.

Using a model that fits data well has a significant impact on the interpretation of the gastric emptying data. For example, in case 3 of Table 1 (corresponding to Fig. 4) T1/2 provided by GVS model is 153 min with large uncertainty of 43 min, while GVS2 value is 109 min with uncertainty of 14 min. In our studies 153 min is considered delayed, whereas 109 min is considered normal. Since delayed gastric emptying is associated with defined anatomical and biochemical changes (6, 7), then the accuracy of our determination as to whether the mice have delayed or normal gastric emptying affects the interpretation of these associations.

In summary, our study points out that two factors necessary to fit the data more effectively are the stretching of the GV model and the use of a two-component model to fit data with two clear peaks. Stretching the GV model may better reflect the influence of metabolic differences at later time points when gastric emptying contributes less to the overall levels of 13CO2 released in the breath as reported in analysis of human data (16). Future studies can be directed towards testing the proposed models in studies on gastric emptying in humans where they might be useful in detecting changes in gastric emptying that do not show up with the existing approaches to analyzing breath test data.

GRANTS

This work was supported by National Institute of Diabetes and Digestive and Kidney Diseases Grants DK-68055 and DK-57061.

DISCLOSURES

No conflicts of interest, financial or otherwise, are declared by the author(s).

AUTHOR CONTRIBUTIONS

Author contributions: Ž.B., S.J.G., D.R.L., and G.F. conception and design of research; Ž.B., S.J.G., H.D.C., D.R.L., and G.F. analyzed data; Ž.B., S.J.G., H.D.C., D.R.L., and G.F. interpreted results of experiments; Ž.B. and S.J.G. prepared figures; Ž.B., S.J.G., H.D.C., D.R.L., and G.F. drafted manuscript; Ž.B., S.J.G., H.D.C., D.R.L., and G.F. edited and revised manuscript; Ž.B., S.J.G., H.D.C., D.R.L., and G.F. approved final version of manuscript.

ACKNOWLEDGMENTS

We thank Kristy Zodrow for help with the preparation and submission of the manuscript and Jessica Phillips and Stephanie Hein for work carrying out the gastric emptying studies utilized in this manuscript. We also thank Chetan Offord for assistance in preparing the figures. Finally, we thank the reviewers for comments that helped to considerably improve the manuscript.

Appendix

Here we first describe in some detail how the least-squares fitting was performed. Then, we explain how the uncertainties in characteristic parameters were estimated.

The models involved contain free parameters that are arranged linearly in the model function. For example in case of GVS model the sum of squares of errors (SSE) is given by:

SSE=i=1n[yiδaf(ti)]2,  f(t)=tbe(t/τ)c (14)

where δ is the baseline correction. The minimization should be performed with respect to a, b, c, and δ. It was found useful to solve for linear parameters a and δ, which at the minimum should satisfy:

/δi=1n[yiδaf(ti)]2=/ai=1n[yiδaf(ti)]2=0 (15)

yielding

δ=y¯af¯,a=(Syfny¯f¯)/(Sffnf¯2) (16)

where

y¯=n1i=1nyi,f¯=n1i=1nf(ti),Syf=i=1nyif(ti),Sff=i=1nf2(ti) (17)

Thus the least-squares method is reduced to minimizing SSE given by Eq. 14 with respect b, c, τ while δ and a are given by Eq. 16. In calculating f(t) as given in Eq. 14, we found that numerical overflow is better controlled if f(t) is expressed as exp[−(t/τ)c + b ln t]. In some cases, the fitting leads to baseline correction δ that is unacceptably large in absolute value compared with the mean ȳ of all data (Eq. 16). In this case we introduce the penalty function which requires that |δ/ȳ| < 0.5.

We used the same procedure of solving for a and δ for GV and PE models. The fitting with GVS2 model is more challenging due to higher number of free parameters. However, it is still possible to reduce the number of fitting parameters by analytic method outlined above for the GVS model. In this case we search the minimum of

SSE=i=1n[yiδa1f1(ti)a2f2(ti)]2 (18)

with respect to bj, τj, cj, j = 1, 2. Zero partial derivatives with respect to aj, j =, 1, 2 and δ provide the system of three linear equations that can be solved yielding a1, a2 and δ as functions of b1, b2, τ1, τ2, c1, c2. Then, the numerical minimization with respect to these parameters is performed via SIH algorithm. In relatively rare cases when the fit function becomes negative for some t it is set to zero according to Eq. 5. This in effect restricts allowable parameters b1, b2, τ1, τ2, c1, c2. We found this acceptable, as the number of free parameters involved appears more than sufficient to describe various patterns of excretion curves.

Once the best-fit model parameters are found we can calculate gastric emptying characteristic parameters T1/2, Tlag, and R, according to formulas discussed in materials and methods. However, it is also of interest to estimate the uncertainties in these parameters. We used the bootstrap method (31) assuming that measurement errors in data are distributed with an identical but otherwise not necessarily known distribution. This assumption is consistent with the nature of the measurements involved. In brief, the residuals ri = yiy(ti), i = 1, . . ., n obtained by fitting the original data are considered to be a sample of errors, which are then used to construct synthetic data according to the prescription:

si=y(ti)+rl,i=1,n, (19)

where l is an integer picked at random from the set {1, 2, . . .,}. Synthetic data are then fit by the model and characteristic parameters obtained as in the case of actually measured data. We used 200 synthetic data sets and obtained a population of T1/2, Tlag and R. The uncertainty in parameters is then estimated by the standard deviation for that population.

REFERENCES

  • 1.Bajzer Ž, Huzak M, Neff KL, Prendergast FG. Mathematical analysis of models for reaction kinetics in intracellular environments. Math Biosci 215: 35–47, 2008. [DOI] [PubMed] [Google Scholar]
  • 2.Bassingthwaighte JB, Liebovitch LS, West BJ. Fractal Physiology. New York: Oxford Univ. Press, 1994, p. 182–209. [Google Scholar]
  • 3.Bennink RJ, De Jonge WJ, Symonds EL, van den Wijngaard RM, Spijkerboer AL, Benninga MA, Boeckxstaens GE. Validation of gastric-emptying scintigraphy of solids and liquids in mice using dedicated animal pinhole scintigraphy. J Nucl Med 44: 1099–1104, 2003. [PubMed] [Google Scholar]
  • 4.Burnham KP, Anderson DR. Multimodel inference: understanding AIC and BIC in model selection. Soc Methods Res 33: 261–304, 2004. [Google Scholar]
  • 5.Choi MG, Camilleri M, Burton DD, Zinsmeister AR, Forstrom LA, Nair KS. Reproducibility and simplification of 13C-octanic acid breath test for gastric emptying of solids. Am J Gastroenterol 93: 92–98, 1998. [DOI] [PubMed] [Google Scholar]
  • 6.Choi KM, Zhu J, Stoltz GJ, Vernino S, Camilleri M, Szurszewski JH, Gibbons SJ, Farrugia G. Determination of gastric emptying in nonobese diabetic mice. Am J Physiol Gastrointest Liver Physiol 293: G1039–G1045, 2007. [DOI] [PubMed] [Google Scholar]
  • 7.Choi KM, Gibbons SJ, Nguyen TV, Stoltz GJ, Lurken MS, Ordog T, Szurszewski JH, Farrugia G. Heme oxygenase-1 protects interstitial cells of cajal from oxidative stress and reverses diabetic gastroparesis. Gastroenterology 135: 2055–2064, 2008. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 8.Choi KM, Kashyap PC, Dutta N, Stoltz GJ, Ordog T, Donohue TS, Bauer AJ, Linden DR, Szurszewski JH, Gibbons SJ, Farrugia G. CD206-positive M2 macrophages that express heme oxygenase-1 protect against diabetic gastroparesis in mice. Gastroenterology 138: 2399–2409, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 9.Cooke AR. Control of gastric emptying and motility. Gastroenterology 68: 804–816, 1975. [PubMed] [Google Scholar]
  • 10.Creedon CT, Verhulst PJ, Choi KM, Mason JE, Linden DR, Szurszewski JH, Gibbons SJ, Farrugia G. Assessment of gastric emptying in non-obese diabetic mice using a [13C]-octanoic acid breath test. J Vis Exp 73: e50301, 2013. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 11.Ghoos YF, Bart D, Maes BD, Geypens BJ, Mys G, Hiele MI, Rutgeerts PJ, Vantrappen G. Measurements of gastric emptying rate of solids by means of carbon-labeled octanoic acid breath test. Gastroenterology 104: 1640–1647, 2001. [DOI] [PubMed] [Google Scholar]
  • 12.Green GM, Guan D, Schwartz JG, Phillips WT. Accelerated gastric emptying of glucose in Zucker type 2 diabetic rats: role in postprandial hyperglycaemia. Diabetologia 40: 236–142, 1997. [DOI] [PubMed] [Google Scholar]
  • 13.Hauser B, De Schepper J, Caveliers V, Salvatore S, Salvatoni A, Vandenplas Y. Variability of the 13C-acetate breath test for gastric emptying of liquids in healthy children. J Pediatr Gastroenterol Nutr 42: 392–397, 2006. [DOI] [PubMed] [Google Scholar]
  • 14.Hurvich CM, Tsai CL. Regression and time series model selection in small samples. Biometrika 76: 297–307, 1989. [Google Scholar]
  • 15.Kashyap PC, Choi KM, Dutta N, Linden DR, Szurszewski JH, Gibbons SJ, Farrugia G. Carbon monoxide reverses diabetic gastroparesis in NOD mice. Am J Physiol Gastrointest Liver Physiol 298: G1013–G1019, 2010. [DOI] [PMC free article] [PubMed] [Google Scholar]
  • 16.Maes BD, Mys G, Geypens BJ, Evenepoel P, Ghoos YF, Rutgeerts PJ. Gastric emptying flow curve separated from carbon-labeled octanoic acid breath tests. Am J Physiol Gastrointest Liver Physiol 275: G169–G175, 1998. [DOI] [PubMed] [Google Scholar]
  • 17.Maier RS. Information criteria for deciding between normal regression models. Proc R Soc A 2013. May 24 [Epub ahead of print]. [Google Scholar]
  • 18.Offord CP, Bajzer Ž. A hybrid global optimization algorithm involving simplex and inductive search. Lect Notes Comp Sci 2074: 680–688, 2001. [Google Scholar]
  • 19.Polyanin AD, Manzhirov AV. Handbook of Mathematics for Engineers and Scientists. Boca Raton, FL: Chapman & Hall/CRC, 2007, p. 946. [Google Scholar]
  • 20.Press WH, Teukolsky SA, Vetterling WT, Fannery BP. Numerical Recipes in Fortran (2nd ed). Cambridge, UK: Cambridge Univ. Press, 1992, p. 343–347. [Google Scholar]
  • 21.Quigley EM. Review article: gastric emptying in functional gastrointestinal disorders. Aliment Pharmacol Ther 20: Suppl7 56–60, 2004. [DOI] [PubMed] [Google Scholar]
  • 22.Rosner B. Percentage points for a generalized ESD many-outlier procedure. Technometrics 25: 165–172, 1983. [Google Scholar]
  • 23.Sanaka M, Yamamoto T, Ishii T, Kuyama Y. The Wagner-Nelson method can generate an accurate gastric emptying flow curve from 13CO2 data obtained by a 13C-labeled substrate breath test. Digestion 69: 71–78, 2004. [DOI] [PubMed] [Google Scholar]
  • 24.Sanger GJ, Broad J, Andrews PL. The relationship between gastric motility and nausea: gastric prokinetic agents as treatments. Eur J Pharmacol 715: 10–14, 2013. [DOI] [PubMed] [Google Scholar]
  • 25.Schwartz JG, Green GM, Guan D, McMahan CA, Phillips WT. Rapid gastric emptying of a solid pancake meal in type II diabetic patients. Diabetes Care 19: 468–471, 1996. [DOI] [PubMed] [Google Scholar]
  • 26.Sprung J, Whalen FX, Comfere T, Bosnjak Ž, Bajzer Ž, Gajic O, Sarr MG, Schroeder DR, Liedl LM, Offord CP, Warner DO. Alveolar recruitment and arterial desflurane concentration during bariatric surgery. Anesth Analg 108: 120–127, 2009. [DOI] [PubMed] [Google Scholar]
  • 27.Sugiura N. Further analysis of the data by Akaike's information criterion and the finite corrections. Comm Stat Theory Methods 7: 13–26, 1978. [Google Scholar]
  • 28.Symonds EL, Butler RN, Omari TI. Assessment of gastric emptying in the mouse using [13C]-octanoic acid breath test. Clin Exp Pharmacol Physiol 27: 671–675, 2000. [DOI] [PubMed] [Google Scholar]
  • 29.Thomforde GM, Camilleri M, Phillips SF, Forstrom LA. Evaluation of an inexpensive screening scintigraphic test of gastric emptying. J Nucl Med 36: 93–96, 1995. [PubMed] [Google Scholar]
  • 30.Wagenmakers EJ, Farrel S. AIC model selection using Akaike weights. Psychonomic Bull Rev 11: 192–196, 2004. [DOI] [PubMed] [Google Scholar]
  • 31.Walter E, Pronzato L. Identification of Parametric Models from Experimental Data. Paris: Masson, 1997, p. 244. [Google Scholar]
  • 32.Yung BC, Sostre S. Lag phase in solid gastric emptying: comparison of quantification by physiological and mathematical definitions. J Nucl Med 34: 1701–1705, 1993. [PubMed] [Google Scholar]

Articles from American Journal of Physiology - Gastrointestinal and Liver Physiology are provided here courtesy of American Physiological Society

RESOURCES