Академический Документы
Профессиональный Документы
Культура Документы
Controllable variables
• Most processes can be described by several
controllable variables, which has the greatest
influence on process performance.
• Experimental design:
- Evaluation and comparison of basic design
configurations
- Evaluation of different materials
- Selection of design parameters
- Determination of design parameters
Experimental process
Every experiment involves a sequence of activities:
• Conjecture – the original hypothesis that
motivates the experiment.
• Experiment – the test performed to investigate
the conjecture.
• Analysis – the statistical analysis of the data from
the experiment.
• Conclusion – what has been learned about the
original conjecture from the experiment.
One-Sample t-test
The specific statistical analysis that would be used to test one hypothesis is also a test:
Question: Have you ever purchased a product or service over the Internet?
(1)Yes (0)No
- The answer of question is measured with a nominal scale.
- The statistic to be calculated is a proportion.
Example
Hypothesis a: More than half of Internet users have made an on-line purchase.
Hypothesis 0: There is no difference between internet users. (The null hypothesis)
H0: = .5
Ha: > .5 1-tailed test
1-TAILED TEST 2-TAILED TEST
H0: = .5 H0: = .5 H0: = .5
or
Ha: > .5 Ha: < .5 Ha: .5
i 1 j 1
ij .. i. .. ij i.
( y y
i 1 j 1
) [( y 2
y ) ( y y
i 1 j 1
)]2
a a n
n ( yi. y.. ) ( yij yi. ) 2
2
i 1 i 1 j 1
SST SSTreatments SS E
1 n 1 a n
where yi. yij , y.. y , N a n
ij
n j 1 N i 1 j 1
The Analysis of Variance
SST SSTreatments SS E
• A large value of SSTreatments reflects large differences in
treatment means
• A small value of SSTreatments likely indicates no differences in
treatment means
• Formal statistical hypotheses are:
H 0 : 1 2 a
H1 : At least one mean is different
The Analysis of Variance
• While sums of squares cannot be directly compared to
test the hypothesis of equal means, mean squares can be
compared.
• A mean square is a sum of squares divided by its degrees
of freedom:
F0 F ,a 1,a ( n 1)
or p-value = P( F F0 )
ANOVA Table
The Reference Distribution:
P-value
How Does the ANOVA Work in Practice?
• Define main hypothesis (Ha)
• From the main hypothesis, define the null hypothesis
(H0)
• Collect observations of data (D)
• Analyze observations of data to calculate the value of
F-distribution F0.
• From the value F0 of F-distribution, calculate its
corresponding p-value.
p-value = Conditional Probability P(D|H0)
Here if we receive p-value < =1%, it means that the
probability of P(D|H0) for collected data is just less
than 1%. Therefore, we can reject the null hypothesis
H0 or accept the main hypothesis Ha for collected data.
Sample Size Determination
H0: μa = μb = μc = μd = μe , and so on
• Step 9. Use the calculator (to compute p-value from F0) to compute
the one-tail p-value.
p-value = P(F>F0)
(http://www.graphpad.com/quickcalcs/pvalue1.cfm)
• Step 10. If the one-tail p-value ≤ α, accept Ha; else, do not accept Ha
One Way ANOVA for Completely Randomized Design
• Example:
Gas Mileage
Does average gas mileage differ between the standard four-
wheel drive pickup-trucks made by Chevrolet, Dodge, and Ford? Use
the following miles per gallon data.
Chevy (mpg) Dodge (mpg) Ford (mpg)
15.2 14.8 15.1
15.4 14.4 14.3
14.8 14.3 14.6
14.4 14.1 13.9
14.7 14.4 14.6
Total : 74.5 72.0 72.5
Average : 14.9 14.4 14.5
Variance : 0.16 0.065 0.195
One Way ANOVA for Completely Randomized Design
• Step 1. For each treatment group, compute the sample size (n),
sample mean (x̄), and sample variance (s2)
a b a b
ij ..
( y y
i 1 j 1
) 2
b i. ..
( y y )
i 1
a . j ..
( 2
y y ) 2
j 1
a b
+ ( yij y. j yi. y.. )2
i 1 j 1
One Way ANOVA for Randomized Block Design
a b a b
ij ..
( y y
i 1 j 1
) 2
b i. ..
( y y )
i 1
a . j ..
( 2
y y ) 2
j 1
a b
+ ( yij y. j yi. y.. )2
i 1 j 1
Treatments
Ha: Not all population means are equal (at least one
mean is different)
One Way ANOVA for Randomized Block Design
• Step 1. Compute the SST
• Step 2. Compute the SSTR
• Step 3. Compute the SSBL
• Step 4. Compute the SSE
• Step 5. Compute the MSTR = SSTR / (a-1)
• Step 6. Compute the MSE = SSE / (a-1)(b-1)
• Step 7. Compute the F = MSTR / MSE
• Step 8. Compute the d.f. for the numerator ( = a –
1 for a: the number of treatment groups) and the
d.f. for the denominator ( = (a-1)(b-1) for b: the
number of blocks or row categories)
One Way ANOVA for Randomized Block Design
• Step 9. Use the calculator (to compute p-value from F) to
compute the one-tail p-value
(http://www.graphpad.com/quickcalcs/pvalue1.cfm)