Select the method or formula of your choice.

To simplify the calculation of the shelf life, consider which model you fit to the data.

When the batch effect and the batch*time interaction are in the model, the fit for the *i*^{th} batch at time *x*_{ij} uses the model that follows:

To find the shelf life, set the equation that follows equal to the lower specification limit and solve for time (x).

where

*I* = the total number of batch levels

*n* = the total number of response values

**X** = the design matrix for the model

To calculate a meaningful shelf life, Minitab evaluates two conditions. First, Minitab determines whether the mean response is statistically greater than the lower specification limit at time = 0.

Second, Minitab determines whether the mean response declines at a statistically significant rate over time.

If the initial response is great enough and the response decreases over time, then Minitab calculates the shelf life. To calculate the shelf life, use the quadratic equation as follows:

where

When the batch*time interaction is not in the model, the slopes are the same for every batch. The fit for the *i*^{th} batch at time *x*_{ij} uses the model that follows:

To find the shelf life, set the equation that follows equal to the lower specification limit and solve for time (*x*).

where

*I* = the total number of batch levels

*n* = the total number of response values

**X** = the design matrix for the model

To calculate a meaningful shelf life, Minitab evaluates two conditions. First, Minitab determines whether the mean response is statistically greater than the lower specification limit at time = 0.

Second, Minitab determines whether the mean response declines at a statistically significant rate over time.

If the initial response is great enough and the response decreases over time, then Minitab calculates the shelf life. To calculate the shelf life, use the quadratic equation as follows:

where

When only time is in the model, the slopes and intercepts are the same for every batch. The fit at time *x*_{ij} uses the model that follows:

To find the shelf life, set the equation that follows equal to the lower specification limit and solve for time (*x*).

where

*I* = the total number of batch levels

*n* = the total number of response values

**X** = the design matrix for the model

To calculate a meaningful shelf life, Minitab evaluates two conditions. First, Minitab determines whether the mean response is greater than the lower specification limit at time = 0.

Second, Minitab determines whether the mean response declines over time.

If the initial response is great enough and the response decreases over time, then Minitab calculates the shelf life. To calculate the shelf life, use the quadratic equation as follows:

where

Term | Description |
---|---|

the slope for the i^{th} batch | |

the t statistic for the confidence level (cl) and degrees of freedom (df) | |

the variance of the estimated parameter vector | |

the intercept for the i^{th} batch | |

L | the lower specification limit |

X | the design matrix |

i | an index to show the batch that the shelf life estimate is for |

l | the number of levels in the batch factor |

y_{ij} | the response value for the i^{th} batch and the j^{th} time |

the fitted value for the i^{th} batch and the j^{th} time | |

n | the total number of response values |

To simplify the calculation of the shelf life, consider which model you fit to the data.
### The model with time, batch, and the time*batch interaction

### The model with time and batch

### The model with time

When the batch effect and the batch*time interaction are in the model, the fit for the *i*^{th} batch at time *x*_{ij} uses the model that follows:

To find the shelf life, set the equation that follows equal to the upper specification limit and solve for time (*x*).

where

*I* = the total number of batch levels

*n* = the total number of response values

** X** = the design matrix for the model

To calculate a meaningful shelf life, Minitab evaluates two conditions. First, Minitab determines whether the mean response is statistically less than the upper specification limit at time = 0.

Second, Minitab determines whether the mean response increases at a statistically significant rate over time.

If the initial response is low enough and the response increases over time, then Minitab calculates the shelf life. To calculate the shelf life, use the quadratic equation as follows:

where

When the batch*time interaction is not in the model, the slopes are the same for every batch. The fit for the *i*^{th} batch at time *x*_{ij} uses the model that follows:

To find the shelf life, set the equation that follows equal to the upper specification limit and solve for time (*x*).

where

* I* = the total number of batch levels

*n* = the total number of response values

**X** = the design matrix for the model

To calculate a meaningful shelf life, Minitab evaluates two conditions. First, Minitab determines whether the mean response is statistically less than the upper specification limit at time = 0.

Second, Minitab determines whether the mean response increases at a statistically significant rate over time.

If the initial response is low enough and the response increases over time, then Minitab calculates the shelf life. To calculate the shelf life, use the quadratic equation as follows:

where

When only time is in the model, the slopes and intercepts are the same for every batch. The fit at time *x*_{ij} uses the model that follows:

To find the shelf life, set the equation that follows equal to the upper specification limit and solve for time (*x*).

where

*I* = the total number of batch levels

*n* = the total number of response values

**X** = the design matrix for the model

To calculate a meaningful shelf life, Minitab evaluates two conditions. First, Minitab determines whether the mean response is less than the upper specification limit at time = 0.

Second, Minitab determines whether the mean response increases over time.

If the initial response is low enough and the response increases over time, then Minitab calculates the shelf life. To calculate the shelf life, use the quadratic equation as follows:

where

Term | Description |
---|---|

the slope for the i^{th} batch | |

the t statistic for the confidence level (cl) and degrees of freedom (df) | |

the variance of the estimated parameter vector | |

the intercept for the i^{th} batch | |

U | the upper specification limit |

X | the design matrix |

i | an index to show the batch that the shelf life estimate is for |

l | the number of levels in the batch factor |

y_{ij} | the response value for the i^{th} batch and the j^{th} time |

the fitted value for the i^{th} batch and the j^{th} time | |

n | the total number of response values |

To simplify the calculation of the condition for how and when Minitab calculates the shelf life, consider which model you fit to the data.
### The model with time, batch, and the time*batch interaction

### The model with time and batch

### The model with time

Minitab evaluates two conditions to determine whether a meaningful estimate of the shelf life exists. First, Minitab determines whether the mean response is statistically within the specification limits.

where

*I* = the total number of batch levels

*n* = the total number of response values

** X** = the design matrix for the model

Second, Minitab determines whether the mean response changes at a statistically significant rate over time.

If a meaningful estimate exists, then Minitab determines whether the mean response increases or decrease over time. If the second condition is false, then one of the conditions that follows is true.

The response decreases over time.

The response increases over time.

If the mean response decreases over time, then Minitab calculates the shelf life relative to the lower specification limit. Otherwise, Minitab calculates the shelf life relative to the upper specification limit.

Minitab evaluates two conditions to determine whether a meaningful estimate of the shelf life exists. First, Minitab determines whether the mean response is statistically within the specification limits.

where

* I* = the total number of batch levels

*n* = the total number of response values

**X** = the design matrix for the model

Second, Minitab determines whether the mean response changes at a statistically significant rate over time.

If a meaningful estimate exists, then Minitab determines whether the mean response increases or decrease over time. If the second condition is false, then one of the conditions that follows is true:

The response decreases over time.

The response increase over time.

If the mean response decreases over time, then Minitab calculates the shelf life relative to the lower specification limit. Otherwise, Minitab calculates the shelf life relative to the upper specification limit.

Minitab evaluates two conditions to determine whether a meaningful estimate of the shelf life exists. First, Minitab determines whether the mean response is statistically within the specification limits.

where

*I* = the total number of batch levels

*n* = the total number of response values

**X** = the design matrix for the model

Second, Minitab determines whether the mean response changes at a statistically significant rate over time.

If a meaningful estimate exists, then Minitab determines whether the mean response increases or decrease over time. If the second condition is false, then one of the conditions that follows is true:

The response decreases over time.

The response increases over time.

If the mean response decreases over time, then Minitab calculates the shelf life relative to the lower specification limit. Otherwise, Minitab calculates the shelf life relative to the upper specification limit.

Term | Description |
---|---|

the slope for the i^{th} batch | |

l | the number of levels in the batch factor |

n | the number of rows in the data |

the value of the inverse cumulative distribution at cl from the t distribution with df degrees of freedom |