Within-Wafer and Wafer-to-Wafer Variance Decomposition

Version 6 | Created: 2026-09-22 | Updated: 2026-11-07 13:46 UTC
- 1. One-Way Variance Components
- 2. Application to Wafer Measurements
- Appendix A. Terminology
- Appendix B. Decomposition of the Total Sum of Squares
- Appendix C. Limits of the Decomposition
- Appendix D. Derivation of the Between-Component Form
- Appendix E. Derivation of the Screening Limit
- Appendix F. Covariance With a Repeated Argument
- Appendix G. The Chi-Square Distribution
ANOVA (analysis of variance) divides the total spread of the observations into a few causes and shows in numbers how much each cause contributes.
When measurements are nested in layers, the eye cannot tell how much each layer contributes to the spread. ANOVA answers that question by cutting the total sum of squares into the sums of squares of the layers. It divides the spread of the values inside a layer and the spread of the means between layers by their own degrees of freedom to make mean squares, and takes their ratio as the F statistic to judge whether the difference between layers is explained by the spread inside a layer alone. Section 1 builds the decomposition in the general terms group and member, and section 2 puts wafer for group and site for member to obtain two values. One is the w2w threshold, the wafer count from which the spread between wafers separates from the measurement noise, and the other is the WiW excursion, a wafer whose site spread exceeds the limit obtained from the wafers before it.
For a table nested by a single factor, the total spread is cut into a between-group component and a within-group component, and those two components give the spread of a group mean and the limit on the spread of one group. This section uses the general terms group and member alone; what they stand for is fixed in section 2.
A table measured at several members of each group is written with the symbols below. Each entry carries where its value comes from: a design value, a measured value, an observed value or a computed value. The measured value is the single
-
$K$ : number of groups. Design value. -
$N$ : number of members in one group. Design value. -
$M$ : number of observations in all,$M = K N$ . Design value. -
$X_{ij}$ : the value read at the$j$ th member of the$i$ th group. Measured value. -
$\bar{X}_i$ : the mean of the$i$ th group. Observed value. -
$\bar{X}$ : the grand mean of all$M$ values. Observed value. -
$s_i$ : the sample standard deviation of the$N$ member values of the$i$ th group. Observed value. -
$\sigma_{\mu_n}$ : the sample standard deviation of the first$n$ group means. Observed value. -
$\hat{\sigma}_{\mu_K}$ : the spread of a group mean obtained from the variance components. It is the left side of equations (13), (15), (16) and (17). Computed value. -
$s_i^2$ : the sample variance of the member values inside the$i$ th group, the within-group component. Observed value. -
$S_{\mathrm{total}}^2$ : the sample variance of all$M$ values. Observed value.
The total sum of squares splits, with nothing left over, into the deviations inside the groups and the deviations of the group means. This is the identity ANOVA stands on.
- SST: total sum of squares. The total variation, how far every observation lies from the grand mean.
- SSW: within-group sum of squares. The variation inside the groups, how far each member value lies from its own group mean. It is the share the model leaves unexplained, so it is also written SSE (error sum of squares).
- SSB: between-group sum of squares. The variation between the groups, how far each group mean lies from the grand mean. It is the share the factor explains, so it is also written SSA (factor sum of squares).
Written out, the three sums of squares are as below; the derivation of this identity is in Appendix B.
Each sum of squares divided by its own degrees of freedom is a mean square (MS), and that is a variance. Turning the two terms on the right into the average within-group variance and the variance of the group means gives the forms below.
The two coefficients approach 1 as
The two cases in which the size of the components sets the total standard deviation are below.
-
$S_{\mathrm{between}}^2 = 0$ : the group means are all alike, and the total standard deviation falls to the root mean square of the within-group standard deviations. -
$S_{\mathrm{between}}^2 \gt 0$ : however small the within-group standard deviation is, group means that lie apart make the total standard deviation far larger than the standard deviation of a single group.
In the standard notation of the one-way random effects model, the grand mean and the share of the group are written apart. With
To measure from the data the name
Equation (8) measures how alike two members of the same group are, yet that value is what measures how far the groups lie apart.
Since
An observed group mean is the true mean of the group
Since
Taking the square root gives the form that accounts for the observed value.
When the observed value
Equation (5) measures the spread of one member value, and equation (13) measures the spread of one group mean. The two differ in the within component alone. Averaging
Putting equation (14) in to remove
Since
When the group effects are all 0, that is
This is the
Whether the spread of one group departs far from the within-group spread seen so far is judged from the distribution of the sample standard deviation. To judge group
With wafer for group and site for member, the two components of section 1 become the spread between wafers and the spread within a wafer. Process control uses this to cut the total spread into a within-wafer uniformity problem and a wafer-to-wafer reproducibility problem and so find the cause.
The data is example.csv, 200 rows by 14 columns. The table was built by drawing one level of its own for each wafer and laying site noise on top of it. Over that sit a drift along run order that raises the level and the site noise together, six wafers whose level departs far from the drift, and twenty wafers whose site noise is inflated; the seed is fixed, so the same table comes out every time. One row is one wafer, and the column wafer_id is a serial number from wf0001 to wf0200 that carries the row order of the file, that is, the run order. The remaining columns S1~S13 are the 13 sites on that wafer. There are no missing values and 2600 observations in all.
- All site values: mean 619.8, standard deviation 33.29, minimum 460.34, maximum 797.64.
- Wafer means: minimum 470.4, maximum 767.5, standard deviation 30.06.
- Within-wafer range: mean 43.85, maximum 212.81.
- Wafer uniformity
$s_i / \bar{X}_i$ : median 1.82%, minimum 0.94% (wf0018), maximum 8.77% (wf0185).
Drawing one violin per wafer along run order shows the position and the width of the distribution moving together from wafer to wafer. The early wafers gather near 600 and rise into the 630s later on, and a wafer that hangs alone below means the values there were far lower. With only 13 sites per wafer the shape of a violin is coarse, so the 13 site values are drawn on top of it as points. The line drawn across joins the wafer means and shows how much the position jumps from wafer to wafer.
Fig 1. Distribution of the site values on each wafer along run order, with the wafer means traced
A one-way ANOVA with wafer as the factor separates the between-wafer component from the within-wafer component. The calculation runs in four steps.
- First, SS: equation (2) cuts the total sum of squares into the between-wafer and the within-wafer sums of squares.
- Second, df: the count of independent pieces of information each sum of squares holds. Between is
$K-1$ , the$K$ wafer means less the one grand mean, and within is$K(N-1)$ , the$N$ sites of a wafer less its own mean, taken$K$ times. - Third, MS and F: each sum of squares divided by its own degrees of freedom gives a mean square, and the ratio of the two mean squares is the F statistic.
- Fourth, p: under the assumption that the wafers do not differ, the F statistic follows the
$F(K-1,\ K(N-1))$ distribution. p is the probability that this distribution yields a value larger than the F the third step produced.
The values so obtained are collected in Table 1.
Table 1. One-way ANOVA with wafer as the factor
| Source | SS | df | MS | F | p | Sigma component |
|---|---|---|---|---|---|---|
| Between wafer | 2,338,049 | 199 | 11,749.0 | 51.92 | ~0 | |
| Within wafer | 543,060 | 2400 | 226.3 |
What each column of the table means is below.
- SS: sum of squares. The between wafer row is the SSB of section 1.2 and the within wafer row the SSW; added together they make the SST, 2,881,109.
- df: degrees of freedom. The count of independent pieces of information that sum of squares holds. With 200 wafers between is 199, and the 13 sites of a wafer less its one mean, 12, taken 200 times makes within 2400.
- MS: mean square. SS divided by df, an estimate of a variance. The within value 226.3 is the spread of one site value, and the between value 11,749.0 is the spread of the wafer means with the site spread laid on it.
- F: the ratio of the two MS values. Here 11,749.0 / 226.3 = 51.92. A value that stays near 1 if the wafers do not differ.
- p: the probability of an F that large under the assumption that the wafers do not differ. Here it is close to 0, so that assumption is dropped.
- Sigma component: the standard deviation of the variance component that row carries. Within is the square root of MS within, and between is MS between less MS within, divided by the site count 13, square-rooted.
Table 2. Variance components
| Component | Sigma | Variance | Share |
|---|---|---|---|
| Wafer-to-wafer | 29.77 | 886.4 | 79.7% |
| Within-wafer | 15.04 | 226.3 | 20.3% |
| Total | 33.36 | 1112.6 | 100% |
Adding the two components gives 33.36, a little larger than the observed standard deviation of section 2.1, 33.29. As section 1.2 showed, the plain sum of the two components is an approximation, and the exact relation carries coefficients smaller than 1.
The ICC (intraclass correlation) is the share of the total variance that the between-wafer variance holds, and its definition is equation (14). For this data it is 886.4 / 1112.6 = 0.797. The closer the value is to 1 the more two site values drawn from the same wafer resemble each other, and the closer it is to 0 the less knowing which wafer they came from helps in predicting the value. 0.797 says that 79.7% of the spread of one site value is set by the wafer it sits on, so to reduce the spread the wafer-level conditions come before site-level uniformity.
Since the ICC is not 0, the
The two components of Table 2 are from all 200 wafers seen at once. A single wafer carries no between-wafer variation, so fixing the left edge of a window at the first wafer and extending only its right edge one wafer at a time (expanding window), then recomputing the two components in each window, shows at which wafer count the values settle. The w2w component is as low as 7.77 at four wafers, jumps to 20.53 at ten, and for 30.32 before reaching 29.77 at 15.14 for
Fig 2 draws the two terms of equation (13), each computed from the first
- Left term
$\sigma_{within}/\sqrt{N}$ : the per-wafer site variance$s_i^2$ averaged over the first$n$ wafers as$\sigma_{within}(1..n) = \sqrt{\frac{1}{n} \sum_{i \le n} s_i^2}$ , divided by$\sqrt{N}$ . It is the measurement noise that remains in a wafer mean even after averaging$N$ sites, a floor that does not vanish even if the wafers are all alike. It comes straight from the data, since it does not use the wafer means. - Observed curve
$\sigma_{\mu_n}$ : the sample standard deviation of the first$n$ wafer means. - Right term
$\sigma_{between}$ : equation (13) inverted,$\sqrt{\sigma_{\mu_n}^2 - \sigma_{within}^2(1..n)/N}$ , which is the$s_{\mu}(1..n)$ that stands in the place of$\sigma_{between}$ . It is the spread of the wafer effects that differ from wafer to wafer, that is, the between-wafer variation itself. Where the term under the square root is negative it is undefined and not drawn, and this data has no such$n$ .
Fig 2. Cumulative standard deviation of the wafer means with the two terms of equation (13) and the w2w threshold, each computed from the first n wafers only
The place in Fig 2 where the right term begins to lie on the observed curve is called the w2w threshold; taken as the first
Carried over to process control, the w2w threshold is the smallest sample a judgement needs. A spread measured before it cannot see the wafer-to-wafer part, so a control limit built on that value is set far too low, and only past this point does the judgement "this spread comes from wafer-level conditions, not from site uniformity" hold. Conversely, a small spread over the stretch before it must not be read as a settled process — all that can be seen there is the measurement noise.
When the spread of one wafer departs far from the within-wafer spread seen so far, that wafer is taken as a WiW excursion. The judgement uses equation (18) of section 1.5, and the baseline is the
Fig 3 is that judgement. The grey points are the
Fig 3. Site value spread of each wafer against the running baseline and the screening limit of equation (18)
A wafer so judged is left out of the baseline update. Taken in as it is, an excursion would raise the baseline and hide the excursions after it, so the more frequent the excursions the blunter the judgement. Against the pooled sigma_within of 15.04 over all 200 wafers, the baseline obtained this way is 11.54 at the last wafer, 3.50 lower, and that difference is the share the excursions load onto the pooled value.
The first 20 wafers are used only to build the baseline and are not judged. A baseline resting on a few wafers swings widely on its own and leaves the judgement to chance, and the price is that wf0010 and wf0011, the two that would have exceeded the limit set by the wafers before them, fall outside the judgement.
- ANOVA: analysis of variance. A method that divides the total sum of squares into the sums of squares of the causes and judges the significance of a cause by the ratio of the mean squares, each divided by its degrees of freedom.
-
bilinear: the property of being linear in each of the two arguments. For a covariance it is
$\mathrm{Cov}(aX + bY, Z) = a \, \mathrm{Cov}(X, Z) + b \, \mathrm{Cov}(Y, Z)$ in the first argument and$\mathrm{Cov}(X, aZ + bW) = a \, \mathrm{Cov}(X, Z) + b \, \mathrm{Cov}(X, W)$ in the second. -
Covariance: the expected product of the deviations of two random variables from their own means. With a repeated argument
$\mathrm{Cov}(Y, Y) = \mathrm{Var}(Y)$ , and that is carried out in Appendix F. -
group effect: the amount
$\alpha_i$ by which the true mean of group$i$ departs from the grand mean. In the one-way random effects model it is a random variable drawn afresh for each group with mean 0, and its variance is$\sigma_{between}^2$ . The group of this document is the wafer. - ICC: intraclass correlation. The share of the total variance that the between-group variance holds. It states between 0 and 1 how alike two observations drawn from the same group are, and the group of this document is the wafer. What this document uses is the ICC(1) of the one-way random effects model, whose value differs from the ICC of a two-way model.
- one-way ANOVA: an ANOVA whose groups are set by a single factor. It cuts the total sum of squares into a between-group and a within-group sum of squares and no further, and the factor of this document is the wafer.
- run order: the row order of the data file. It follows the measurement order and is used as the time axis.
- running baseline: the baseline used when judging one wafer. It is the within-wafer component obtained from the wafers before it that were not judged excursions.
-
sigma_between: the standard deviation of the between-wafer variance component. It is the wafer-to-wafer value of Table 2 and, unlike the sample standard deviation of the wafer means
$S_{\mathrm{between}}$ , has the share of the within-wafer site error removed. - sigma_within: the standard deviation of the within-wafer variance component. It is the square root of MS within.
-
site: a measurement point on one wafer, matching the columns
S1~S13. -
Var: variance. The average of the squared departures of the values from their own mean, the square of the standard deviation. For a sample of
$m$ observations it is computed as$\mathrm{Var}(Y) = \frac{1}{m-1} \sum_{i=1}^{m} (Y_i - \bar{Y})^2$ . - variogram: the variance of the difference between the values at two points, written as a function of the distance between them. It is used to measure how alike values are with distance.
- w2w: wafer-to-wafer. The variation between wafers.
-
w2w threshold: the first
$n$ at which the right term of equation (13) exceeds 98% of the observed spread of the wafer means. Before it the difference between wafers is buried in the measurement noise and does not separate. - WiW: within-wafer. The variation between the sites inside one wafer.
- WiW excursion: a wafer whose site standard deviation exceeds the limit set by the running baseline.
Equation (2) comes from writing the deviation from the grand mean as two pieces. One piece is how far a member value lies from its own group mean, and the other is how far that group mean lies from the grand mean.
Squaring both sides and summing over
The inner sum in the third term of equation (20) adds up how far the member values of group
Removing the third term from equation (20), rewriting the second term, which adds the same value
Read as the sums of squares, equation (22) is equation (2); read by the names braced under them, it is equation (1). This derivation puts no assumption on the data, so equation (1) holds for any table.
Writing the two coefficients of section 1.2 as
Both the numerator and the denominator start from
Each shortfall is tied to one size alone. Dividing the numerator and the denominator of
However large
In the limit of growing one side alone, then, the coefficients stop at the values below.
So what drives
At the
Equation (8) takes the errors at two different sites of the same wafer as independent and so erases
Writing the correlation of two site errors as
The same correlation bears on the limit of section 2.4. Equation (37) uses a
Measuring
Equation (6) takes
This data departs from that assumption. The wafer mean is 610.2 over the first 50 wafers and 630.9 over the last 50, and two stretches drawn independently from one distribution would not part this far. The
So the
Separating the two needs a model with run order as a factor. One may recompute
Equation (15) is written with the within component.
Equation (9) gives
Substituting this and collecting the coefficient of
Putting in the ICC of equation (14) to remove
At
Below,
Setting a limit needs to know how large
Since
From the definition of the mean,
The first term on the right is the sum of the squares of
Bound by the one constraint equation (21) shows, that the deviations
Taking the
Solving the bracket for
The baseline is not the true value but an estimate from the groups before it, so strictly the ratio of the two variances follows an F distribution. If the baseline was obtained from
As
Putting the same random variable into both arguments of a covariance makes the two deviations multiplied together the same value, so it becomes a square, and its expectation is the definition of the variance itself.
The first term of equation (8) is of that shape, so
The limit of equation (18) comes from a quantile of the chi-square distribution.
Definition: Chi-square distribution
The chi-square distribution is the distribution followed by the sum of the squares of$m$ independent standard normal variables, and that$m$ is called its degrees of freedom.
Being a sum of squares it is never negative, and the distribution carries a long tail to the right. Its mean and variance are set by the degrees of freedom alone.
As the degrees of freedom grow, the spread against the mean
Appendix E shows that when the member values of one group are independent and follow the same normal distribution,
Version 129 | Created: 2026-09-01 | Updated: 2026-11-07 13:46 UTC
- 1. One-Way Variance Components
- 2. Application to Wafer Measurements
- Appendix A. Terminology
- Appendix B. Decomposition of the Total Sum of Squares
- Appendix C. Limits of the Decomposition
- Appendix D. Derivation of the Between-Component Form
- Appendix E. Derivation of the Screening Limit
- Appendix F. Covariance With a Repeated Argument
- Appendix G. The Chi-Square Distribution
ANOVA (analysis of variance) 는 관측치의 전체 산포를 몇 개의 원인으로 나누어, 어느 원인이 얼마나 기여하는지 수치로 보이는 방법이다.
관측값이 여러 층으로 묶여 있을 때 각 층이 산포에 얼마나 기여하는지는 눈으로 가려낼 수 없다. ANOVA 는 전체 제곱합을 층별 제곱합으로 쪼개어 이 물음에 답한다. 한 층 안에서 값이 흩어진 정도와 층 사이에서 평균이 벌어진 정도를 각각의 자유도로 나누어 평균제곱으로 만들고, 그 비를 F 통계량으로 삼아 층 사이의 차이가 층 안의 산포만으로 설명되는지 판정한다. Section 1 은 group 과 member 라는 일반 용어로 그 분해를 세우고, section 2 는 wafer 를 group 으로, site 를 member 로 두어 두 값을 구한다. 하나는 wafer 간 산포가 측정 잡음에서 갈라져 보이기 시작하는 wafer 장수인 w2w threshold 이고, 다른 하나는 site 산포가 앞선 wafer 로 구한 한계를 넘은 wafer 인 WiW excursion 이다.
인자 하나로 묶인 자료에서 전체 산포를 group 간 성분과 group 내 성분으로 가르고, 그 두 성분으로 group 평균의 산포와 group 하나의 산포 한계를 적는다. 이 꼭지는 group 과 member 라는 일반 용어만 쓰며, 그것이 무엇을 가리키는지는 section 2 가 정한다.
Group 을 개당 여러 member 에서 재어 얻은 표를 아래 기호로 적는다. 항목마다 그 값이 어디서 오는지를 설계값, 측정값, 관측값, 계산값으로 적었다. 측정값은 표에 실린
-
$K$ : group 개수. 설계값. -
$N$ : group 하나에 든 member 개수. 설계값. -
$M$ : 전체 관측치 개수이며$M = K N$ 이다. 설계값. -
$X_{ij}$ :$i$ 번째 group 의$j$ 번째 member 에서 읽은 값. 측정값. -
$\bar{X}_i$ :$i$ 번째 group 의 평균. 관측값. -
$\bar{X}$ : 전체$M$ 개의 총평균. 관측값. -
$s_i$ :$i$ 번째 group 하나의 member 값$N$ 개로 계산한 표본표준편차. 관측값. -
$\sigma_{\mu_n}$ : 처음$n$ 개의 group 평균을 표본표준편차로 잰 값. 관측값. -
$\hat{\sigma}_{\mu_K}$ : group 평균의 산포를 분산성분에서 얻은 값. 식 (13), 식 (15), 식 (16), 식 (17) 의 좌변이다. 계산값. -
$s_i^2$ :$i$ 번째 group 안 member 값의 표본분산. within-group 성분. 관측값. -
$S_{\mathrm{total}}^2$ : 전체$M$ 개의 표본분산. 관측값.
전체 제곱합은 group 안의 편차와 group 평균의 편차로 남김없이 갈라진다. 이것이 ANOVA 가 딛는 항등식이다.
- SST: total sum of squares. 전체 변동. 모든 관측치가 총평균에서 벗어난 정도.
- SSW: within-group sum of squares. group 내 변동. 각 member 값이 제 group 평균에서 벗어난 정도. 모형이 설명하지 못하고 남은 몫이므로 SSE (error sum of squares) 로도 쓴다.
- SSB: between-group sum of squares. group 간 변동. 각 group 평균이 총평균에서 벗어난 정도. 인자가 설명하는 몫이므로 SSA (factor sum of squares) 로도 쓴다.
세 제곱합을 풀어쓰면 아래이며, 이 항등식의 유도는 Appendix B 에 적었다.
각 제곱합을 제 자유도로 나누면 평균제곱 (mean square, MS) 이 되고, 그것이 곧 분산이다. 우변의 두 항을 각각 within-group 분산의 평균과 group 평균의 분산으로 바꾸면 아래이다.
두 계수는
두 성분의 크기에 따라 전체 표준편차가 갈리는 두 경우는 아래이다.
-
$S_{\mathrm{between}}^2 = 0$ 일 때: group 평균이 모두 같은 경우이며, 전체 표준편차는 group 내 표준편차의 제곱평균제곱근으로 줄어든다. -
$S_{\mathrm{between}}^2 \gt 0$ 일 때: group 내 표준편차가 아무리 작아도 group 평균이 서로 벌어져 있으면 전체 표준편차는 개별 group 의 표준편차보다 훨씬 커진다.
One-way random effects model 의 표준 표기로, 총평균과 group 의 몫을 갈라 적는다. 총평균을
식 (7) 이 붙인
식 (8) 은 같은 group 의 두 member 가 얼마나 닮았는지를 재지만, 그 값이 곧 group 끼리 얼마나 벌어졌는지를 재는 값이다.
관측한 group 평균은 group 의 참 평균
제곱근을 취하면 관측값을 설명하는 식이 된다.
처음
식 (5) 는 member 값 한 점의 산포를 재고, 식 (13) 은 group 평균 한 점의 산포를 잰다. 두 식이 갈리는 곳은 within 성분 하나이다. Member 를
식 (14) 를 넣어
Group effect 가 모두 0 일 경우에,
이것이 흔히 기대하는
Group 하나의 산포가 앞서 본 group 내 산포에서 크게 벗어났는지는 표본표준편차의 분포로 판정한다. Group
Wafer 를 group 으로, site 를 member 로 두면 section 1 의 두 성분이 wafer 간 산포와 wafer 내 산포가 된다. 전체 산포를 wafer 내 균일도 문제와 wafer 간 재현성 문제로 갈라 원인을 찾는 것이 공정 관리에서의 쓰임이다.
자료는 example.csv 이며 200 행 14 열이다. 이 표는 wafer 마다 고유 수준을 하나 뽑고 거기에 site 잡음을 얹어 만든 것이다. 여기에 run order 를 따라 수준과 site 잡음이 함께 커지는 drift 를 두고, 수준이 크게 벗어난 wafer 여섯 장과 site 잡음이 부풀려진 wafer 스무 장을 넣었으며, seed 를 고정해 늘 같은 표가 나온다. 한 행이 한 장의 wafer 이고, 열 wafer_id 는 wf0001 부터 wf0200 까지의 일련번호로 파일의 행 순서, 곧 run order 를 나타낸다. 나머지 열 S1~S13 은 그 wafer 위의 13 개 site 이다. 결측은 없고 전체 관측치는 2600 개이다.
- 전체 site 값: 평균 619.8, 표준편차 33.29, 최소 460.34, 최대 797.64.
- Wafer 평균: 최소 470.4, 최대 767.5, 표준편차 30.06.
- Within-wafer range: 평균 43.85, 최대 212.81.
- Wafer uniformity
$s_i / \bar{X}_i$ : 중앙값 1.82%, 최소 0.94% (wf0018), 최대 8.77% (wf0185).
Wafer 한 장을 violin 하나로 두고 run order 로 늘어놓으면, 분포의 위치와 폭이 wafer 마다 함께 움직이는 것이 보인다. 앞쪽 wafer 는 600 근처에 모여 있다가 뒤쪽에서 630 대까지 올라가고, 아래로 홀로 처진 wafer 는 그 자리에서 값이 크게 낮았다는 뜻이다. Wafer 당 site 가 13 개뿐이라 violin 의 모양 자체는 거칠어서 site 값 13 점을 그대로 겹쳐 찍었다. 겹쳐 그린 선은 wafer 평균을 이은 것으로, 위치가 wafer 마다 얼마나 튀는지 보여준다.
Fig 1. Distribution of the site values on each wafer along run order, with the wafer means traced
Wafer 를 인자로 둔 one-way ANOVA 로 wafer 간 성분과 wafer 내 성분을 나눈다. 계산은 네 단계로 이루어진다.
- 첫째, SS: 식 (2) 로 전체 제곱합을 wafer 간 제곱합과 wafer 내 제곱합으로 가른다.
- 둘째, df: 각 제곱합이 담은 독립한 정보의 개수를 센다. Between 은 wafer 평균
$K$ 개에서 총평균 하나를 뺀$K-1$ 이고, within 은 wafer 마다 site$N$ 개에서 제 평균 하나를 뺀$N-1$ 을$K$ 배 한$K(N-1)$ 이다. - 셋째, MS 와 F: 각 제곱합을 제 자유도로 나눠 평균제곱을 얻고, 두 평균제곱의 비를 F 통계량으로 삼는다.
- 넷째, p: wafer 사이에 차이가 없다는 가정 아래 F 통계량은
$F(K-1,\ K(N-1))$ 분포를 따른다. p 는 그 분포에서 셋째 단계가 낸 F 값보다 큰 값이 나올 확률이다.
이렇게 얻은 값을 Table 1 에 정리했다.
Table 1. One-way ANOVA with wafer as the factor
| Source | SS | df | MS | F | p | Sigma component |
|---|---|---|---|---|---|---|
| Between wafer | 2,338,049 | 199 | 11,749.0 | 51.92 | ~0 | |
| Within wafer | 543,060 | 2400 | 226.3 |
표의 각 열이 뜻하는 바는 아래이다.
- SS: sum of squares. Between wafer 행이 section 1.2 의 SSB, within wafer 행이 SSW 이며, 둘을 더하면 SST 2,881,109 가 된다.
- df: degrees of freedom. 그 제곱합이 담은 독립한 정보의 개수. Wafer 200 장이므로 between 은 199, wafer 마다 site 13 개에서 평균 하나를 뺀 12 를 200 배 하여 within 은 2400.
- MS: mean square. SS 를 df 로 나눈 값이며 분산의 추정치. Within 의 226.3 은 site 한 점의 산포, between 의 11,749.0 은 wafer 평균의 산포에 site 산포가 얹힌 크기.
- F: 두 MS 의 비. 여기서는 11,749.0 / 226.3 = 51.92. wafer 사이에 차이가 없다면 1 근처에 머무는 값.
- p: wafer 사이에 차이가 없다는 가정 아래 그만큼 큰 F 가 나올 확률. 여기서는 0 에 가까워, 차이가 없다는 가정을 버린다.
- Sigma component: 그 행이 내는 분산성분의 표준편차. Within 은 MS within 의 제곱근이고, between 은 MS between 에서 MS within 을 빼고 site 수 13 으로 나눈 뒤 제곱근을 취한 값이다.
Table 2. Variance components
| Component | Sigma | Variance | Share |
|---|---|---|---|
| Wafer-to-wafer | 29.77 | 886.4 | 79.7% |
| Within-wafer | 15.04 | 226.3 | 20.3% |
| Total | 33.36 | 1112.6 | 100% |
두 성분을 더한 33.36 은 section 2.1 의 관측 표준편차 33.29 보다 조금 크다. Section 1.2 에서 본 대로 두 성분의 단순 합은 근사식이고, 정확한 관계에는 1 보다 작은 계수가 붙기 때문이다.
ICC (intraclass correlation) 는 전체 분산 중 wafer 간 분산이 차지하는 비율이며, 그 정의는 식 (14) 이다. 이 자료에서는 886.4 / 1112.6 = 0.797 이다. 값이 1 에 가까울수록 같은 wafer 에서 뽑은 두 site 값이 서로 닮았다는 뜻이고, 0 에 가까울수록 어느 wafer 에서 뽑았는지가 값을 예측하는 데 도움이 되지 않는다는 뜻이다. 0.797 은 site 한 점의 산포 중 79.7% 를 그 점이 놓인 wafer 가 결정한다는 것이므로, 산포를 줄이려면 site 단위 균일도보다 wafer 단위 조건을 먼저 봐야 한다.
ICC 가 0 이 아니므로 식 (17) 의
Table 2 의 두 성분은 200 장 전체를 한 번에 본 값이다. Wafer 한 장에서는 wafer 간 변동을 잴 수 없으므로, 창의 왼쪽 끝을 첫 wafer 에 고정하고 오른쪽 끝만 한 장씩 늘리며 (expanding window) 창마다 두 성분을 다시 구하면 그 값이 몇 장째에 자리를 잡는지 보인다. w2w 는 wafer 네 장에서 7.77 로 낮다가 열 장에서 20.53 으로 뛰고, 30.32 안에 들어 15.14 안에 머문다. 뒤쪽 wafer 의 site 잡음이 앞쪽보다 크다. 두 성분 모두 앞쪽 수십 장에서는 표본이 모자라 Table 2 의 값과 크게 어긋난다.
Fig 2 는 식 (13) 의 두 항을 처음
- 왼쪽 항
$\sigma_{within}/\sqrt{N}$ : wafer 마다의 site 분산$s_i^2$ 를 처음$n$ 장까지 평균한$\sigma_{within}(1..n) = \sqrt{\frac{1}{n} \sum_{i \le n} s_i^2}$ 을$\sqrt{N}$ 으로 나눈 값. Site 를$N$ 개 평균해도 wafer 평균에 남는 측정 잡음이며, wafer 가 모두 같아도 사라지지 않는 바닥이다. Wafer 평균을 쓰지 않으므로 자료에서 바로 나온다. - 관측 곡선
$\sigma_{\mu_n}$ : 처음$n$ 장의 wafer 평균의 표본표준편차. - 오른쪽 항
$\sigma_{between}$ : 식 (13) 을 뒤집은$\sqrt{\sigma_{\mu_n}^2 - \sigma_{within}^2(1..n)/N}$ 이며,$\sigma_{between}$ 자리에 드는$s_{\mu}(1..n)$ 이 그 값이다. Wafer 마다 다른 wafer effect 의 산포, 곧 wafer 간의 변동 그 자체이다. 제곱근 안이 음수인$n$ 에서는 정의되지 않아 그리지 않으며, 이 자료에는 그런$n$ 이 없다.
Fig 2. Cumulative standard deviation of the wafer means with the two terms of equation (13) and the w2w threshold, each computed from the first n wafers only
Fig 2 에서 오른쪽 항이 관측 곡선에 겹치기 시작하는 곳을 w2w threshold 라 부르며, 오른쪽 항이 관측값의 98% 를 넘는 첫
공정 관리로 옮기면 w2w threshold 는 판단에 필요한 최소 표본이다. 그 앞에서 잰 산포는 wafer-to-wafer 를 볼 수 없으므로 그 값으로 관리 한계선을 세우면 산포를 크게 낮춰 잡게 되고, 이 점을 넘어서야 "이 산포는 site 균일도가 아니라 wafer 단위 조건에서 온다" 는 판정이 성립한다. 거꾸로 그 앞 구간에서 산포가 작게 나왔다고 공정이 안정된 것으로 읽으면 안 된다 — 아직 볼 수 있는 것이 측정 잡음뿐이기 때문이다.
Wafer 한 장의 산포가 그때까지 본 wafer 내 산포에서 크게 벗어나면 그 wafer 를 WiW excursion 으로 본다. 판정은 section 1.5 의 식 (18) 을 쓰며, 기준선은 그 wafer 앞에 있으면서 excursion 으로 판정되지 않은 wafer 만으로 구한
Fig 3 이 그 판정이다. 회색 점이 wafer 한 장의
Fig 3. Site value spread of each wafer against the running baseline and the screening limit of equation (18)
판정된 wafer 는 기준선 갱신에서 뺀다. 그대로 담으면 excursion 이 기준선을 끌어올려 뒤의 excursion 을 가리므로, excursion 이 잦을수록 판정이 둔해진다. 200 장을 다 담은 pooled sigma_within 15.04 와 견주면 이렇게 얻은 기준선은 마지막 wafer 에서 11.54 로 3.50 이 낮은데, 그 차이가 excursion 이 pooled 값에 실어 놓은 몫이다.
처음 20 장은 기준선을 쌓는 데만 쓰고 판정하지 않는다. 표본 몇 장으로 구한 기준선은 그 자체가 크게 흔들려 판정이 우연에 좌우되기 때문이며, 그 대가로 앞선 wafer 가 세운 한계를 넘었을 wf0010 과 wf0011 두 장이 판정 대상에서 빠진다.
- ANOVA: analysis of variance. 전체 제곱합을 원인별 제곱합으로 나누고, 각각을 자유도로 나눈 평균제곱의 비로 원인의 유의성을 판정하는 방법.
-
bilinear: 두 인자 각각에 대해 linear 인 성질. Covariance 에서는 첫 인자에 대해
$\mathrm{Cov}(aX + bY, Z) = a \, \mathrm{Cov}(X, Z) + b \, \mathrm{Cov}(Y, Z)$ 이고, 둘째 인자에 대해$\mathrm{Cov}(X, aZ + bW) = a \, \mathrm{Cov}(X, Z) + b \, \mathrm{Cov}(X, W)$ 이다. -
Covariance: 두 확률변수가 각자의 평균에서 벗어난 양을 곱해 기댓값을 취한 값. 두 인자가 같으면
$\mathrm{Cov}(Y, Y) = \mathrm{Var}(Y)$ 이며, 그 과정은 Appendix F 에 적었다. -
group effect: group
$i$ 의 참 평균이 총평균에서 벗어난 양$\alpha_i$ . One-way random effects model 에서는 평균 0 으로 group 마다 새로 뽑히는 확률변수이고 그 variance 가$\sigma_{between}^2$ 이다. 이 문서의 group 은 wafer 이다. - ICC: intraclass correlation. 전체 분산 중 group 간 분산이 차지하는 비율. 같은 group 에서 뽑은 두 관측치가 얼마나 닮았는지를 0 에서 1 사이로 나타내며, 이 문서의 group 은 wafer 이다. 이 문서가 쓰는 것은 one-way random effects model 의 ICC(1) 이며, two-way model 의 ICC 와는 값이 다르다.
- one-way ANOVA: 인자 하나로 group 을 나눈 ANOVA. 전체 제곱합을 group 간 제곱합과 group 내 제곱합 둘로만 가르며, 이 문서의 인자는 wafer 이다.
- run order: 자료 파일의 행 순서. 측정 순서를 따르므로 시간 축으로 사용.
- running baseline: wafer 한 장을 판정할 때 쓰는 기준선. 그 wafer 앞에 있으면서 excursion 으로 판정되지 않은 wafer 만으로 구한 within-wafer 성분이다.
-
sigma_between: wafer 간 분산성분의 표준편차. Table 2 의 wafer-to-wafer 값이며, wafer 평균의 표본표준편차
$S_{\mathrm{between}}$ 과 달리 within-wafer site 오차의 몫을 뺀 값이다. - sigma_within: wafer 내 분산성분의 표준편차. MS within 의 제곱근이다.
-
site: 한 wafer 위의 측정 지점. 열
S1~S13에 해당. -
Var: variance. 값이 제 평균에서 벗어난 정도를 제곱하여 평균한 값이며, 표준편차의 제곱이다. 관측 수
$m$ 인 표본에서는$\mathrm{Var}(Y) = \frac{1}{m-1} \sum_{i=1}^{m} (Y_i - \bar{Y})^2$ 로 계산한다. - variogram: 두 지점의 값 차이가 갖는 분산을 두 지점 사이 거리의 함수로 나타낸 것. 거리에 따라 값이 얼마나 닮는지를 재는 데 쓴다.
- w2w: wafer-to-wafer. wafer 사이의 변동.
-
w2w threshold: 식 (13) 의 오른쪽 항이 관측된 wafer 평균 산포의 98% 를 넘는 첫
$n$ . 그 앞에서는 wafer 사이의 차이가 측정 잡음에 묻혀 분리되지 않는다. - WiW: within-wafer. 한 wafer 안 site 사이의 변동.
- WiW excursion: site 표준편차가 running baseline 이 세운 한계를 넘은 wafer.
식 (2) 는 총평균에서 잰 편차를 두 조각으로 갈라 적는 데에서 나온다. 한 조각은 member 값이 제 group 평균에서 벗어난 양이고, 다른 조각은 그 group 평균이 총평균에서 벗어난 양이다.
양변을 제곱하여
식 (20) 의 셋째 항에 든 안쪽 합은 group
식 (20) 에서 셋째 항을 지우고,
식 (22) 의 제곱합을 그대로 읽으면 식 (2) 이고, 아래에 붙인 이름으로 읽으면 식 (1) 이다. 이 유도는 자료에 아무 가정도 두지 않으므로, 식 (1) 은 어느 표에서나 성립한다.
Section 1.2 의 두 계수를
분자와 분모가 모두
두 결손항은 각각 한쪽 크기에만 매인다.
곧 한쪽만 키운 극한에서 계수는 아래 값에 멈춘다.
따라서
이 문서의
식 (8) 은 같은 wafer 의 서로 다른 두 site 오차가 독립이라고 두어
두 site 오차의 상관을
같은 상관이 section 2.4 의 한계에도 걸린다. 식 (37) 가 자유도
식 (6) 은
이 자료는 그 가정에서 벗어난다. Wafer 평균은 앞 50 장에서 610.2 이고 뒤 50 장에서 630.9 로, 한 분포에서 독립으로 뽑았다면 두 구간이 이만큼 갈리지 않는다. 뒤쪽 wafer 의
그래서 이 문서의
둘을 가르려면 run order 를 인자로 둔 모형이 필요하다. 시간 추세항을 뺀 잔차에서
식 (15) 는 within 성분으로 적혀 있다.
식 (9) 에서
이를 대입하고
식 (14) 의 ICC 를 넣어
아래에서
한계를 세우려면
평균의 정의에서
우변의 첫 항은 표준정규
식 (21) 이 보인 제약, 곧 편차
Section 1.5 의
괄호 안을
기준선은 참값이 아니라 앞선 group 으로 추정한 값이므로, 엄밀하게는 두 분산의 비가 F 분포를 따른다. 기준선을 group
Covariance 의 두 인자에 같은 확률변수를 넣으면 곱해지는 두 편차가 같은 값이라 제곱이 되고, 그 기댓값은 variance 의 정의 그대로이다.
식 (8) 의 첫째 항이 그 꼴이므로
식 (18) 의 한계는 카이제곱 분포의 분위에서 나온다.
Definition: Chi-square distribution
카이제곱 분포는 서로 독립인 표준정규 변수$m$ 개를 제곱해 더한 값이 따르는 분포이고, 그$m$ 을 degrees of freedom 이라 부른다.
제곱을 더한 값이라 음수가 되지 않고, 분포는 오른쪽으로 긴 꼬리를 지닌다. 평균과 분산은 자유도만으로 정해진다.
자유도가 커질수록 평균 대비 산포
Appendix E 는 한 group 의 member 값이 서로 독립이고 같은 정규분포를 따를 때



