On this page
13.2 Tracking stability
Based on the long-term study, after analyzing the data related to this type of study, you may be interested in analyzing how future observations corresponding to this process are behaving. In other words, the objective is to monitor and confirm the Expiry Date for the medicine or IFA and the IFA Retest Deadline, as described in RDC nº 318. For this purpose, this section describes the statistical techniques for the monitoring stability study.
For the monitoring analysis, new observations of the process are taken and the process behavior is evaluated, using prediction intervals. These intervals are constructed based on the long-term study and depend on the scenario in which the stability study is located:
- Scenario 1: A single model is adjusted for long-term data, that is, the test of equality of intercepts is not rejected and the test of equality of angular coefficients is not rejected.
- Scenario 2: In this situation, in the long-term study, the batch factor is significant and the interaction between batch and time is not significant. Thus, the test of equality of intercepts is rejected and the test of equality of angular coefficients is not rejected. When this occurs, each lot will present a different intercept and all lots will have the same angular coefficient.
- Scenario 3: When the interaction between batch and time is significant in the long-term study, that is, when the parallelism test is rejected. In this case, the batch that resulted in the angular coefficient of greatest magnitude in the complete model obtained in the long-term study is taken to calculate the corresponding prediction interval term.
The mathematical expressions for determining the lower (LIA) and upper (LSA) monitoring limits, referring to each scenario, are compiled in Table 13.2.1.
| Scenario | LIA | LSA |
|---|---|---|
| 1 | $Y_0 + t \cdot \widehat{\beta}_1 - t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+\frac{1}{n}+\frac{\left(t-\bar{x}\right)^{2}}{\sum_{i=1}^{n}\left(x_{i}-\bar{x}\right)^{2}}}$ | $Y_0 + t \cdot \widehat{\beta}_1 + t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+\frac{1}{n}+\frac{\left(t-\bar{x}\right)^{2}}{\sum_{i=1}^{n}\left(x_{i}-\bar{x}\right)^{2}}}$ |
| 2 | $Y_0 + t \cdot \widehat{\beta}_1 - t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+x_{t}^{T}\left(X^{T} X\right)^{-1} x_{t}}$ | $Y_0 + t \cdot \widehat{\beta}_1 + t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+x_{t}^{T}\left(X^{T} X\right)^{-1} x_{t}}$ |
| 3 | $Y_0 + t \cdot \widehat{\beta}_M - t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+x_{t}^{T}\left(X^{T} X\right)^{-1} x_{t}}$ | $Y_0 + t \cdot \widehat{\beta}_M + t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+x_{t}^{T}\left(X^{T} X\right)^{-1} x_{t}}$ |
Table 13.2.1: Monitoring Intervals for Stability Studies
where
- $Y_0$: Response observed at time 0 of the follow-up batch;
- $t$: Time for which you want to build the monitoring interval.
- $\widehat{\beta}_1$: Adjusted slope of the long-term study, 0 if time is not significant (Scenarios 1 and 2).
- $x_t$: Matrix observation vector $X$ for time $t$ in the follow-up batch (Scenarios 2 and 3).
- $X$: Model delineation matrix (Scenarios 2 and 3).
- $\widehat{\beta}_M$: Angular coefficient of greatest magnitude between the models for each batch (Scenario 3).
- $t^*$: Quantile of $\left( 1-\frac{\alpha}{2} \right)$ from the t-Student distribution with $n-p-1$ degrees of freedom.
- $\widehat{\sigma}$: Estimated standard deviation of the regression model.
- confidence level of 99.73%.
If there are replicas, the value $Y_0$ will be replaced by the average of the response, $\overline{Y}_0$. When there is no trend, that is, when the significance of time is rejected, the $\widehat{\beta}_1$ as 0.
Example
Scenario 1 - Equal intercepts and equal angular coefficients
For monitoring, the following data is presented in Table 13.2.2.
| Lot 1 | Lot 2 | Lot 3 | Lot 4 (Follow-up) | ||||
|---|---|---|---|---|---|---|---|
| Time | Measurements | Time | Measurements | Time | Measurements | Time | Measurements |
| 0 | 97,6827 | 0 | 102,0645 | 0 | 102,6337 | 0 | 102,3654 |
| 3 | 104,4361 | 3 | 95,6986 | 3 | 102,2354 | ||
| 6 | 101,4657 | 6 | 95,0475 | 6 | 107,4803 | ||
| 9 | 101,2829 | 9 | 100,6914 | 9 | 99,3431 | ||
| 12 | 101,4556 | 12 | 96,7143 | 12 | 101,1194 | 12 | 100,8769 |
| 18 | 96,793 | 18 | 101,9347 | 18 | 100,1674 | ||
| 24 | 98,4863 | 24 | 101,3223 | 24 | 97,2033 | 24 | 100,5624 |
| 36 | 104,8448 | 36 | 102,3533 |
Table 13.2.2: Monitoring data
With these data, in the long-term study, we have:
Parallelism Test
| G.L. | Sum of Squares | Medium Square | Stat. F | P-value | |
|---|---|---|---|---|---|
| Time | 1 | 0,8461 | 0,8461 | 0,0870 | 0,7716 |
| Lot | 2 | 23,3998 | 11,6999 | 1,2026 | 0,3247 |
| Time: Lot | 2 | 17,6392 | 8,8196 | 0,9065 | 0,4226 |
| Waste | 17 | 165,3962 | 9,7292 |
Table 13.2.3: Parallelism test
Intercept equality test
| G.L. | Sum of Squares | Medium Square | Stat. F | P-value | |
|---|---|---|---|---|---|
| Time | 1 | 0,8461 | 0,8461 | 0,0878 | 0,7702 |
| Lot | 2 | 23,3998 | 11,6999 | 1,2145 | 0,3189 |
| Waste | 19 | 183,0354 | 9,6334 |
Table 13.2.4: Test of equality of intercepts
Time Significance Test
| G.L. | Sum of Squares | Medium Square | Stat. F | P-value | |
|---|---|---|---|---|---|
| Time | 1 | 0,8461 | 0,8461 | 0,0861 | 0,7721 |
| Waste | 21 | 206,4652 | 9,8302 |
Table 13.2.5: Time significance test
Thus, we have scenario 1 described above. Therefore, the following long-term model is used:
$$ \widehat{Y} = 100,31102 + 0,01841* \hbox{Tempo} $$
As there is no tendency, we take $x_t=0$ and consequently the monitoring limits are the same for all observations: $$ \begin{align*} LIA =& Y_0 + t \cdot \hat{\beta}_1 - t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+\frac{1}{n}+\frac{\left(x_{t}-\bar{x}\right)^{2}}{\sum_{i=1}^{n}\left(x_{i}-\bar{x}\right)^{2}}} \cr =& 102,365 + 0 \cdot 0 - t_{\left(1-\frac{0,027}{2} ; 23-2\right)} \cdot 3,1353 \cdot \sqrt{1+\frac{1}{23}+\frac{\left(0- 12,52174\right)^{2}}{2495,739} } \cr =& 91,1540. \end{align*} $$
$$ \begin{align*} LSA =& Y_0 + t \cdot \hat{\beta}_1 + t^* \cdot \widehat{\sigma} \cdot \sqrt{1+\frac{1}{n}+\frac{\left(x_{t}-\bar{x}\right)^{2}}{\sum_{i=1}^{n}\left(x_{i}-\bar{x}\right)^{2}}} \cr =& 102,365 + 0 \cdot 0 + t_{\left(1-\frac{0,0027}{2} ; 23-2\right)} \cdot 3,1353 \cdot \sqrt{1+\frac{1}{23}+\frac{\left(0- 12,52174\right)^{2}}{2495,739} } \cr =& 113,5768. \end{align*} $$
For monitoring upper limits that resulted in a value greater than the upper specification limit, it will be considered $LSA = 110$. At the system output we have:
Figure 13.2.1: Tracking stability (Batch 4)
Scenario 2 - Different intercepts and same angular coefficient
For this exemplification, consider the following data in Table 13.2.6.
| Time (months) | B.V. | A.J. | AN66 | AV634 | BZ8331 | C30 |
|---|---|---|---|---|---|---|
| 0 | 104,7 | 101,04 | 99,32 | 103,52 | 102,16 | 104,90 |
| 3 | 106,42 | 101,92 | 106,34 | 98,66 | ||
| 6 | 105,04 | 99,78 | 104,26 | 102,62 | ||
| 9 | 105,2 | 98,88 | 104,08 | 100,16 | ||
| 12 | 104,54 | 104,74 | 99,6 | 102,44 | 98,54 | 107,02 |
| 18 | 102,02 | 99,66 | 102,38 | |||
| 24 | 105,54 | 101,56 | 98,26 | 104,18 | 106,56 | |
| 36 | 104,32 | 99,24 |
Table 13.2.6: Monitoring data
With these data, in the long-term study, we have:
Parallelism Test
| G.L. | Sum of Squares | Medium Square | Stat. F | P-value | |
|---|---|---|---|---|---|
| Time | 1 | 3,17 | 3,18 | 1,19 | 0,29 |
| Lot | 3 | 111,38 | 37,13 | 13,91 | 0,00 |
| Time: Lot | 3 | 2,38 | 0,79 | 0,29 | 0,82 |
| Waste | 20 | 53,37 | 2,67 |
Table 13.2.7: Parallelism test
Intercept equality test
| G.L. | Sum of Squares | Medium Square | Stat. F | P-value | |
|---|---|---|---|---|---|
| Time | 1 | 3,18 | 3,18 | 1,31 | 0,26 |
| Lot | 3 | 111,38 | 37,13 | 15,32 | 0,00 |
| Waste | 23 | 55,75 | 2,42 |
Table 13.2.8: Test of equality of intercepts
Thus, as there is no rejection of the hypothesis of parallelism ($p-$value = $0,82 > 25\char37$) and the rejection of the hypothesis of equality of intercepts equality ($\hbox{p-valor} \approx 0 < 25\char37$), for this data, scenario 2 is used.
The complete model looks like this:
$$\widehat{Y} = 104,3832 -0,0438\cdot \text{Tempo} -4,2100 \cdot \text{LoteAN66} -0,0474 \cdot \text{LoteAV634} -3,6926 \cdot \text{LoteBZ8331}$$
And the monitoring limits are given by:
$$ LIA = Y_0 + t \cdot \widehat{\beta}_1 - t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+x_{t}^{T}\left(X^{T} X\right)^{-1} x_{t}} $$
$$ LSA = Y_0 + t \cdot \widehat{\beta}_1 + t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+x_{t}^{T}\left(X^{T} X\right)^{-1} x_{t}} $$
In the present case we have:
- $\widehat{\sigma}^{2} = 2,42$ (Mean square of waste present in Table Intercept equality test);
- $\widehat{\beta}_1 = -0,0438$;
- $t_{\left(1 - \frac{\alpha}{2}, n-p-1\right)} = t_{\left(1 - \frac{0,0027}{2}, 28 - 4 - 1\right)} = t_{\left(0,99865; 23\right)} = 3,361289$.
It will be considered $\hat{\beta}_1$ as being zero due to the fact that it is not significant (see Intercept equality test, $p-$value = $0,26 > 5\char37$).
As there is no trend, the monitoring limits are the same for all observations of each batch.
For the BV monitoring batch, we have $x_t^{\top} = [1, 0, 0, 0, 0]$. Then,
$$ LIA = 104,70 + t \cdot 0 - 3,361289 \sqrt{2,423888\left(1+x_{t}^{\top}\left(X^{\top} X\right)^{-1} x_{h}\right)} = 98,97484 $$
$$ LSA = 104,70 + t \cdot 0 + 3,361289 \sqrt{2,423888\left(1+x_{t}^{\top}\left(X^{\top} X\right)^{-1} x_{t}\right)} = 110,42516. $$
For follow-up batch C30 we have $x_t^{\top} = [1, 0, 0, 0, 0]$. Then,
$$ LIA = 104,90 + t \cdot 0 - 3,361289 \sqrt{2,423888\left(1+x_{t}^{\top}\left(X^{\top} X\right)^{-1} x_{h}\right)} = 99,17484 %101,3765 $$
$$ LSA = 104,90 + t \cdot 0 + 3,361289 \sqrt{2,423888\left(1+x_{t}^{\top}\left(X^{\top} X\right)^{-1} x_{t}\right)} = 110,62516 %108,4235. $$
For monitoring upper limits that resulted in a value greater than the upper specification limit, it will be considered $LSA = 110$. In Action Stat you have:
Figure 13.2.2: Monitoring Stability (Batches BV and C30)
Scenario 3 - Different slopes
For this exemplification, consider the following data in Table 13.2.9.
| Long Lasting | Follow-up | |||
|---|---|---|---|---|
| Time | Lots A | Lots B | Lots C | Lot D |
| 0 | 101,6158 | 104,3506 | 104,647 | 108,7988 |
| 3 | 99,2922 | 103,4975 | 106,3846 | |
| 6 | 99,076 | 97,5835 | 100,0886 | |
| 9 | 100,095 | 101,4073 | 101,1726 | |
| 12 | 100,4219 | 99,0102 | 101,7178 | 107,9785 |
| 18 | 99,1044 | 98,744 | 103,8475 | |
| 24 | 101,0261 | 96,2554 | 106,0826 | 106,5485 |
| 36 | 100,0835 | 101,5334 |
Table 13.2.9: Monitoring data
For this data set, we have the following results for the long-term study:
Parallelism Test
| G.L. | Sum of Squares | Medium Square | Stat. F | P-value | |
|---|---|---|---|---|---|
| Time | 1 | 6,0817 | 6,0815 | 1,6010 | 0,2228 |
| Lot | 2 | 52,2446 | 26,1223 | 6,8768 | 0,0065 |
| Lot:Time | 2 | 27,7312 | 13,8656 | 3,6502 | 0,0480 |
| Waste | 17 | 64,5769 | 3,7986 |
Table 13.2.10: Parallelism test
How $p-$value = $0,0480 < 25\char37$ the hypothesis of parallelism is rejected and a model is adjusted considering Time, the Lot factor and the interaction between them. That said, in this case, scenario 3 will be considered.
The complete model looks like this:
$$Y = \beta_0 + \beta_1\cdot \text{Tempo}\cdot +\beta_2\cdot \text{LoteB}\cdot +\beta_3\cdot \text{LoteC}\cdot +\beta_4\cdot \text{Tempo} \cdot \text{LoteB} + \beta_5\cdot \text{Tempo} \cdot \text{LoteC}$$
With the model above, the intercept and angular coefficient are calculated for each batch.
- Lot A: $Y = 100,0879 + 0,0001\cdot \text{Tempo}$
- Lot B: $Y = (100.0879+3.0136) + (0.0001 -0.2897)\cdot \text{Time} = 103.1014 -0.2897 \cdot \text{Time}$
- Lot C: $Y = (100.0879 - 3.0136) + (0.0001 -0.0225) \cdot \text{Time} = 103.4870 - 0.0225 \cdot \text{Time}$
Note that, in this case, the largest angular coefficient in absolute values (0.2897) refers to batch B. Thus, the monitoring limits are given by: $$ LIA = Y_0 + t \cdot \widehat{\beta}_M - t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+x_{t}^{T}\left(X^{T} X\right)^{-1} x_{t}} $$
$$ LSA = Y_0 + t \cdot \widehat{\beta}_M + t^* \cdot \widehat{\sigma} \cdot\sqrt{ 1+x_{t}^{T}\left(X^{T} X\right)^{-1} x_{t}} $$
In the present case we have:
- $\widehat{\sigma}^{2} = 3,79$;
- $\widehat{\beta}_M = -0,2897$;
- $t_{\left(1 - \frac{\alpha}{2}, n-p-1\right)} = t_{\left(1 - \frac{0,0027}{2}, 23 - 5 - 1\right)} = t_{\left(0,99865; 17\right)} = 3,507463$.
Therefore, the monitoring limits are:
-
For time 0, we have the vector of covariates given by $x_0^{\top} = [1, 0, 1, 0, 0,0]$. Then,
$$ LIA = 108,7988 + 0 \cdot (-0,2897) - 3,507463 \sqrt{3,79\left(1+x_{0}^{\top}\left(X^{\top} X\right)^{-1} x_{0}\right)} = 100,7414 $$
$$ LSA = 108,7988 + 0 \cdot (-0,2897) + 3,507463 \sqrt{3,79\left(1+x_{h}^{\top}\left(X^{\top} X\right)^{-1} x_{h}\right)} = 116,8562. $$
-
For time 12, we have the vector of covariates given by $x_{12}^{\top} = [1, 12, 1, 0, 12,0]$. Then,
$$ LIA = 108,7988 + 12 \cdot (-0,2897) - 3,507463 \sqrt{3,79\left(1+x_{12}^{\top}\left(X^{\top} X\right)^{-1} x_{12}\right)} = 97,9920 $$
$$ LSA = 108,7988 + 12 \cdot (-0,2897) + 3,507463 \sqrt{3,79\left(1+x_{12}^{\top}\left(X^{\top} X\right)^{-1} x_{12}\right)} = 112,6518. $$
- For time 24, we have the vector of covariates given by $x_{24}^{\top} = [1, 24, 1, 0, 24,0]$. Then,
$$ LIA = 108,7988 + 24 \cdot (-0,2897) - 3,507463 \sqrt{3,79\left(1+x_{24}^{\top}\left(X^{\top} X\right)^{-1} x_{24}\right)} = 93,2499 $$
$$ LSA = 108,7988 + 24 \cdot (-0,2897) + 3,507463 \sqrt{3,79\left(1+x_{24}^{\top}\left(X^{\top} X\right)^{-1} x_{24}\right)} = 110,4400. $$
For monitoring upper limits that resulted in a value greater than the upper specification limit, it will be considered $LSA = 110$.
As an output from Action Stat, we have:
Figure 13.2.3: Monitoring Stability (Batch 4)