290 likes | 382 Views
Confidence Intervals and Maximum Errors. By Sidney S. Lewis For Baltimore Section, ASQ February 15, 2005. CONFIDENCE INTERVAL
E N D
Confidence Intervals and Maximum Errors By Sidney S. Lewis For Baltimore Section, ASQ February 15, 2005 S S Lewis 2/15/05
CONFIDENCE INTERVAL A confidence interval expresses our belief, or confidence, that the interval we construct from the data will contain the mean, µ, (for example) of the population from which the data were drawn. Confidence Intervals can be computed on any population parameter: µ, s, p’, c’, and even on complex parameters, such as Cp and Cpk. 812.1 S S Lewis 2/15/05
CONFIDENCE INTERVAL EXAMPLE • Example of a confidence Interval (C.I.) on the population mean µ: • Statement: The interval 38.0 - 42.0 contains µ with 90% confidence. • Alternatively, there is a 5% chance that the C.I. falls entirely below µ (µ above 42.0), and likewise, a 5% chance that the C.I. isentirely above µ (µ below 38.0). 812.1 S S Lewis 2/15/05
Example Pollsters report that 55% of a sample of 1005 members of the voting population support Proposition A. The Margin of Error is 3.1% There is an implied risk of being wrong, usually 5% Calcs.: 812.8 S S Lewis 2/15/05
POPULATION PROCESS PROCESS SAMPLE SAMPLE POPULATION vs. SAMPLES 810 S S Lewis 2/15/05
s = 2 n = 4 s(xbar) = 1 a = 5% a/2 m a/2 810.05 S S Lewis 2/15/05
MAXIMUMERROR 810.15 S S Lewis 2/15/05
MAXIMUM ERROR of the MEAN 812.3 S S Lewis 2/15/05
C. I. on the MEAN Calculation of the C.I. on the mean µ typically uses either the population standard deviation, s, if known, or if not, the sample standard deviation, s. If X-bar is the sample mean, then a 1- a confidence interval on µ is: C.I. =X-bar ± Maximum Error (ME) = X-bar ± za/2s /%n if s is known, or = X-bar ± ta/2s/%n if s is unknown. 812.2 S S Lewis 2/15/05
Diameters of 3/4" HR Bars S S Lewis 2/15/05 940
S S Lewis 2/15/05 840.1
840.1 S S Lewis 2/15/05
DATA STATISTICS S S Lewis 2/15/05 840.01
3/4" HR Bars – MEANS and CONFIDENCE INTERVALS S S Lewis 2/15/05 840.41
840.5 S S Lewis 2/15/05
840.6 S S Lewis 2/15/05
FACTORS AFFECTING THE WIDTH OF A CONFIDENCE INTERVAL Factors: sor s, n, a 812.4 S S Lewis 2/15/05
FACTORS AFFECTING THE WIDTH OF A CONFIDENCE INTERVAL s or s: ................... Width increases as s or s increases; Sample size, n ..... Width decreases as n increases; C. I. is proportional to 1/on Confidence level 1 - a, or risk a: Width increases as confidence increases, or as risk a decreases. S S Lewis 2/15/05 812.4
CONFIDENCE INTERVALS ON s Small samples (n<30): Large samples (n>30): 812.7 S S Lewis 2/15/05
CONFIDENCE INTERVALS ON p’ Large samples (np>5): 812.7 S S Lewis 2/15/05
CONFIDENCE INTERVAL ON p’, SMALL n 90% C.I. on p’ for n=50, c=1 S S Lewis 2/15/05 861
STATISTICAL CALCULATION EXAMPLE A TECHNIQUE: 1-SAMPLE TEST OF THE MEAN, SIGMA UNKNOWN: t-TEST SUBJECT: Machinability: Increased by a New Practice? GOAL: Determine whether the average machinability of steel made using a new practice in the Melt Shop can increase the machinability, with 95% CONFIDENCE (5% a). HISTORIC DATA: The recent past average machinability is 85.0 = m0 ; s = 12.2 . DATA: Machinability data of steel made with the new practice are 91 99 83 87 98 94 86 92 85 81 S S Lewis 2/15/05 890.53
STATISTICAL CALCULATION EXAMPLE A Calcs.: X-bar = 89.6; s = 6.196; n = 10; Maximum Error, ME = ta/2(df) * SX-bar = 1.833 * 1.957 = 3.6 units 90% C.I. = X-bar ± ME = 89.6 ± 3.6 = 86.0 to 93.2 . That means that the machinability should increase by at least 1.0 units, and may increase by 8 units. 890.53 S S Lewis 2/15/05
STATISTICAL CALCULATION EXAMPLE B TECHNIQUE: 1-SAMPLE TEST OF PROPORTIONS – Z-TEST SUBJECT: Cap leakers – reduction trial GOAL: Determine whether the rates of leaking caps are lower if a new cap design is used, with 95% CONFIDENCE (a = 5%). HISTORIC DATA: Cap leaker rate = 1.2% = p’. DATA: A trial using 2000 caps of a new design found 18 leaking caps. p = 0.90%. 890.83 S S Lewis 2/15/05
STATISTICAL CALCULATION EXAMPLE B FORMULAS: where p is in percent. CALCS: p = 18/2000 = 0.90%; D = p0 – p = 1.2 - 0.90 = 0.30% Maximum Error, ME = Z.05 * sp = 1.645 * 0.243 = 0.400% 90% C.I. (2-tail) on the difference = (D - d0) ± ME = (0.90 – 1.20) ± 0.400 = +0.10% to -0.70%; 90% C.I. on p’: p ± ME = 0.90 ± 0.40 = 0.5% to 1.3% 890.83 S S Lewis 2/15/05
STATISTICAL CALCULATION EXAMPLE B CONCLUSION: The long term leaker rate of the new caps may be 0.7% lower than the old caps, but it may also be 0.1% higher, which if true, says to avoid the new caps. Therefore the data are insufficient to show, with 95% confidence, that the new caps are definitely better, which confirms the test of hypothesis. 890.83 S S Lewis 2/15/05
STATISTICAL CALCULATION EXAMPLE C TECHNIQUE: 1-SAMPLE TEST OF A SAMPLE STANDARD DEVIATION–CHI-SQUARED TEST SUBJECT: XYZ Digital Blood Pressure Monitor measures of systolic blood pressure GOAL: To determine if the monitor has become more variable than when new. HISTORIC DATA: Early evaluation of this monitor found the standard deviation to be 2.5 units. DATA : Using the monitor, the systolic blood pressure of a patient was measured 7 times over a ten minute period. The patient sat quietly throughout the testing. The results were: 144, 147, 147, 149, 140, 140, 144, from which s = 3.51. 890.72 S S Lewis 2/15/05
STATISTICAL CALCULATION EXAMPLE C CONFIDENCE INTERVAL: a 2-tail, 90% confidence interval will be calculated The critical values of c2 are: With 90% confidence, the true standard deviation lies between 1.83 and 5.05 units, which includes the earliest determined standard deviation of 2.5. 890.72 S S Lewis 2/15/05