On this page
3.4 Process Performance Analysis for Non-Normal Data
When the data does not follow a normal distribution, we have several alternatives to calculate the process capacity/performance indices. Below we present the alternatives:
-
Apply a transformation to the data, so that it has a normal distribution;
-
Calculate the indices using another probability distribution that fits the data, for example through the Weibull, exponential and lognormal distribution;
-
Use a non-parametric index.
Next we will discuss the alternatives mentioned above.
3.4.1 Data transformation for capacity analysis
When the normal distribution does not fit the data, it is often useful to use transformation methods for the data so that the transformed data comes from the normal distribution. In this section we will see two methodologies for data transformation: Box-Cox transformation and Johnson Curves. The use of transformed data is preferable in many situations due to the ease of interpreting the results. In the case of process capacity indices, the normality of the transformed data facilitates the calculations of capacity and performance indices as well as their interpretation.
3.4.1.1 Box-Cox Transformation
When the normal distribution does not fit the data, it is often useful to apply the Box-Cox transformation to obtain normality. Considering $X_{1}$, …, $X_{n}$ the original data, the Box-Cox transformation consists of finding a λ such that the transformed data $Y_{1}$, …, $Y_{n}$ approximate a normal distribution. This transformation is given by
$$Y_i(\lambda) = \begin{cases} \ln(X_i), \hbox{se $\lambda = 0$,} \cr \cr \dfrac{X_i^{\lambda} - 1}{\lambda}, \hbox{se $\lambda \neq 0$,}\end{cases} $$
Estimation Method
We then need to find an estimate for the transformation parameter $\lambda$. One of the ways to estimate $\lambda$ is using the maximum likelihood method.
We assume that $Y_i(\lambda), i=1,…,n$ is a monotone function such that $Y_i(\lambda) \sim N(\mu,\sigma^2)$ for some $\lambda$ fixed. Therefore, the maximum likelihood function of $Y_i(\lambda)$ in relation to the original observations $Y_i$ is obtained by multiplying the maximum likelihood function by the Jacobian of the transformation, we then have:
$$L \left(Y_i(\lambda), \mu, \sigma^2 \right) = \dfrac{1}{(2\pi)^{n/2}\sigma^n} \exp \left \lbrace \dfrac{-\sum^{n}_{i=1}\left(Y_i(\lambda) - \mu \right)^2}{2\sigma^2} \right \rbrace J(\lambda, Y)$$
in which
$$J(\lambda, Y) = \prod_{i=1}^n \left|\dfrac{\partial Y_i(\lambda)}{\partial Y_i} \right| = \prod_{i=1}^n Y_i^{\lambda-1}$$
In this way, we have to $\lambda$ fixed, the estimators $\hat{\sigma}^2(\lambda)$ and $\hat{\mu}(\lambda)$ are given by:
$$\hat{\mu}(\lambda) = \overline{Y}(\lambda)=\dfrac{\sum_{i=1}^n Y_i(\lambda)}{n}$$
$$\hat{\sigma}^2(\lambda) = \dfrac{\sum_{i=1}^n(Y_i(\lambda) - \overline{Y}(\lambda))^2}{n}$$
Then we substitute the values of $\mu$ and $\sigma^2$ by the maximum likelihood estimators found above, $\hat{\mu}(\lambda)$ and $\hat{\sigma}^2(\lambda)$, respectively, in the maximum likelihood function. In this way, we obtain the logarithm of the maximum likelihood function depending only on $\lambda$
$$\ell(\lambda) =\log\left[L(\lambda| Y_i, \hat{\mu}, \hat{\sigma^2}) \right]=-\dfrac{n\pi}{2}- \dfrac{1}{2}\log\hat{\sigma}^2(\lambda) + (1-\lambda)\log (Y_i)$$
We then need to find $\lambda$ that maximizes $\ell(\lambda)$. One way we found in the literature to facilitate the estimation of $\lambda$ use the normalized form of the transformation, $Z_i(\lambda)$, so that in this way we have $J(\lambda,Z) = 1$. Consider the following function:
$$Z_i(\lambda) = \dfrac{Y_i(\lambda)}{\left[J(\lambda,Y) \right]^{1/n}}$$
In this way, the logarithm of the maximum likelihood function becomes
$$\ell(\lambda) =\log\left[L(\lambda| Z_i, \hat{\mu}, \hat{\sigma^2}) \right]=-\dfrac{n\pi}{2}- \dfrac{1}{2}\log\hat{\sigma}^2(Z,\lambda)$$
where
$$\hat{\sigma}^2(Z,\lambda) =\dfrac{\sum_{i=1}^n(Z_i(\lambda) - \bar{Z}(\lambda))^2}{n}$$
Therefore, maximize $\ell(\lambda)$ is equivalent to finding the minimum of $\hat{\sigma}^2(Z,\lambda)$ in relation to $\lambda$.
Box and Cox (1964) state that after adequate transformation of observations $Y$ for $Y(\lambda)$ the expected values of the transformed observations will be normally distributed with constant variance.
Action Stat estimates the lambda value through simulations. We generate 500 values for $\lambda$, from -2.5 to 2.5 increasing by 0.01. Then, for each value of $\lambda$ we calculated the value of the logarithm of the maximum likelihood function. So we just take the value of $l(\lambda)$ which corresponds to the maximum of the logarithm of the maximum likelihood function.
Application of Transformation
After applying this transformation to the data, the process specifications and parameters (mean, inherent and total variability) are obtained for the transformed data, applying the analysis via normal data. Likewise, indices are calculated for data transformed with normal distribution.
To check whether the transformation was efficient, simply analyze the normality of the transformed data via histogram, normal probability paper or Kolmogorov-Smirnov or Anderson-Darling normality test.
Application of Transformation
After applying this transformation to the data, the process specifications and parameters (mean, inherent and total variability) are obtained for the transformed data, applying the analysis via normal data. Likewise, indices are calculated for data transformed with normal distribution.
To check whether the transformation was efficient, simply analyze the normality of the transformed data via histogram, normal probability paper or Kolmogorov-Smirnov or Anderson-Darling normality test.
Example 4.1.1.1
Consider a process at the beginning of development. From this process we collected a sample of 30 units, organized in Table 3.4.1. Considering the Upper Specification Limit LSE = 4, we will calculate the performance index for the process.
| 1,278258 | 4,47932 | 2,035204 | 3,757334 | 1,985193 |
|---|---|---|---|---|
| 0,017442 | 0,096113 | 0,992143 | 5,958947 | 3,193834 |
| 1,763441 | 1,503284 | 0,714152 | 1,973829 | 4,359103 |
| 0,350306 | 3,618302 | 1,084793 | 0,680619 | 0,645437 |
| 0,499543 | 0,19454 | 1,195303 | 0,088677 | 1,003296 |
| 0,009417 | 1,845016 | 1,707286 | 0,360242 | 0,309148 |
Table 3.4.1: Data referring to a process under development.
Using Software Action, we will perform a normality test and check using the Anderson-Darling statistic if the data above follows a normal distribution.
| Statistics | P-values | |
|---|---|---|
| Anderson - Darling | 1.4064367739 | 0.001 |
Table 3.4.2: Anderson-Darling normality test
Figure 3.4.1: Probability role
As the p-value associated with the Anderson-Darling test is less than 0.05, we reject the hypothesis that the data distribution is approximately normal.
Therefore, as the data in Table 3.4.1 cannot be modeled by a normal distribution, we will perform a transformation on this data with the aim of finding normality.
Applying the Box-Cox Transformation we obtain a value of $λ = 0,3283$, which maximizes the log-likelihood for the transformation performed (see Figure 3.4.2).
| Values | |
|---|---|
| Lambda | 0.3282828283 |
| P-Value (Anderson-Darling) | 0.9219 |
Table 3.4.3: Anderson-Darling normality test of transformed data
Figure 3.4.2: Logarithm of the likelihood function for λ.
With this, we can verify through the p-value associated with the Anderson-Darling test that after the transformation the data has an approximately normal distribution.
Table 3.4.4 shows the data obtained by the transformation. The sample mean value for the transformed data is $\overline{x}$ = 0,08211.
| 0,255662 | 1,937336 | 0,800318 | 1,657929 | 0,769029 |
|---|---|---|---|---|
| -2,23985 | -1,63421 | -0,00788 | 2,426862 | 1,41358 |
| 0,623524 | 0,436188 | -0,31872 | 0,761846 | 1,893027 |
| -0,88741 | 1,600062 | 0,082486 | -0,36145 | -0,40782 |
| -0,62067 | -1,26646 | 0,183727 | -1,67105 | 0,003292 |
| -2,38755 | 0,678407 | 0,584744 | -0,86749 | -0,97419 |
Table 3.4.4: Transformed data.
Likewise, the transformation applied to the data must be applied to the specification limits. Thus, the transformed upper specification limit is given by
$$LSE = \dfrac{4^{(0,3283)}-1}{0,3283} = 1,75558$$
Once this is done, we can analyze the capacity and performance of the process for normal data, as discussed in section 3.
So, before the calculations, let’s analyze the stability of the process using a control chart.
Figure 3.4.3: I-MR graphs.
We can observe that there are no points outside the control limits, indicating that the process is not out of control in the period considered.
Thus, for the long-term variability method we have
$$\widehat{\sigma} = s = \sqrt{\dfrac{\sum_{i=1}^{n}(x_i - \overline{x})^2}{n - 1}} = \sqrt{\dfrac{44,68805}{29}} = 1,241357$$
and with that,
$$PPS = \dfrac{LSE - \widehat{\mu}}{3\widehat{\sigma}} = \dfrac{1,75558 - 0,08211}{3 \ast 1,241357} = 0,44937$$
$$P_{pk} = PPS = 0,44937$$
Calculating the value of Z, we obtain
$$Z_{LSE} = \dfrac{LSE - \widehat{\mu}}{\widehat{\sigma}} = \dfrac{1,75558 - 0,08211}{1,241357} = 1,3481$$
Calculating the $PPM_{Total}$
$$PPM_{Total} = PPM_{LSE} = [1 - \Phi(Z_{LSE})] 1.000.000 = [1 - \Phi(1,3481)] 1.000.000 = 88813,11$$
For the short-term variability method, we have
$$\widehat{\sigma} = \dfrac{\overline{R}}{d_2} = \dfrac{1,385638}{1,128} = 1,228402$$
being $d_{2}$ = 1.128 (for n = 2) tabulated in the Appendix.
$$C_{pk} = CPS = \dfrac{LSE - \widehat{\mu}}{3\widehat{\sigma}} = \dfrac{1,75558 - 0,08211}{3 \ast 1,228402} = 0,4541049$$
Calculating the value of Z, we obtain
$$Z_{LSE} = \dfrac{LSE - \widehat{\mu}}{\widehat{\sigma}} = \dfrac{1,75558 - 0,08211}{1,228402} = 1,362315$$
Calculating the $PPM_{Total}$
$$PPM_{Total} = PPM_{LSE} = [1 - \Phi(Z_{LSE})] 1.000.000 = [1 - \Phi(1,362315)] 1.000.000 = 86549,25$$
Below are the results obtained by Software Action for this example.
| Value | |
|---|---|
| Sample: | 30 |
| Upper Limit | 1.75557675336065 |
Table 3.4.5: Specifications
| Estimate | |
|---|---|
| Average | 0.08211 |
| Standard Deviation (Short term) | 1.22799 |
| Standard Deviation (Long term) | 1.24136 |
Table 3.4.6: Estimates
| Performance Indexes (Total Variability) | |
|---|---|
| PPS | 0.44937 |
| PPK | 0.44937 |
Table 3.4.7: Performance Indices (Long term)
| Capacity Indices (Inherent Variability) | |
|---|---|
| CPS | 0.45426 |
| CPK | 0.45426 |
Table 3.4.8: Capacity Indexes (Short term)
| Observed Indices | |
|---|---|
| PPM > LSE | 100000 |
| Total PPM | 100000 |
Table 3.4.9: Observed Indexes
| Expected Indices (Total Variability) | |
|---|---|
| PPM > LSE | 88813.84111 |
| Total PPM | 88813.84111 |
Table 3.4.10: Expected Indices (Long term)
| Expected Indices (Inherent Variability) | |
|---|---|
| PPM > LSE | 86477.27837 |
| Total PPM | 86477.27837 |
Table 3.4.11: Expected Indices (Short term)
Figure 3.4.4: Process Performance Analysis with the Box-Cox transformation.
3.4.1.2 Johnson Transformation
The Johnson curve system consists of three families of distributions, generated from the following function:
$$Y = \gamma + \eta k_i(X, \lambda, \varepsilon)$$
in which $Y$ represents the standardized normal variable, $X$ is the observation to be transformed, $\eta, \gamma, \lambda$ and $\varepsilon$ It is the specific parameters of the Johnson transformation that need to be estimated. The function $k_i(X,\lambda,\varepsilon)$ is the function that characterizes each family of the curve system.
The three characteristic families of the Johnson curve system are:
$$S_U: k_1(X,\lambda, \varepsilon) = senh^{-1}\left(\dfrac{X-\varepsilon}{\lambda}\right), \quad \text{em que} \quad -\infty < X <\infty$$ $$S_B: k_2(X,\lambda, \varepsilon) = ln\left(\dfrac{X-\varepsilon}{\lambda+ \varepsilon -X}\right), \quad \text{em que} \quad \varepsilon < X < \varepsilon + \lambda$$ $$S_L: k_3(X,\lambda, \varepsilon) = ln\left(\dfrac{X-\varepsilon}{\lambda}\right), \quad \text{em que} \quad \varepsilon < X < \infty$$
Family Choice
To choose the family, we initially need to choose a value of $Z$ such that $Z > 0$. The value of $Z$ is related to the size of the sample to be transformed and is unlikely to be a value greater than 1, due to the difficulty in estimating the percentile corresponding to $\pm 3Z$. In the literature, it is recommended to use a value of $Z$ close to $0,5$.
After choosing the value of $Z$ we calculate the accumulated probabilities $\Phi(-3Z), \Phi(-Z), \Phi(Z)$ and $\Phi(3Z)$, in which $\Phi$ represents a function of the accumulated distribution of the standard normal. Next, we need to find the respective percentiles $X_{-3Z}, X_{-Z}, X_{Z}$ and $X_{3Z}$ of the sample. To do this, we ordered the sample observations $X_{(1)} \leq X_{(2)} \leq\cdots\leq X_{(n)}$ and for each value of $\xi=-3Z,-Z,Z$ and $3Z$ we find the percentile $X_{(i)}$ corresponding to $\Phi(\xi)$ respecting the following relationship: $(i-1/2)/n = \Phi(\xi)$, so $X_{\xi} = X_{(i)}$, for each value of $\xi$.
This way, we can calculate the discriminator function:
$$F_D = \dfrac{mn}{p^2}$$
where:
$$m = X_{3Z} - X_{Z};$$ $$n = X_{-Z} - X_{-3Z};$$ $$p=X_{Z} - X_{-Z}.$$
Slifker and Shapiro (1980) proved that if $F_D > 1$, the family $S_U$ will be used if $F_D < 1$, we will use the family $S_B$ and if $F_D = 1$ the family $S_L$ will be used. In the case of the family $S_L$ We need to consider a tolerance for values close to 1 because we will always be dealing with estimated values and obtaining a result exactly equal to 1 will not be possible from a numerical point of view.
Statistical software finds the best value of $Z$ through a simulation of 100 values for $Z$, from $0,25$ to $1,25$. In this simulation, we estimate the parameters for each value of $Z$ in each family and thus, we chose the value of $Z$ and the distribution family in which the transformed data presents the best result in the Anderson-Darling normality test.
In Action Stat we follow the following algorithm to choose the value of $Z$ and to determine the best family for the transformation of observations:
- We found the parameter estimates for the three families using the quantile comparison method (described below) for all 100 values of $Z$;
- We check for each value of $Z$ If using the estimates found, the domain of the characteristic function is respected in each family, otherwise this value of $Z$ it is disregarded for the family in which the domain of the characteristic function is not respected;
- We calculate the transformation for the 3 families at all values of $Z$ considered;
- We choose the value of $Z$ and the family used for the transformation considering the highest P-Value of the Anderson-Darling normality test applied to the transformed data.
Parameter Estimation
For each family, we need to estimate the parameters: $\gamma, \eta, \lambda$ and $\varepsilon$. For this, we use the quantile comparison method (see, Slifker and Shapiro (1980)). We consider the values of the quantiles $\alpha_j, j = 1,…,4$ such that:
$$Z_{\alpha_1} = -3Z = \Phi^{-1}(\alpha_1)$$ $$Z_{\alpha_2} = -Z = \Phi^{-1}(\alpha_2)$$ $$Z_{\alpha_3} = Z = \Phi^{-1}(\alpha_3)$$ $$Z_{\alpha_4} = 3Z = \Phi^{-1}(\alpha_4)$$
in which $\Phi$ is the cumulative distribution function of the standard normal. We then calculate $X_{\alpha_j} = F^{-1}(\alpha_j), j=1,…,4$. Such that $F$ represents the empirical accumulated distribution function of observations $X$. In this way, we will have four equations in the following format:
$$Z_{\alpha_j} = \gamma + \eta k_i(X_{\alpha_j}, \omega, \varepsilon), \quad j=1,…,4.$$
where $k_i(X_{\alpha_j}, \lambda, \varepsilon)$ it is the characteristic function of the chosen family. Solving the system with 4 equations and 4 unknowns we obtain the estimates for $\eta, \gamma, \omega$ and $\varepsilon$.
It is possible to show that, for the family $S_U$, the parameter estimates are given by:
$$\eta = 2Z\left \lbrace cosh^{-1}\left[\dfrac{1}{2}\left(\dfrac{m+n}{p}\right)\right]\right\rbrace^{-1}$$
$$\gamma = \eta senh^{-1} \left \lbrace \left(\dfrac{n-m}{p}\right) \left[2\left(\dfrac{mn}{p^2}-1\right)^{1/2}\right]^{-1}\right\rbrace$$
$$\lambda = 2p\left(\dfrac{mn}{p^2}-1\right)^{1/2}\left[\left(\dfrac{m+n}{p}-2\right)\left(\dfrac{m+n}{p}+2\right)^{1/2}\right]^{-1}$$
$$\varepsilon = \dfrac{X_{Z} + X_{-Z}}{2} + p \left(\dfrac{n-m}{p}\right) \left[ 2\left(\dfrac{m+n}{p}-2\right)\right]^{-1}$$
In the family $S_B$ The estimates are:
$$\eta = Z \left \lbrace cosh^{-1}\left(\dfrac{1}{2}\left[\left(1 + \dfrac{p}{m}\right)\left(1 + \dfrac{p}{n}\right)\right]^{1/2}\right)\right\rbrace^{-1}$$
$$\gamma = \eta sinh^{-1}\left \lbrace \left(\dfrac{p}{n} - \dfrac{p}{m}\right)\left[\left(1+\dfrac{p}{m}\right)\left(1+\dfrac{p}{n}\right)-4\right]^{1/2}\left[2\left(\dfrac{p^2}{mn}-1\right)\right]^{-1}\right\rbrace$$
$$\lambda= p\left \lbrace \left[\left(1+\dfrac{p}{m}\right)\left(1+\dfrac{p}{n}\right)-2\right]^2-4\right\rbrace\left(\dfrac{p^2}{mn}-1\right)^{-1}$$
$$\varepsilon = \dfrac{X_{Z} + X_{-Z}}{2}-\dfrac{\lambda}{2} + p\left(\dfrac{p}{m} - \dfrac{p}{n}\right)\left[2\left(\dfrac{p^2}{mn} - 1\right)\right]^{-1}$$
The family $S_L$ is essentially the lognormal family with three parameters, since we can eliminate the parameters $\lambda$ performing the following reparameterization: $\gamma^{*} = \gamma - \eta ln(\lambda)$. In this way, the parameters are estimated by:
$$\eta = 2Z\left[ln\left(\dfrac{m}{p}\right)\right]^{-1}$$
$$\gamma^{*} = \eta ln\left[\dfrac{\dfrac{m}{p}-1}{p\left(\dfrac{m}{p}\right)^{1/2}}\right]$$
$$\varepsilon = \dfrac{X_{Z} + X_{-Z}}{2} - \dfrac{p}{2}\dfrac{\left(\dfrac{m}{p}+1\right)}{\left(\dfrac{m}{p}-1\right)}$$
Transformation of Observations
Now that we have defined the family to be used and estimated the parameters, we just need to calculate the Johnson transformation:
| Family | Transformation |
|---|---|
| $S_U$ | $Y = \gamma + \eta senh^{-1}\left(\dfrac{X - \varepsilon}{\lambda}\right)$ |
| $S_B$ | $Y = \gamma + \eta ln\left(\dfrac{X - \varepsilon}{\lambda + \varepsilon - X}\right)$ |
| $S_L$ | $Y = \gamma^{*} + \eta ln(X - \varepsilon)$ |
Table 3.4.12: three families of transformed Johnson curves
in which $Y$ corresponds to the transformed data.
Example 4.1.2.1
Consider a sample with 32 observations of the volume of a medicine bottle. In this case, the Lower Specification Limit is given by LIE = 30.
| 30,39 | 31,16 | 31,01 | 32,92 | 30,31 | 31,99 | 32,31 |
|---|---|---|---|---|---|---|
| 31,33 | 31,17 | 30,84 | 32,78 | 30,96 | 31,20 | 30,55 |
| 31,06 | 30,82 | 31,23 | 32,92 | 30,98 | 31,21 | 31,41 |
| 31,19 | 31,30 | 31,55 | 32,01 | 31,44 | 31,10 | 32,50 |
| 31,09 | 30,84 | 31,69 | 31,06 |
First, let’s check the normality of the data:
| Statistics | P-values | |
|---|---|---|
| Anderson - Darling | 1.40761 | 0.001 |
Table 3.4.13: Anderson-Darling normality test for data
Figure 3.4.5: Probability role
At a significance level of 0.05, we reject the hypothesis that the data have an approximately normal distribution. Therefore, we cannot model the data by a normal distribution. In this case, we apply transformation to the data with the aim of finding normality for the transformed data. First, let’s apply the Box-Cox transformation:
| Box-Cox Transformation | |
|---|---|
| Lambda | -2.5 |
| P-Value (Anderson-Darling) | 0.0037 |
Table 3.4.15: Box-cox transformation and Anderson Darling normality test
Figure 3.4.6: Logarithm of the likelihood function for λ.
Once again, at a significance level of 0.05, we reject the hypothesis of normality of the transformed data. Therefore, the Box and Cox transformation was not effective in trying to normalize the data. Next, we move on to Johnson’s transformation. Through Action Stat, we obtain:
| Test | |
|---|---|
| gamma | -0.393796636954005 |
| Lambda | 0.169134478200149 |
| Epsilon | 31.0751111105789 |
| Eta | 0.586350038222739 |
| Family | SU |
| P-Value (Anderson-Darling) | 0.7411 |
Table 3.4.16: Johnson transformation estimates and Anderson Darling normality test
Figure 3.4.7: QQ-plot of data transformed by Johnson
With a P-value of $0,74$ In the Anderson and Darling test, we concluded that the Johnson transformation was effective in normalizing the data. Therefore, we will perform the process capability analysis with the transformed data. For this, the transformation applied to the data also needs to be applied to the specification limits. In this case, the transformed lower specification limit is given by:
$$LIE^{*} =\gamma+\eta \ast senh^{-1}\left(\dfrac{LIE - \varepsilon}{\lambda}\right) = -0,394 + 0,586\ast senh^{-1}\left(\dfrac{30 - 31,075}{0,169}\right) = -1,888$$
Therefore, we can carry out an analysis of the process capacity and performance for normal data, as discussed in section 3. Initially, we will carry out an analysis of the process stability, for the transformed data, through a control chart.
Figure 3.4.8: Control charts
We observed that there is a point outside the control limits on the moving amplitude graph, which indicates that the process is out of control. Carrying out the calculations for the long-term method we have:
$$\hat{\sigma} = s = \sqrt{\dfrac{\sum_{i=1}^{n}(x_i - \bar{x})^2}{n-1} }= \sqrt{\dfrac{25,791}{31}} = 0,9121$$
Thus, we can calculate:
$$PPI = \dfrac{LIE^{*} - \hat{\mu}}{3\hat{\sigma}} = \dfrac{-1,888 + 0,0044}{3 \ast 0,9121} = - 0,68837$$
$$P_{PK} = PPI = - 0,68837$$
Calculating $PPM_{Total}$
$$PPM_{Total} = PPM_{LIE} = \Phi\left( \dfrac{LIE^{*} - \hat{\mu}}{\hat{\sigma}}\right) \times 1.000.000 = \Phi(−2,065)\times 1.000.000 = 19461,5001$$
in which $\Phi$ represents the cumulative distribution function of the standard normal.
Using Action Stat we obtain the following results:
| Value | |
|---|---|
| Sample: | 32 |
| Lower Limit | -1.88826389 |
Table 3.4.17: Specifications
| Estimate | |
|---|---|
| Average | -0.0044 |
| Standard Deviation (Short term) | 0.7116 |
| Standard Deviation (Long term) | 0.9121 |
Table 3.4.18: Estimates
| Performance Indices (Long term) | |
|---|---|
| Performance Indexes (Total Variability) | |
| PPI | 0.6884 |
| PPK | 0.6884 |
Table 3.4.19: Performance Indices (Long term)
| Expected Indices (Long term) | |
|---|---|
| Expected Indices (Total Variability) | |
| PPM < LIE | 19446.2704 |
| PPM Total | 19446.2704 |
Table 3.4.20: Expected Indices (Long term)
Figure 3.4.9: Process Performance Analysis with Johnson transformation
3.4.2 Performance analysis for data with non-normal distribution
In addition to the possibility of transforming the data in an attempt to model them using a normal distribution, it is also possible to select, through the use of the probability paper graph, a distribution that best describes the randomness of these data. This methodology is also applied to determine process performance, that is, long-term variability and will be discussed in the following sections.
3.4.2.1 Process performance indices: Pp and Ppk
When it is not possible to normalize the data through transformations, as seen previously, it is necessary to look for another way to calculate the process performance indices, for example using another probability distribution that fits the data. Below we will discuss in greater detail the calculations of these indices when the data does not follow a normal distribution.
The equation for calculating indices $P_{p}$ and $P_{pk}$ are similar to indices $C_{p}$ and $C_{pk}$. In this way, we have
- Calculation of $P_{p}$
$$P_p = \dfrac{LSE - LIE}{q_3 - q_1}$$
- Calculation of $PPS$ and $PPI$
$$PPS = \dfrac{LSE - q_2}{q_3 - q_2} ~~~~~ {e}~~~~~ PPI = \dfrac{q_2 - LIE}{q_2 - q_1}$$
in which
$LSE$ = Upper Specification Limit
$LIE$ = Lower Specification Limit
$q_{1}$ = Quantile of the specific distribution with 0.135%
$q_{2}$ = Quantile of the specific distribution with 50% (equivalent to the value corresponding to the median of the data)
$q_{3}$ = Quantile of the specific distribution with 99.865%.
Figure 3.4.10: Probability quantiles of data distribution
This way we guarantee the desired level of confidence (99.73% = 6σ) between the quantiles $q_{1}$ and $q_{3}$ the desired distribution.
- Calculation of $P_{pk}$
$$P_{pk} = \min \lbrace PPS, PPI \rbrace$$
Expected long-term performance indices
- Calculation of $PPM_{Esp} < LIE$
The expected number of parts per million that have observations less than the lower specification limit is given by
$$PPM_{Esp}~<~LIE = 1.000.000 \ast q_{LIE}$$
in which $q_{LIE}$ = Percentile of the specific distribution relative to the lower specification limit (LIE).
- Calculation of $PPM_{Esp} > LIE$
The expected number of parts per million that have observations greater than the upper specification limit is given by
$$PPM_{Esp}~>~LSE = 1.000.000 \ast (1 - q_{LSE})$$
in which $q_{LSE}$ = Quantile of the specific distribution relative to the upper specification limit (LSE).
- Calculation of $PPM_{EspTotal}$
$$PPM_{EspTotal} = [PPM_{Esp}~<~LIE] + [PPM_{Esp}~>~LSE].$$
Observed performance indices
- Calculation of $PPM_{Obs}$ < LIE
A proporção do total de observações menores que o limite inferior de especificação, multiplicada por 1.000.000, é dada por
$$PPM_{Obs}~<~LIE = \left(\dfrac{\hbox{Qtde. de Obs.} < LIE}{n}\right) \ast 1.000.000$$
- Cálculo do $PPM_{Obs} > LSE$
The proportion of total observations greater than the upper specification limit, multiplied by 1,000,000, is given by
$$PPM_{Obs}~>~LSE = \left(\dfrac{\hbox{Qtde. de Obs.} > LSE}{n}\right) \ast 1.000.000$$
- Calculation of $PPM_{ObsTotal}$
$$PPM_{ObsTotal} = [PPM_{Obs}~<~LIE] + [PPM_{Obs}~>~LSE].$$
Next we will discuss the process performance analysis considering the Weibull, exponential and log-normal distributions.
3.4.2.2 Process performance analysis with the Weibull distribution
We have that the probability density function of the Weibull distribution is given by
$$f(t) = \dfrac{\delta}{\alpha^\delta}t^{\delta-1}\exp[-(t/\alpha)^\delta],~~~~t \geq 0$$
in which
$\alpha$:scale parameter
$\delta$: shape parameter.
The probability density function can be seen in the following figure
Figure 3.4.11: Graph of the density functions of the Weibull distribution with $\alpha = 1$ and different values of $\delta.$
We also know that
$$\hbox{Média} =~MTTF~(\hbox{ou }MTBF)~= E[T] = \alpha \ast \Gamma\left[1 + \left(\dfrac{1}{\delta}\right)\right]$$
$$Var[T] = \alpha^{2}\left \lbrace \Gamma\left[1 + \left(\dfrac{2}{\delta}\right)\right] - \left(\Gamma\left[1 + \left(\dfrac{1}{\delta}\right)\right]\right)^{2}\right\rbrace$$
in which $\Gamma(z) = \mathop{\int}^{\infty}_{0}r^{z-1}e^{-r}dr$
And then, the standard deviation (s) is given by
$$s = \sqrt{Var[T]}.$$
Example 4.2.2.1
Using the Weibull distribution allows calculating only the long-term variability and, consequently, the indices $P_{p}$, $P_{pk}$, $PPS$ and $PPI$. The calculation of these performance indices, unlike the normal distribution that depends on the mean and standard deviation, for Weibull it is necessary to know the maximum likelihood estimates of the shape parameters ($\delta$) and rental ($\alpha$) from the Weibull distribution. The data in Table 3.4.21 are used to exemplify this situation.
| Measurements | ||||
|---|---|---|---|---|
| 0,086726 | 0,261364 | 0,234034 | 0,351005 | 0,387835 |
| 0,010857 | 0,615852 | 0,433043 | 0,37279 | 0,306073 |
| 0,368851 | 0,183577 | 0,788636 | 0,331414 | 0,303861 |
| 0,28748 | 0,071625 | 0,84719 | 0,357962 | 0,174402 |
| 0,909071 | 0,318152 | 0,459984 | 0,358099 | 0,338571 |
| 0,150298 | 0,103415 | 0,293006 | 0,560374 | 0,226616 |
| 0,608511 | 0,478834 | 0,648248 | 0,828459 | 0,371329 |
| 0,490219 | 0,41213 | 0,154507 | 0,565067 | 0,551373 |
| 0,151538 | 0,192791 | 0,320434 | 0,626277 | 0,187531 |
| 0,156621 | 0,208925 | 0,340069 | 0,054402 | 0,782792 |
Table 3.4.21: Data.
Graphical analysis of the distribution fit in Figure 3.4.12 indicates that the data can be better fitted by the Weibull distribution, which can be confirmed by the p-value associated with the Anderson-Darling test.
| Distributions | Statistics | P-Value |
|---|---|---|
| Weibull(Shape = 1.73186, Scale = 0.416818) | 0.2578 | 0.25 |
Table 3.4.22: Anderson-Darling Test
Figure 3.4.12: Graphical analysis of the fit of the Weibull distribution
Estimates of the scale and shape parameters of the Weibull distribution are given, respectively, by
$$\widehat{\alpha} = 0,4168 ~~~~~ {e} ~~~~~ \widehat{\delta} = 1,7318$$
In this way,
$$E[T] = 0,4168 \ast \Gamma\left[1 + \left(\dfrac{1}{1,7318}\right)\right] = 0,4168 \ast 0,8912 = 0,3714$$
The long-term variability is given by
$$Var[T] = (0,4168)^2\left \lbrace \Gamma\left[1 + \left(\dfrac{2}{1,7318}\right)\right] - \left(\Gamma\left[1 + \left(\dfrac{1}{1,7318}\right)\right]\right)^2\right\rbrace = 0,4890$$
The standard deviation(s) is given by
$$s = \sqrt{0,4890} = 0.2211433$$
Next, we will find the process performance indices considering the following specification limits: $LSE = 1,5$ and $LIE = 0,3$.
- Calculation of $P_{p}$
$$P_p = \dfrac{LSE - LIE}{q_3 - q_1}$$
being $q_{1}$ = quantile of the Weibull distribution with 0.135% and $q_{3}$ = quantile of the Weibull distribution with 99.865%.
In this way,
$$P_p = \dfrac{1,5 - 0,3}{1,2401 - 0,0092} = 0,9749$$
- Calculation of $PPS$ and $PPI$
$$PPS = \dfrac{LSE - q_2}{q_3 - q_2}~~~~~~~~~~PPI = \dfrac{q_2 - LIE}{q_2 - q_1}$$
being $q_{1}$ = quantile of the Weibull distribution with 0.135%, $q_{2}$ = quantile of the Weibull distribution with 50% (equivalent to the value corresponding to the median of the data) and $q_{3}$ = quantile of the Weibull distribution with 99.865%.
So,
$$PPS = \dfrac{1,5 - 0,3373}{1,2401 - 0,3373} = 1,2879~~~~~~~~~~PPI = \dfrac{0,3373 - 0,3}{0,3373 - 0,0092} = 0,1137$$
in which the values $q_{1}$ = 0,0092 , $q_{2}$ = 0.3373 and $q_{3}$ = 1.2401 can be calculated using the Action Software.
- Calculation of $P_{pk}$
$$P_{pk}=\min \lbrace PPI,PPS\rbrace=\min \lbrace 0,1137;1,2879\rbrace=0,1137$$
- Calculation of (PPM < LIE) e (PPM > LSE) expected
$$PPM_{Esp}~<~LIE = 1.000.000 \ast q_{LIE}~~~~~~~~~PPM_{Esp}~>~LSE = 1.000.000 \ast (1 - q_{LSE})$$
being $q_{LIE}$ = quantile of the Weibull distribution relative to the LIE and $q_{LSE}$ = quantile of the Weibull distribution relative to the LSE.
So,
$$PPM_{Esp}~<~LIE = 1.000.000 \ast 0,4320733449 = 432073,344866147$$
$$PPM_{Esp}~>~LSE = 1.000.000 \ast 0,000102382388= 102,38238777$$
$$PPM_{EspTotal} = 432073,344866147 + 102,38238777 = 432175,727253919$$
- Calculation of (PPM < LIE) e (PPM > LSE) observed
$$PPM_{Obs}~<~LIE = \left(\dfrac{\hbox{Qtde. de Obs.} < LIE}{n}\right) \ast 1.000.000 = \left(\dfrac{18}{50}\right) \ast 1.000.000 = 360.000$$
$$PPM_{Obs}~>~LSE = \left(\dfrac{\hbox{Qtde. de Obs.}~>~LSE}{n}\right) \ast 1.000.000 = \left(\dfrac{0}{50}\right) \ast 1.000.000 = 0$$
$$PPM_{ObsTotal} = [PPM_{Obs} < LIE] + [PPM_{Obs} >LSE] = 360.000$$
Below are the results obtained by Software Action for this example.
| Value | |
|---|---|
| Sample: | 50 |
| Lower Limit | 0.3 |
| Upper Limit | 1.5 |
Table 3.4.23: Specifications
| Parameters | Value |
|---|---|
| Average: | 0.371455959977383 |
| Standard Deviation: | 0.221144739331759 |
| Shape: | 1.73186438703745 |
| Scale: | 0.416817649465247 |
Table 3.4.24: Estimates
| Performance Indexes | |
|---|---|
| PP | 0.9749 |
| PPI | 0.1137 |
| PPS | 1.2879 |
| PPk | 0.1137 |
Table 3.4.25: Performance Indexes
| Observed Indices | |
|---|---|
| PPM > LSE | 360000 |
| PPM < LIE | 0 |
| PPM Total | 360000 |
Table 3.4.26: Observed Indexes
| Expected Indexes | |
|---|---|
| PPM > LSE | 102.3824 |
| PPM < LIE | 432073.3 |
| PPM Total | 432175.7 |
Table 3.4.27: Expected Indexes
Figure 3.4.13: Process performance analysis graph.
Example 4.2.2.2
The following table presents grammage data in $g/m^2$ of a sheet of paper. The specifications for this data are $LSE = 92,88$ , Target $= 90,21$ and $LIE = 87,54$.
| Weight (g/m2) |
|---|
| 88,20 |
| 88,90 |
| 90,50 |
| 90,30 |
| 90,00 |
| 90,20 |
| 91,20 |
| 91,00 |
| 91,50 |
| 91,40 |
| 91,30 |
| 90,20 |
| 91,40 |
| 89,90 |
| 90,20 |
| 90,10 |
| 90,80 |
| 91,40 |
| 91,30 |
| 89,00 |
| 90,70 |
| 89,50 |
| 91,20 |
| 90,50 |
| 90,60 |
Table 3.4.29: Weight data in $g/m^2$ of a sheet of paper.
The graphical analysis of distribution adjustment can be analyzed in different graphs such as QQ-plot, Probability Paper, Histogram and Cumulative distribution function. Figure 3.4.30 shows the QQ-plot graph and the accumulated distribution function of paper weight data, indicating that the Weibull distribution is the one that best fits these data. This result can be confirmed by observing the numerical values of the Anderson-Darling test.
| Distributions | Statistics | P-Value |
|---|---|---|
| Normal(mu = 90.45, sigma = 0.87) | 0.6406 | 0.0839 |
| Exponential(Rate = 0.0110556) | 11.2633 | 0 |
| Weibull(Shape = 140.336, Scale = 90.8381) | 0.472 | 0.2345 |
| Log-Normal(log(mu) = 4.50477, log(sigma) = 0.00947316) | 0.6548 | 0.0772 |
Table 3.4.30: Anderson-Darling Test
Figure 3.4.14: Graphical analysis of distribution fit
The estimates of the scale and shape parameters of the Weibull distribution are, respectively
$$\widehat{\alpha} = 90,838~~~~~~{e}~~~~~~\widehat{\delta} = 140,329$$
In this way,
$$E[T] = 90,838 \ast \Gamma\left[1+\left(\dfrac{1}{140,329}\right)\right] = 90,468$$
The long-term variability is given by
$$Var[T] = (90,838)^{2}\left \lbrace \Gamma\left[1+\left(\dfrac{2}{140,329}\right)\right] - \left(\Gamma\left[1+\left(\dfrac{1}{140,329}\right)\right]\right)^{2}\right\rbrace = 0,6766628$$
The standard deviation(s) is given by
$$s = \sqrt{0,6766628} = 0,8225951$$
Next, we will calculate the process performance indices.
- Calculation of $P_{p}$
$$P_p = \dfrac{LSE - LIE}{q_3 - q_1} = \dfrac{92,88 - 87,54}{92,069 - 86,66029} = 0,9873786$$
- Calculation of PPS and PPI
$$PPS = \dfrac{LSE - q_2}{q_3 - q_2} = \dfrac{92,88 - 90,60106}{92,06855 - 90,60106} = 1,552$$
$$PPI = \dfrac{q_2 - LIE}{q_2 - q_1} = \dfrac{90,60106 - 87,54}{90,60106 - 86,66029} = 0,7768$$
in which $q_{1} = 86,66029$ , $q_{2} = 90,60106$ and $q_{3} = 92,06855$ are quantiles of the Weibull distribution and can be calculated using Software Action.
- Calculation of $P_{pk}$
$$P_{pk} = \min \lbrace PPS, PPI\rbrace = \min \lbrace 1,552;~0,7768\rbrace = 0,7768$$
- Calculation of (PPM < LIE) e (PPM > LSE) expected
$$PPM_{Esp}~<~LIE = 1.000.000 \ast 0,005558515 = 5556,67$$
$$PPM_{Esp}>~LSE = 1.000.000 \ast 0,000000000147211 = 0,000147211$$
in which $q_{LIE} = 0,00555667$ and $q_{LSE} = 0,999999999852789$.
$$PPM_{EspTotal} = 5556,67 + 0,000147211 = 5556,67$$
- Calculation of ($PPM < LIE$) and ($PPM > LSE$) observed
$$PPM_{Obs}~<~LIE = \left(\dfrac{\hbox{Qtde. de Obs.}~<~LIE}{n}\right) \ast 1.000.000 = \dfrac{0}{25} \ast 1.000.000 = 0$$
$$PPM_{Obs}~>~LSE = \left(\dfrac{\hbox{Qtde. de Obs.}~>~LSE}{n}\right) \ast 1.000.000 = \dfrac{0}{25} \ast 1.000.000 = 0$$
$$PPM_{ObsTotal} = [PPM_{Obs}~<~LIE] + [PPM_{Obs}~>~LSE] = 0$$
Below are the results obtained by Software Action for this example.
| Value | |
|---|---|
| Sample: | 25 |
| Lower Limit | 87.54 |
| Target (Optional) | 90.21 |
| Upper Limit | 92.88 |
Table 2.4.31: Specifications
| Parameters | Value |
|---|---|
| Average: | 90.4689587801872 |
| Standard Deviation: | 0.822555917720036 |
| Shape: | 140.336103078599 |
| Scale: | 90.8380519338829 |
Table 3.4.32: Estimates
| Performance Indexes | |
|---|---|
| PP | 0.9874 |
| PPI | 0.7768 |
| PPS | 1.553 |
| PPk | 0.7768 |
Table 3.4.33: Performance Indexes
| Observed Indices | |
|---|---|
| PPM > LSE | 0 |
| PPM < LIE | 0 |
| PPM Total | 0 |
Table 3.4.34: Observed Indexes
| Expected Indexes | |
|---|---|
| PPM > LSE | 0.000147211465240105 |
| PPM < LIE | 5556.66966289269 |
| PPM Total | 5556.66981010415 |
Table 3.4.35: Expected Indexes
Figure 3.4.15: Process performance analysis graph.
Example 4.2.2.3
Using the Weibull distribution allows calculating only the long-term Variability and, consequently, the indices $P_p$, $P_{pk}$, $PPS$ and $PPI$. The data in the Table are used to exemplify this situation.
| Measurements | ||||
|---|---|---|---|---|
| 0.2 | 0.3 | 0.57 | 0.56 | 0.2 |
| 0.16 | 1.19 | 0.42 | 0.96 | 0.05 |
| 0.24 | 0.46 | 0.91 | 0.11 | 0.63 |
| 0.56 | 0.12 | 0.79 | 0.85 | 0.53 |
| 0.34 | 0.5 | 0.51 | 0.37 | 0.6 |
| 0.33 | 0.46 | 0.67 | 0.8 | 0.21 |
| 0.35 | 0.69 | 0.7 | 0.52 | 0.29 |
| 0.2 | 0.11 | 0.19 | 0.17 | 0.41 |
| 0.28 | 0.32 | 0.22 | 0.58 | 0.43 |
| 0.81 | 0.28 | 0.62 | 0.15 | 0.75 |
Table 3.4.35: Measurement data for a part
Figure 3.4.16 shows the QQ-plot of the data, indicating that the Weibull distribution is the one that best fits these data. This result can be confirmed by observing the numerical values of the Anderson-Darling test.
| Distributions | Statistics | P-Value |
|---|---|---|
| Normal(mu = 0.45, sigma = 0.26) | 0.5657 | 0.1357 |
| Exponential(Rate = 2.20556) | 3.8445 | 0.0002 |
| Weibull(Shape = 1.84755, Scale = 0.511436) | 0.2169 | 0.25 |
| Log-Normal(log(mu) = -0.982398, log(sigma) = 0.667801) | 0.589 | 0.118 |
Table 3.4.36: Anderson-Darling test
Figure 3.4.16: QQ-plot graph
Estimates of the scale and shape parameters of the Weibull distribution are given, respectively, by
$$\widehat{\alpha} = 0,511436 ~~~~~ {e} ~~~~~ \widehat{\delta} = 1,84755$$
In this way,
$$E[T] = 0,511436 \ast \Gamma\left[1 + \left(\dfrac{1}{1,84755}\right)\right] = 0,4542882$$
The long-term variability is given by
$$Var[T] = (0,511436)^2\left \lbrace \Gamma\left[1 + \left(\dfrac{2}{1,84755}\right)\right] - \left(\Gamma\left[1 + \left(\dfrac{1}{1,84755}\right)\right]\right)^2\right\rbrace = 0,06506037$$
The standard deviation(s) is given by
$$s = \sqrt{0,06506037} = 0,2550693$$
Next, we will find the process performance indices considering the following specification limits: $LSE = 1,1$ and $LIE = 0,045$.
Calculation of $P_p$
$$P_p = \dfrac{LSE - LIE}{q_3 - q_1}$$
where q1 = quantile of the Weibull distribution with 0.135% and q3 = quantile of the Weibull distribution with 99.865%.
In this way,
$$P_p = \dfrac{1,1 - 0,045}{1,421176 - 0,01431272} = 0,7498952$$
Calculation of $PPS$ and $PPI$
$$PPS = \dfrac{LSE - q_2}{q_3 - q_2}~~~~~~~~~~PPI = \dfrac{q_2 - LIE}{q_2 - q_1}$$
where q1 = quantile of the Weibull distribution with 0.135%, q2 = quantile of the Weibull distribution with 50% (equivalent to the value corresponding to the median of the data) and q3 = quantile of the Weibull distribution with 99.865%.
So,
$$PPS = \dfrac{1,1 - 0,4194082}{1,421176 - 0,4194082} = 0,6793908~~~~~~~~~~PPI = \dfrac{0,4194082 - 0,045}{0,4194082 - 0.01431272} = 0,9242468$$
in which the values $q_1 = 0.01431272$ , $q_2 = 0.4194082$ and $q_3 = 1,421176$ can be calculated through Software Action.
Calculation of $P_{pk}$
$$P_{pk}=\min \lbrace PPI,PPS\rbrace=\min \lbrace 0,9242468;0,6793908\rbrace=0,9242468$$
Calculation of (PPM < LIE) e (PPM > LSE) expected
$$PPM_{Esp}~<~LIE = 1.000.000 \ast q_{LIE}~~~~~~~~~PPM_{Esp}~>~LSE = 1.000.000 \ast (1 - q_{LSE})$$
being $q_{LIE}$ = quantile of the Weibull distribution relative to $LIE$ and $q_{LSE}$ = quantile of the Weibull distribution relative to the LSE.
So,
$$PPM_{Esp}~<~LIE = 11151,41$$
$$PPM_{Esp}~>~LSE= 16305,89$$
$$PPM_{EspTotal} = 27457,3$$
Calculation of ($PPM < LIE$) and ($PPM > LSE$) observed
$$PPM_{Obs}~<~LIE = \left(\dfrac{\hbox{Qtde. de Obs.}~<~LIE}{n}\right) \ast 1.000.000 = \dfrac{0}{50} \ast 1.000.000 = 0$$
$$PPM_{Obs}~>~LSE = \left(\dfrac{\hbox{Qtde. de Obs.}~>~LSE}{n}\right) \ast 1.000.000 = \dfrac{1}{50} \ast 1.000.000 = 20.000$$
$$PPM_{ObsTotal} = [PPM_{Obs}~<~LIE] + [PPM_{Obs}~>~LSE] = 20.000$$
| Value | |
|---|---|
| Sample: | 50 |
| Lower Limit | 0.045 |
| Upper Limit | 1.1 |
Table 3.4.37: Specifications
| Parameters | Value |
|---|---|
| Average: | 0.454287763702087 |
| Standard Deviation: | 0.255068688644678 |
| Shape: | 1.84755338279648 |
| Scale: | 0.511435566973771 |
Table 3.4.38: Estimates
| Performance Indexes | |
|---|---|
| PP | 0.7499 |
| PPI | 0.9242 |
| PPS | 0.6794 |
| PPk | 0.6794 |
Table 3.4.39: Performance Indexes
| Observed Indices | |
|---|---|
| PPM > LSE | 20000 |
| PPM < LIE | 0 |
| PPM Total | 20000 |
Table 3.4.40: Observed Indexes
| Expected Indexes | |
|---|---|
| PPM > LSE | 16305.891980284 |
| PPM < LIE | 11151.4080334852 |
| PPM Total | 27457.3000137692 |
Table 3.4.41: Expected Indexes
Figure 3.4.17: Process performance analysis graph.
3.4.2.3 Process performance analysis with exponential distribution
We have that the probability density function of the exponential distribution is given by
$$f(t) = \dfrac{1}{\alpha} e^{-t/ \alpha} ~ \hbox{para todo}~t~> 0 \tag{4.2.3.1}$$
being $\alpha~>~0$ called the distribution parameter. Thus, we have that the cumulative distribution function is given by
$$F(t) = P[T \leq t] = \int_{0}^{t}\dfrac{1}{\alpha} e^{-x/ \alpha}dx = 1 - e^{-t/ \alpha} ~~~~\hbox{para todo}~t~>~0$$
such that
$$E[T] = \alpha~~~~~~~~~Var[T] = \alpha^2$$
The probability density function of the exponential distribution can be seen in Figure 3.4.18.
Figure 3.4.18: Graph of the density functions of the exponential distribution for different values of $\alpha.$
Example 4.2.3.1
Let’s consider the data in Table 3.4.42 regarding measurements. For this example consider the following specifications: $LSE = 0,3$ and $LIE = 0,0015$. We also have that the average of the data is given by $\overline{x} = 0,04876$.
| Measured Data | ||||
|---|---|---|---|---|
| 0.065 | 0.039 | 0.029 | 0.023 | 0.069 |
| 0.135 | 0.005 | 0.009 | 0.01 | 0.104 |
| 0.024 | 0.064 | 0.052 | 0.051 | 0.005 |
| 0.017 | 0.008 | 0.178 | 0.069 | 0.052 |
| 0.079 | 0.004 | 0.025 | 0.132 | 0.049 |
| 0.002 | 0.008 | 0.061 | 0.04 | 0.057 |
| 0.023 | 0.066 | 0.011 | 0.023 | 0.018 |
| 0.006 | 0.139 | 0.002 | 0.015 | 0.093 |
| 0.053 | 0.053 | 0.041 | 0.022 | 0.007 |
| 0.004 | 0.009 | 0.035 | 0.008 | 0.066 |
Table 3.4.42: Measurement data.
The results of the Anderson-Darling test verified in Figure 3.4.19 indicate that the above data can be modeled by exponential, Weibull or log-normal distribution. However, to illustrate the calculation of performance indices for this example, we will consider the exponential distribution to model this data.
| Distributions | Statistics | P-Value |
|---|---|---|
| Normal(mu = 0.04, sigma = 0.041) | 2.1075 | 0 |
| Exponential(Rate = 23.1589) | 0.4237 | 0.5913 |
| Weibull(Shape = 1.05523, Scale = 0.0441109) | 0.4721 | 0.2394 |
| Log-Normal(log(mu) = -3.66344, log(sigma) = 1.1402) | 0.8319 | 0.0297 |
Table 3.4.43: Anderson-Darling Test
Figure 3.4.19: Graphical analysis of distribution fit
The maximum likelihood estimate of the exponential distribution parameter expressed in the form (4.2.3.1) is given by
$$\widehat{\alpha} = \overline{x} = 0,04876$$
In this way,
$$E[T] = \widehat{\alpha} = 0,04876$$
The long-term variability is given by
$$Var[T] = \widehat{\alpha}^2 = 0,002378$$
With this, we obtain the standard deviation (s) given by
$$s = \sqrt{0,002378} = 0,04876$$
Next, we will calculate the process performance indices for data with exponential distribution.
- Calculation of $P_{p}$
$$P_p = \dfrac{LSE - LIE}{q_3 - q_1}$$
where LIE and LSE are the specification limits, $q_{1}$ = quantile of the exponential distribution with 0.135% and $q_{3}$ = quantile of the exponential distribution with 99.865%.
$$P_p = \dfrac{0,3 - 0,0015}{0,2853184 - 5,5833238e^{-05}} = 1,046414$$
- Calculation of $PPS$ and $PPI$
$$PPS = \dfrac{LSE - q_2}{q_3 - q_2}~~~~~~{e}~~~~~~PPI = \dfrac{q_2 - LIE}{q_2 - q_1}$$
being $q_{1}$ = quantile of the exponential distribution with 0.135%, $q_{2}$ = quantile of the exponential distribution with 50% (equivalent to the value corresponding to the median of the data) and $q_{3}$ = quantile of the exponential distribution with 99.865%.
In this way,
$$PPS = \dfrac{0,3 - 0,0299301}{0,2853184 - 0,0299301} = 1,057488~~~~~~\hbox{e}~~~~~~PPI = \dfrac{0,0299301 - 0,0015}{0,0299301 - 0,0000658} = 0,9517381$$
being $q_{1} = 5,5833238e^{-05}$, $q_{2} = 0,0299301$ and $q_{3} = 0,2853184$ quantiles of the exponential distribution that can be calculated using Software Action.
- Calculation of $P_{pk}$
$$P_{pk} = \min \lbrace PPI, PPS\rbrace = \min \lbrace 0,9517381;~1,057488\rbrace = 0,9517381$$
- Calculation of (PPM < LIE) e (PPM > LSE) expected
$$PPM_{Esp}~<~LIE = 1.000.000 \ast q_{LIE}~~~~~~ \hbox{e} ~~~~~~PPM_{Esp}~>~LSE = 1.000.000 \ast (1 - q_{LSE})$$
in which $q_{LIE}$ = quantile of the exponential distribution relative to the LIE and $q_{LSE}$ = quantile of the exponential distribution relative to the LSE.
So,
$$PPM_{Esp}~<~LIE = 1.000.000 \ast 0,0341418563 = 34141,8563$$
$$PPM_{Esp}~>~LSE = 1.000.000 \ast 0,0009608801 = 960,8801$$
And therefore,
$$PPM_{EspTotal} = 34141,8563 + 960,8801 = 35102.7364$$
- Calculation of (PPM < LIE) e (PPM > LSE) observed
$$PPM_{Obs}~<~LIE = \left(\dfrac{\hbox{Qtde.~de~Obs.}~<~LIE}{n}\right) \ast 1.000.000 = \dfrac{0}{50} \ast 1.000.000 = 0$$
$$PPM_{Obs}~>~LSE = \left(\dfrac{\hbox{Qtde.~de~Obs.}~>~LSE}{n}\right) \ast 1.000.000 = \dfrac{0}{50} \ast 1.000.000 = 0$$
Therefore,
$$PPM_{ObsTotal} = [PPM_{Obs}~<~LIE] + [PPM_{Obs}~>~LSE] = 0$$
Below are the results obtained by the Action Stat Software for this example.
| Value | |
|---|---|
| Sample: | 50 |
| Lower Limit | 0.0015 |
| Upper Limit | 0.3 |
Table 3.4.44: Specifications
| Parameters | Value |
|---|---|
| Average: | 23.1588698471515 |
| Standard Deviation: | 23.1588698471515 |
Table 3.4.45: Estimates
| Performance Indexes | |
|---|---|
| PP | 1.0464 |
| PPI | 0.9517 |
| PPS | 1.0575 |
| PPk | 0.9517 |
Table 3.4.46: Performance Indexes
| Observed Indices | |
|---|---|
| PPM > LSE | 0 |
| PPM < LIE | 0 |
| PPM Total | 0 |
Table 3.4.47: Observed Indexes
| Expected Indexes | |
|---|---|
| PPM > LSE | 960.880069733605 |
| PPM < LIE | 34141.8563443041 |
| PPM Total | 35102.7364140377 |
Table 3.4.48: Expected Indexes
Figure 3.4.20: Process performance analysis graph.
3.4.2.4 Process performance analysis with log-normal distribution
Like the Weibull distribution, the log-normal distribution is widely used to characterize the lifetime of products and materials. This includes for example metal fatigue, semiconductors, diodes and electrical insulation. The probability density function for a lognormal distribution is given by
$$f(t) = \dfrac{1}{t\sigma\sqrt{2\pi}}~\exp\left[\dfrac{-\left(\log(t)-\mu\right)^2}{2\sigma^2}\right],~~~t \geq 0$$
where μ is the mean of the logarithm and σ is the standard deviation of the logarithm.
Figure 3.4.21: Graph of the density functions of the log-normal distribution with $\mu = 0$ and different values of $\sigma$
The expected value and variance are given, respectively, by
$$E[T] = \exp\left \lbrace \mu + \left(\dfrac{\sigma^2}{2}\right)\right\rbrace$$
$$Var[T] = (\exp \lbrace \sigma^2\rbrace - 1)\exp \lbrace 2\mu + \sigma^2\rbrace$$
There is a relationship between lognormal and normal distribution. As the name suggests, the logarithm of a variable with log-normal distribution with parameters μ and σ has a normal distribution with mean μ and standard deviation σ. This relationship means that data from a log-normal distribution can be analyzed according to a normal distribution, if the logarithm of the data is used instead of the original values.
Example 4.2.4.1
Let’s consider the measurement data shown in Table 3.4.49. The specifications for this example are: $LSE = 3000$ and $LIE = 30$.
| Measurements | ||||
|---|---|---|---|---|
| 24,23 | 323,44 | 61,65 | 8,61 | 3556,16 |
| 62,55 | 115,35 | 1865 | 127,5 | 59,75 |
| 193,35 | 91,44 | 199,21 | 309,33 | 10,53 |
| 79,59 | 31,2 | 79,02 | 17,11 | 92,9 |
| 149,88 | 272,17 | 58,15 | 2300,26 | 217,09 |
| 733,15 | 59,6 | 691,09 | 244,52 | 115,66 |
| 514,14 | 9,98 | 42,43 | 7,68 | 425,71 |
| 238,75 | 85,78 | 51,42 | 83,97 | 296,95 |
| 222,57 | 29,01 | 342,19 | 45,33 | 867,67 |
| 363,23 | 593,02 | 138,81 | 520,4 | 161,08 |
Table 3.4.49: Measurements.
Next we have the probability role for the data. We can see that the p-value for the Anderson-Darling test referring to the log-normal distribution (0.924) is greater than 0.05, so we can say that this distribution describes the data well.
| Distributions | Statistics | P-Value |
|---|---|---|
| Normal(mu = 343.79, sigma = 630) | 8.123835 | 0 |
| Exponential(Rate = 0.00290873) | 3.86736 | 0.00016 |
| Weibull(Shape = 0.728334, Scale = 268,798) | 0.748347 | 0.04739 |
| Log-Normal(log(mu) = 4.89756, log(sigma) = 1.38918) | 0.17246 | 0.9245 |
Table 3.4.50: Measurements.
Figure 3.4.22: QQ-plot graph
The parameter estimates of the log-normal distribution are given by
$$\widehat{\mu} = {\hbox{Média}[\log(\hbox{dados})]} = 4,8975$$
$$\widehat{\sigma} = \sqrt{\hbox{Var}[\log(\hbox{dados})]} = 1,4032$$
With this, we have
$$E[T] = \exp\left \lbrace 4,8975 + \left(\dfrac{1,969}{2}\right)\right\rbrace = 358,5256$$
The long-term variability is given by
$$Var[T] = (\exp \lbrace 1,969\rbrace - 1)\exp \lbrace 2 \ast (4,8975) + 1,969\rbrace = 792261,1$$
Therefore, the standard deviation is given by
$$s = \sqrt{792261,1} = 890,09$$
Therefore, the values of the performance indexes for the data in our example are obtained as follows
- Calculation of $P_{p}$
$$P_p = \dfrac{LSE - LIE}{q_3 - q_1}$$
being $q_{1}$ = quantile of the log-normal distribution with 0.135% and $q_{3}$ = quantile of the log-normal distribution with 99.865%.
So,
$$P_p = \dfrac{3000 - 30}{9021,697 - 1,9892} = 0,3292$$
- Calculation of PPS and PPI
$$PPS = \dfrac{LSE - q_2}{q_3 - q_2}~~~~~~~{e}~~~~~~~PPI = \dfrac{q_2 - LIE}{q_2 - q_1}$$
in which $q_{1}$ = quantile of the log-normal distribution with 0.135%, $q_{2}$ = quantile of the log-normal distribution with 50% (equivalent to the value corresponding to the median of the data) and $q_{3}$ = quantile of the log-normal distribution with 99.865%.
So,
$$PPS = \dfrac{3000 - 133,955}{9018,81 - 133,955} = 0,3225~~~~~~~{e}~~~~~~~PPI = \dfrac{133,955 - 30}{133,955 -1,9896} = 0,7877$$
being $q_{1}$ = 1,9896 , $q_{2}$ = 133.955 and $q_{3}$ = 9018.81 quantiles of the log-normal distribution that can be calculated using the Action Software.
- Calculation of $P_{pk}$
$$P_{pk} = \min \lbrace PPI, PPS\rbrace = \min \lbrace 0,7877;~0,3225\rbrace = 0,3225$$
- Calculation of (PPM < LIE) e (PPM > LSE) expected
$$PPM_{Esp}~<~LIE = 1.000.000 \ast q_{LIE}~~~~~~{e}~~~~~~PPM_{Esp}~>~LSE = 1.000.000 \ast (1 - q_{LSE})$$
in which $q_{LIE}$ = quantile of the log-normal distribution relative to the LIE and $q_{LSE}$ = quantile of the log-normal distribution relative to the LSE.
With this,
$$PPM_{Esp}~<~LIE = 1.000.000 \ast 0,1431370 = 143137$$
$$PPM_{Esp}~>~LSE = 1.000.000 \ast 0,01336716 = 13367,16$$
And therefore
$$PPM_{EspTotal} = 143137 + 13367,16 = 156504,16$$
- Calculation of (PPM < LIE) e (PPM > LSE) observed
$$PPM_{Obs}~<~LIE = \left(\dfrac{\hbox{Qtde.~de~Obs.}~<~LIE}{n}\right) \ast 1.000.000 = \left(\dfrac{7}{50}\right) \ast 1.000.000 = 140000$$
$$PPM_{Obs}~>~LSE = \left(\dfrac{\hbox{Qtde.~de~Obs.}~>~LSE}{n}\right) \ast 1.000.000 = \left(\dfrac{1}{50}\right) \ast 1.000.000 = 20000$$
$$PPM_{ObsTotal} = [PPM_{Obs}~<~LIE] + [PPM_{Obs}~>~LSE] = 140000 + 20000 = 160000$$
Below are the results obtained by the Action Stat Software for this example.
| Value | |
|---|---|
| Sample: | 50 |
| Lower Limit | 30 |
| Upper Limit | 3000 |
Table 3.4.51: Specifications
| Parameters | Value |
|---|---|
| Average: | 358.584811836873 |
| Standard Deviation: | 890.343884308414 |
Table 3.4.52: Estimates
| Performance Indexes | |
|---|---|
| PP | 0.3293 |
| PPI | 0.7878 |
| PPS | 0.3225 |
| PPk | 0.3225 |
Table 3.4.53: Performance Indexes
| Observed Indices | |
|---|---|
| PPM > LSE | 20000 |
| PPM < LIE | 140000 |
| PPM Total | 160000 |
Table 3.4.54: Observed Indexes
| Expected Indexes | |
|---|---|
| PPM > LSE | 13367.0406498871 |
| PPM < LIE | 143137.013200317 |
| PPM Total | 156504.053850204 |
Table 3.4.55: Expected Indexes
Figure 3.4.23: Process performance analysis graph.
3.4.3 Non-parametric performance analysis
Sometimes we come across data that does not fit into any known distribution (for example the normal, Weibull, exponential distribution) and when this happens we say that these data are non-parametric.
Therefore, when we are working with non-parametric data, it is not possible to calculate performance indices using a known distribution. However, we can use non-parametric methods to calculate these indices, such as the Kernel method. Next we will discuss how to perform a process performance analysis under these conditions.
3.4.3.1 Non-parametric density estimation: kernel method
In situations where the data does not fit into a known distribution (for example, normal, Weibull, exponential, log-normal distribution), non-parametric techniques are used to adjust a density to the data. The density estimation method using a kernel (Kernel) is a non-parametric technique for estimating density curves in which each observation is weighted by the distance in relation to a central value, the nucleus. The idea is to center each observation x where you want to estimate the density, a window b that defines the neighborhood of x and the points that belong to the estimation.
Nonparametric Density Estimation per Kernel
The Histogram is the oldest and most used way to estimate the probability density function. Given an origin $x_0$ and a window size $h$ the histogram windows are defined by intervals $[x_0 + mh, x_0 + (m+1)h)$ for positive and negative integers $m$.
$$\widehat{f}(x)=\dfrac{1}{nh}$$
Given a kernel function $K$ non-negative such that:
$$\int_{-\infty}^{\infty} K(x)dy = 1$$
The kernel estimator for probability density function is given:
$$\widehat{f}(x)=\dfrac{1}{nh} \sum_{i=1}^{n} K\left(\dfrac{x-x_i}{h}\right)$$
The most used kernel function is called Gaussian kernel and its function is given by the standard normal distribution:
$$K(x)=\dfrac{1}{\sqrt{2\pi}}e^{-\dfrac{x^2}{2}}$$
Example 4.3.1.1
Given a random sample $X_1,X_2,…,X_{10}$ It is desired to estimate the non-parametric density function using the Gaussian Kernel method in the range of $[-4;4,05]$ with a window $h=0,35$, that is, 24 values are observed $x$.
| $X$ | |
|---|---|
| $X_1$ | -0,05 |
| $X_2$ | 0,47 |
| $X_3$ | -3,02 |
| $X_4$ | 0,1 |
| $X_5$ | 0,91 |
| $X_6$ | -0,6 |
| $X_7$ | 0,21 |
| $X_8$ | 0,77 |
| $X_9$ | -0,15 |
| $X_{10}$ | 2,05 |
Table 3.4.56: 24 values of $x$
Observation Data
| -4 |
| -3,65 |
| -3,30 |
| -2,95 |
| -2,6 |
| -2,25 |
| -1,9 |
| -1,55 |
| -1,2 |
| -0,85 |
| -0,5 |
| -0,15 |
| 0,2 |
| 0,55 |
| 0,9 |
| 1,25 |
| 1,6 |
| 1,95 |
| 2,3 |
| 2,65 |
| 3 |
| 3,35 |
| 3,7 |
| 4,05 |
Table 3.4.57: Observations Data
$X : [−4,00; 4,05]$
Therefore, initially we can calculate $\sum_{i=1}^{n}K\left(\dfrac{x-X_i}{h}\right)$
$$\sum_{i=1}^{10}K\left(\dfrac{x_1-X_i}{0,35}\right) = \sum_{i=1}^{10}K\left(\dfrac{-4-X_i}{0,35} \right) = 0,008038$$
$$\sum_{i=1}^{10}K\left(\dfrac{x_2-X_i}{0,35}\right) = \sum_{i=1}^{10}K\left(\dfrac{-3,65-X_i}{0,35} \right) = 0,079734$$
$$\vdots$$
$$\sum_{i=1}^{10}K\left(\dfrac{x_{24}-X_i}{0,35}\right) = \sum_{i=1}^{10}K\left(\dfrac{4,05-X_i}{0,35} \right) = 0,00000003$$
Thus, the estimated density can be calculated:
$$\widehat{f}(x)=\dfrac{1}{nh} \sum_{i=1}^{n} K\left(\dfrac{x_1-x_i}{h}\right) =\dfrac{1}{3,5} \sum_{i=1}^{10} K\left(\dfrac{-4-x_i}{0,35}\right)= 0,0022997$$
$$\widehat{f}(x)=\dfrac{1}{nh} \sum_{i=1}^{n} K\left(\dfrac{x_2-x_i}{h}\right) =\dfrac{1}{3,5} \sum_{i=1}^{10} K\left(\dfrac{-3,65-x_i}{0,35}\right) =0,022781 $$
$$\vdots$$
$$\widehat{f}(x)=\dfrac{1}{nh} \sum_{i=1}^{n} K\left(\dfrac{x_{24}-x_i}{h}\right) =\dfrac{1}{3,5} \sum_{i=1}^{10} K\left(\dfrac{4,05-x_i}{0,35}\right) =0,00000001$$
After estimating the density, the porformance analysis is carried out in the usual way.
Example 4.3.1.2
We monitored the torque measurement of the bolt securing the wheels of the third axle on the right side of the bus. Every two hours, a quality specialist measures the screw torque in five axes. The specification limits for this part are: LSE = 720 and LIE = 480. Evaluate the process capacity and performance.
| Data collection | |||||
|---|---|---|---|---|---|
| Subgroup | X1 | X2 | X3 | X4 | X5 |
| 1 | 623,00 | 589,00 | 618,00 | 620,00 | 613,00 |
| 2 | 618,00 | 604,00 | 594,00 | 618,00 | 606,00 |
| 3 | 637,00 | 584,00 | 608,00 | 608,00 | 608,00 |
| 4 | 618,00 | 635,00 | 618,00 | 630,00 | 608,00 |
| 5 | 587,00 | 606,00 | 604,00 | 616,00 | 608,00 |
| 6 | 608,00 | 601,00 | 601,00 | 606,00 | 580,00 |
| 7 | 599,00 | 589,00 | 664,00 | 618,00 | 728,00 |
| 8 | 584,00 | 637,00 | 599,00 | 628,00 | 606,00 |
| 9 | 584,00 | 606,00 | 587,00 | 584,00 | 620,00 |
| 10 | 623,00 | 632,00 | 604,00 | 580,00 | 601,00 |
| 11 | 589,00 | 611,00 | 599,00 | 592,00 | 589,00 |
| 12 | 592,00 | 726,00 | 580,00 | 589,00 | 618,00 |
| 13 | 604,00 | 613,00 | 599,00 | 611,00 | 599,00 |
| 14 | 611,00 | 596,00 | 611,00 | 580,00 | 613,00 |
| 15 | 589,00 | 709,00 | 592,00 | 625,00 | 687,00 |
| 16 | 628,00 | 592,00 | 608,00 | 637,00 | 656,00 |
| 17 | 606,00 | 584,00 | 604,00 | 592,00 | 620,00 |
| 18 | 613,00 | 604,00 | 618,00 | 592,00 | 584,00 |
| 19 | 596,00 | 587,00 | 613,00 | 618,00 | 592,00 |
| 20 | 581,00 | 604,00 | 580,00 | 611,00 | 613,00 |
| 21 | 608,00 | 623,00 | 604,00 | 584,00 | 606,00 |
| 22 | 616,00 | 599,00 | 616,00 | 714,00 | 611,00 |
| 23 | 632,00 | 618,00 | 611,00 | 584,00 | 592,00 |
| 24 | 620,00 | 587,00 | 580,00 | 613,00 | 608,00 |
| 25 | 608,00 | 582,00 | 599,00 | 604,00 | 604,00 |
Table 3.4.58: Attachment of the third axle wheels on the right side - Mercedes-Benz.
Looking at the probability paper below we see that the data does not follow any known distribution tested.
| Distributions | Statistics | P-Value |
|---|---|---|
| Normal(mu = 609.82, sigma = 27) | 6.7047 | 0 |
| Weibull(Shape = 16.1302, Scale = 624.299) | 15.2221 | 0.01 |
| Log-Normal(log(mu) = 6.41227, log(sigma) = 0.0414417) | 5.6595 | 0 |
Table 3.4.59: Anderson-Darling Test
Figure 3.4.25: QQplot.
Therefore, we will use the kernel method to perform a performance analysis of the process.
Below are the results obtained by Software Action for this example.
| Value | |
|---|---|
| Sample: | 125 |
| Lower Limit | 480 |
| Upper Limit | 720 |
Table 3.4.60: Specifications
| Parameters | Value |
|---|---|
| Average: | 609.816 |
| Standard Deviation: | 26.6047485453498 |
Table 3.4.61: Estimates
| Performance Indexes | |
|---|---|
| PP | 1.4125 |
| PPI | 3.1595 |
| PPS | 0.8751 |
| PPk | 0.8751 |
Table 3.4.62: Performance Indexes
| Observed Indices | |
|---|---|
| PPM > LSE | 16000 |
| PPM < LIE | 0 |
| PPM Total | 16000 |
Table 3.4.63: Observed Indexes
| Expected Indexes | |
|---|---|
| PPM > LSE | 15462.9333940826 |
| PPM < LIE | 0 |
| PPM Total | 15462.9333940826 |
Table 3.4.64: Expected Indexes
Figure 3.4.26: Process performance analysis graph - Core method.