Shelf-Life Stability Analysis (ICH Q1E)
Operator: Abdulla Al Fahad. How tools are built and checked
A stability study gives you a handful of results per batch over two years, and the regulatory question is how long a product can be labelled for. The method in ICH Q1E answers it with a regression: fit the batches, decide whether they can be pooled, and find the time at which the one-sided 95 percent confidence bound of the mean first reaches the specification limit.
Three assay batches measured at 0, 3, 6, 9, 12, 18 and 24 months against a lower limit of 95 percent of label claim show the pattern. The slopes do not differ (p = 0.396) but the intercepts do (p = 1.2 x 10^-7), so the batches share a slope of -0.230 per month and the bound meets 95 at 23.39, 20.81 and 17.98 months. The shortest, batch C, is the estimate.
Key features
- Per-batch linear regression with an optional natural-log transform for first-order loss
- Poolability by analysis of covariance: equal slopes tested first, then equal intercepts, both at a level you set (0.25 by default)
- Shelf life from the one-sided confidence bound on the mean, for a lower limit, an upper limit, or both with the earlier crossing counted
- A plot of the fitted lines and bound curves for every batch with the limits and the proposed shelf life marked, downloadable as SVG or PNG
- An Arrhenius fit of rate constants with a 95 percent prediction interval at storage temperature, and the ASTM F1980 accelerated ageing time from Q10
How the shelf life is calculated
Give one row per result with a batch name, a time and a number; a condition or attribute column can be used as a filter so one table holds everything. Every batch needs at least 3 results at two or more different times, and up to 200 batches and 50,000 results are accepted. Text such as "<LOQ" is refused with its row number rather than skipped, because dropping censored results would flatter the trend.
The model is nested: separate lines for each batch (batch, time and batch by time), then a common slope with separate intercepts, then one line. The slope test compares the first two models against the residual mean square of the separate-lines model; the intercept test compares the last two against the common-slope mean square. If the slope test gives p below the level you set the batches keep their own lines; otherwise the intercept test decides between separate intercepts and a single pooled line.
For each curve the bound is the fitted value minus t times the standard error of the mean, with t the one-sided quantile on the residual degrees of freedom of the chosen model (1.7396 for 17 df at 95 percent). The crossing is found by scanning 4,000 steps out to ten times the longest observed time and refining the first crossing by bisection. If the bound never meets a limit in that range the page says so instead of printing a number.
How it works
All three sums of squares come from within-batch and overall sums of squares and cross-products, so no matrix inversion is involved. They were checked against a general least-squares fit built with dummy variables, and agree to 12 digits.
With a log transform the limits are converted too, and results and bounds are plotted back on the original scale. Zero-order loss is a straight line in the result; first-order loss is a straight line in its logarithm.
Common use cases
- A 24-month study of a tablet shows the bound meeting the limit at 17.98 months for the weakest batch. A proposed 24-month label would need more than the data support, and the plot shows where the dashed bound cuts the red limit line.
- A product is stressed at 25, 30, 40 and 50 C. Rate constants of 0.0021, 0.0042, 0.0151 and 0.0488 per month at 25, 30, 40 and 50 C give an activation energy of 100.7 kJ/mol and 0.0021 per month at 25 C, with a prediction interval of 0.0019 to 0.0023, to compare against the real-time slope.
- A device package must be aged to a 1-year shelf life at 22 C using 55 C. With Q10 = 2 the accelerated time is 365 / 2^3.3 = 37.06 days, or about 889 hours.
How to use this tool
- Drop the table or load the illustrative assay set, then confirm the batch, time and result columns.
- Enter the lower and/or upper limit, and the proposed shelf life if there is one; leave the pooling level at 0.25 and the confidence at 95 unless your protocol says otherwise.
- Read the poolability rows, then the shelf life per batch and the overall figure, and check the plot for a bound that bends toward the limit sooner than the data suggest.
- Download the PDF, CSV or XLSX, which carry the model comparison and the settings.
Example
Three batches (A, B, C) of an assay in percent of label claim at 0, 3, 6, 9, 12, 18 and 24 months, lower limit 95, pooling level 0.25, 95% one-sided confidence
Batch A: 100.8, 100.1, 99, 98.4, 98.1, 96.2, 95.1
Batch B: 100, 99.5, 98.6, 97.9, 97.1, 95.9, 94.4
Batch C: 98.9, 98.8, 97.5, 97.8, 96.6, 95.2, 93.9Poolability and shelf life
Equal slopes: F = 0.985 on 2 and 15 df, p = 0.396
Equal intercepts: F = 46.66 on 2 and 17 df, p = 1.2e-7
Model: common slope -0.2300 per month, intercepts 100.61, 99.99 and 99.32; residual MSE 0.0620 on 17 df
Shelf life: A 23.39, B 20.81, C 17.98 months; overall 17.98 months (batch C)
With the log transform the overall estimate is 18.03 monthsCommon pitfalls
Batch is treated as a fixed factor. Random batch effects, as in mixed-model treatments of stability, are not modelled, and degradation that is not linear on the chosen scale is not detected by the poolability tests.
The Q1E extrapolation limits printed under the result (up to 2 times the long-term data and not more than 12 months beyond it when there is no significant change, 1.5 times and 6 months where change is seen) are shown as guidance. The guideline is being consolidated into a single ICH Q1 text, so check the current wording.
Poolability tests at 0.25 are deliberately easy to fail. With only a few results per batch they can reject pooling for differences that are analytically trivial, and the shelf life then falls to the worst individual batch.
The regulatory decision belongs to the sponsor; the page reports a statistical bound, not an approved expiry.
- When the slope test lands between 0.25 and about 0.4, run the page both ways with the pooling level at 0.25 and 0.05 and compare the overall figure; a large gap says the poolability decision, not the data, is driving the expiry.
- Read the bound curves at the proposed shelf life as well as the crossing time: a batch whose curve is already close to the limit at 24 months has no room for assay variability that the batches did not show.
Common errors and how to fix them
- "Batch \"X\" has all its results at one time point"
- A slope needs at least two different times in every batch; remove the batch or add results at another time.
- "The confidence bound never meets a limit within 10 times the longest observed time"
- The data show almost no change, so no shelf life can be read from this regression. Report the data and the extrapolation rules rather than a number.
Best practices
- Analyse one attribute and one storage condition at a time, and keep the unrounded results from the instrument; rounding to the nearest percent before regression changes the residual variance that sets the bound.
- Put the proposed shelf life on the page so the plot marks it; it makes the gap between the claim and the data visible to a reviewer.
Arrhenius and Q10 on the same page
The Arrhenius panel regresses ln k on 1/T (kelvin) for at least three different temperatures, converts the slope to an activation energy with R = 8.314 J/(mol K), and predicts the rate constant at the temperature you give with 95 percent prediction and confidence limits from the t distribution on n - 2 degrees of freedom. Rate constants come from your own fits; the page does not derive them from the stability table, because the choice of order and time range belongs to the analyst.
The ageing-time panel applies the formula of ASTM F1980: real-time age divided by Q10 raised to (accelerated temperature minus ambient) over 10. Q10 is limited to 1 to 10; 2 is the usual default and is a conservative assumption, not a measured property of your material.
Frequently asked questions
Why does the overall shelf life come from only one batch?
When the batches cannot be pooled, Q1E has the shelf life set by the batch whose bound crosses first, so the overall figure is the minimum of the per-batch values. A single pooled line is used only when both the slope and intercept tests pass the pooling level.
What happens with a two-sided specification?
The lower bound is compared with the lower limit and the upper bound with the upper limit, each at the one-sided confidence you set, and the earlier crossing sets the shelf life. The table shows which limit it was.
Can a single batch be analysed?
Yes. With one batch no poolability test is possible and the bound is that of a simple regression; ICH Q1A asks for at least three batches in a registration, so treat the single-batch result as an in-house estimate. A table with one regression and no bound is better served by a plain linear-regression page.