Professional Documents
Culture Documents
R. Pan
Random Factors
Outline
1 2 3
Single Factor
Factorial Experiment
Mixed Model
R. Pan
Random Factors
Motivation
xed factors A specic set of factor levels is chosen for the experiment For qualitative factor, inference is conned to these levels For quantitative factor, regression model is built random Inference is about the entire population of levels Industrial application include measurement system studies (Gage R&R)
When factor levels are chosen at random from a larger population of potential levels, the factor is
R. Pan
Random Factors
An Example
Weaving fabric on looms
Response variable is strength Interest focuses on determining if there is dierence in strength due to the dierent looms However, the weave room contains many looms Solution: select a random sample of the looms and obtain fabric from each
Looms is a random factor
Looks like a standard single factor experiment But, in the model, looms eect is a random variable Want to make inference on 2 or predict y , instead of estimating i .
R. Pan Random Factors
Both the error term and the treatment eect term are random variables, ij iid N (0, 2 ) and i iid N (0, 2 )
Variance components
2 V (yij ) = 2 +
Relevant hypothesis
No longer appropriate to test equality of treatment means, because the treatments are randomly selected The individual ones we happen to have are not of interest, we are interested in the population of treatments Appropriate hypotheses are H0 : 2 = 0 vs. H1 : 2 > 0
R. Pan Random Factors
Testing Hypothesis
The standard ANOVA partition of the total sum of squares still works; lead to the usual ANOVA display Form of the hypothesis test depends on the
squares
Test statistics is
expected mean
F0 =
MSTreatments MSE
Equate expected mean squares to their observed values, 2 2 = MSE and 2 + n = MSTreatments 2 = MSTreatments MSE So, n Potential problems with this estimator: negative estimate and poor statistical properties
R. Pan Random Factors
R. Pan
Random Factors
( ) E 2 /2,N a
N a MS
( ) E 2 1/2,N a
N a MS
2:
R. Pan
Random Factors
Two factors, factorial experiment, both factors are random Random eect model
R. Pan
Random Factors
Testing Hypotheses
Once again, the standard ANOVA partition is applicable Relevant hypotheses
E (MSE ) = 2 2 E (MSAB ) = 2 + n , F0 = MSAB MSE MSA 2 2 E (MSA ) = 2 + n + bn , F0 = MSAB MSB 2 2 E (MSB ) = 2 + n + an , F0 = MSAB
R. Pan
Random Factors
R. Pan
Random Factors
Repeatability
gauge
Reproducibility
operator
Example: two-factor factorial experiment (completely randomized) with both factors (both operators and parts) random - a random eect model
Model?
R. Pan Random Factors
Minitab Solution
R. Pan
Random Factors
Discussion
There is a large eect of parts
expected?
Small operator eect
good or bad?
No part-operator interaction Negative estimate of the part-operator interaction variance component
odd?
Fit a reduced model with the part-operator interaction deleted
R. Pan
Random Factors
R. Pan
Random Factors
Repeatability estimation
2 = MSE = 0.88
Reproducibility estimation
2 = MSBanMSE = 0.01
2 2 gauge = 2 +
If interaction had been signicant?
R. Pan
Random Factors
xed, factor
and
ijk
R. Pan
Random Factors
Testing Hypotheses
The standard ANOVA partition is still applicable Relevant hypotheses
E (MSE ) = 2 2 E (MSAB ) = 2 + n , F0 = MSAB MSE 2 E (MSB ) = 2 + an , F0 = MSB MSE MSA 2 E (MSA ) = 2 + n + abn1 n=1 i2 , F0 = MSAB i
Estimating variance components and eects?
R. Pan
Random Factors
R. Pan
Random Factors
Discussion
There is a large eect of parts Small operator eect No part-operator interaction Negative estimate of the part-operator interaction variance component Fit a reduced model with the part-operator interaction deleted This leads to the same solution that we found previously for the two-factor random model
R. Pan
Random Factors
Without the restriction on interaction eect means Expected mean square of random factor is dierent from the previous restricted mixed model Still use the ANOVA method to estimate variance components
The estimate of the random eect variance component is dierent from the restricted model
R. Pan
Random Factors
R. Pan
Random Factors
E (MS ) = 2 + f (xedfactor )
Can always use the brute force approach - just apply the expectation operator
R. Pan
Random Factors
Reading Assignment
Approximate F Test
Sometimes we nd that there are no exact tests for certain eects Leads to an approximate
test (pseudo
test)
Test procedure is due to Satterthwaite (1946), and uses linear combinations of the original mean squares to for the
F -ratio
The linear combinations of the original mean squares are sometimes called synthetic mean squares Adjustments are required to the degrees of freedom Minitab will analyze these experiments, although their synthetic mean squares are not always the best choice
R. Pan
Random Factors
Reading Assignment
R. Pan
Random Factors