400 likes | 577 Views
INT 506/706: Total Quality Management. Lec #9, Analysis Of Data. Outline. Confidence Intervals t-tests 1 sample 2 sample ANOVA. Hypothesis Testing. Often used to determine if two means are equal. Hypothesis Testing. Null Hypothesis (H o ). Hypothesis Testing.
E N D
INT 506/706: Total Quality Management Lec #9, Analysis Of Data
Outline • Confidence Intervals • t-tests • 1 sample • 2 sample • ANOVA
Hypothesis Testing Often used to determine if two means are equal
Hypothesis Testing Null Hypothesis (Ho)
Hypothesis Testing Alternative Hypothesis (Ha)
Hypothesis Testing Uses for hypothesis testing
Hypothesis Testing Assumptions
Confidence Intervals Estimate +/- margin of error
Confidence Intervals You conclude there is a difference when there really isn’t You conclude there is NO difference when there really is
Confidence Intervals Balancing Alpha and Beta Risks Confidence level = 1 - α Power = 1 - β
Confidence Intervals Sample size Large samples means more confidence Less confidence with smaller samples
t-tests A statistical test that allows us to make judgments about the average process or population
t-tests Used in 2 situations: • Sample to point of interest (1-sample t-test) • Sample to another sample (2-sample t-test)
t-tests t-distribution is wider and flatter than the normal distribution
1-sample t-tests Compare a statistical value (average, standard deviation, etc) to a value of interest
1-sample t-tests Example An automobile mfg has a target length for camshafts of 599.5 mm +/- 2.5 mm. Data from Supplier 2 are as follows: Mean=600.23, std. dev. = 1.87
1-sample t-tests Null Hypothesis – The camshafts from Supplier 2 are the same as the target value Alternative Hypothesis – The camshafts from Supplier 2 are NOT the same as the target value
2-sample t-tests Used to test whether or not the means of two samples are the same
2-sample t-tests “mean of population 1 is the same as the mean of population 2”
2-sample t-test Example The same mfg has data for another supplier and wants to compare the two: Supplier 1: mean = 599.55, std. dev. = .62, C.I. (599.43 – 599.67) – 95% Supplier 2: mean = 600.23, std. dev. = 1.87, C.I. (599.86 – 600.60) – 95%
ANOVA Used to analyze the relationships between several categorical inputs and one continuous output
ANOVA Factors: inputs Levels: Different sources or circumstances
ANOVA Example Compare on-time delivery performance at three different facilities (A, B, & C). Factor of interest: Facilities Levels: A, B, & C Response variable: on-time delivery
ANOVA To tell whether the 3 or more options are statistically different, ANOVA looks at three sources of variability Total: variability among all observations Between: variation between subgroups means (factors) Within: random (chance) variation within each subgroup (noise, statistical error)
ANOVA SS = (Each value – Grand mean)2 Factor SS = 4*(Factor mean-Grand mean)^2 Total SS = ∑ (Each value – Grand mean)2
ANOVA (Each mean – Factor mean)2 ∑
ANOVA Total: variability among all observations 184.92 Between: variation between subgroups means (factors) 118.17 Within: random (chance) variation within each subgroup (noise, statistical error) 66.75
ANOVA Between group variation (factor) 118.17 + Within group variation (error/noise) 66.75 Total Variability 184.92
ANOVA Two-way ANOVA More complex – more factors – more calculations Example: Photoresist to copper clad, p. 360