Statistical Quality Control Lab 202 By S. O. Duffuaa Systems Engineering Department.

Slides:



Advertisements
Similar presentations
Chapter 10: The t Test For Two Independent Samples
Advertisements

INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE
“Students” t-test.
Sample size estimation
Lecture (11,12) Parameter Estimation of PDF and Fitting a Distribution Function.
Statistics Review – Part II Topics: – Hypothesis Testing – Paired Tests – Tests of variability 1.
Chapter 7 Statistical Data Treatment and Evaluation
Errors in Chemical Analyses: Assessing the Quality of Results
CmpE 104 SOFTWARE STATISTICAL TOOLS & METHODS MEASURING & ESTIMATING SOFTWARE SIZE AND RESOURCE & SCHEDULE ESTIMATING.
Statistical Issues in Research Planning and Evaluation
COURSE: JUST 3900 INTRODUCTORY STATISTICS FOR CRIMINAL JUSTICE Instructor: Dr. John J. Kerbs, Associate Professor Joint Ph.D. in Social Work and Sociology.
Inferential Statistics & Hypothesis Testing
The Simple Regression Model
Chapter 3 Hypothesis Testing. Curriculum Object Specified the problem based the form of hypothesis Student can arrange for hypothesis step Analyze a problem.
EEM332 Design of Experiments En. Mohd Nazri Mahmud
Inferences About Process Quality
Chapter 9: Introduction to the t statistic
Statistical Analysis. Purpose of Statistical Analysis Determines whether the results found in an experiment are meaningful. Answers the question: –Does.
Chapter 12 Inferential Statistics Gay, Mills, and Airasian
Hypothesis Testing and T-Tests. Hypothesis Tests Related to Differences Copyright © 2009 Pearson Education, Inc. Chapter Tests of Differences One.
Inferential Statistics
Statistical Inference for Two Samples
AM Recitation 2/10/11.
Statistics 11 Hypothesis Testing Discover the relationships that exist between events/things Accomplished by: Asking questions Getting answers In accord.
Hypothesis Testing:.
Experimental Statistics - week 2
Jeopardy Hypothesis Testing T-test Basics T for Indep. Samples Z-scores Probability $100 $200$200 $300 $500 $400 $300 $400 $300 $400 $500 $400.
Statistical inference: confidence intervals and hypothesis testing.
1 GE5 Lecture 6 rules of engagement no computer or no power → no lesson no SPSS → no lesson no homework done → no lesson.
CENTRE FOR INNOVATION, RESEARCH AND COMPETENCE IN THE LEARNING ECONOMY Session 2: Basic techniques for innovation data analysis. Part I: Statistical inferences.
Statistical Analysis Statistical Analysis
Copyright © Cengage Learning. All rights reserved. 13 Linear Correlation and Regression Analysis.
More About Significance Tests
Fundamentals of Data Analysis Lecture 4 Testing of statistical hypotheses.
Single Sample Inferences
Copyright © 2012 Wolters Kluwer Health | Lippincott Williams & Wilkins Chapter 17 Inferential Statistics.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
McGraw-Hill, Bluman, 7th ed., Chapter 8
Chapter 5 Errors In Chemical Analyses Mean, arithmetic mean, and average (x) are synonyms for the quantity obtained by dividing the sum of replicate measurements.
Maximum Likelihood Estimator of Proportion Let {s 1,s 2,…,s n } be a set of independent outcomes from a Bernoulli experiment with unknown probability.
Lecture 4 Basic Statistics Dr. A.K.M. Shafiqul Islam School of Bioprocess Engineering University Malaysia Perlis
Experimental Design If a process is in statistical control but has poor capability it will often be necessary to reduce variability. Experimental design.
Introduction to Analytical Chemistry
Copyright © 2013, 2010 and 2007 Pearson Education, Inc. Section Inference about Two Means: Independent Samples 11.3.
Statistical Hypotheses & Hypothesis Testing. Statistical Hypotheses There are two types of statistical hypotheses. Null Hypothesis The null hypothesis,
Lecture 16 Section 8.1 Objectives: Testing Statistical Hypotheses − Stating hypotheses statements − Type I and II errors − Conducting a hypothesis test.
Essential Question:  How do scientists use statistical analyses to draw meaningful conclusions from experimental results?
Chapter 9 Three Tests of Significance Winston Jackson and Norine Verberg Methods: Doing Social Research, 4e.
1 9 Tests of Hypotheses for a Single Sample. © John Wiley & Sons, Inc. Applied Statistics and Probability for Engineers, by Montgomery and Runger. 9-1.
Three Broad Purposes of Quantitative Research 1. Description 2. Theory Testing 3. Theory Generation.
© Copyright McGraw-Hill 2004
Statistical Inference Statistical inference is concerned with the use of sample data to make inferences about unknown population parameters. For example,
T tests comparing two means t tests comparing two means.
Chapter 13 Understanding research results: statistical inference.
Chapter 9: Introduction to the t statistic. The t Statistic The t statistic allows researchers to use sample data to test hypotheses about an unknown.
BIOL 582 Lecture Set 2 Inferential Statistics, Hypotheses, and Resampling.
Fundamentals of Data Analysis Lecture 4 Testing of statistical hypotheses pt.1.
Statistical Inference for the Mean Objectives: (Chapter 8&9, DeCoursey) -To understand the terms variance and standard error of a sample mean, Null Hypothesis,
Educational Research Inferential Statistics Chapter th Chapter 12- 8th Gay and Airasian.
Copyright (c) 2004 Brooks/Cole, a division of Thomson Learning, Inc. Chapter 7 Inferences Concerning Means.
Chapter 10: The t Test For Two Independent Samples.
Statistical Decision Making. Almost all problems in statistics can be formulated as a problem of making a decision. That is given some data observed from.
Chapter 9 Introduction to the t Statistic
Testing of Hypothesis. Test of Significance A procedure to assess the significance of a statistics that a sample statistics would differ from a given.
Chapter 10 Hypothesis Testing 1.
Chapter 5 STATISTICAL INFERENCE: ESTIMATION AND HYPOTHESES TESTING
ESTIMATION.
Statistical Quality Control, 7th Edition by Douglas C. Montgomery.
Sampling and Sampling Distributions
What are their purposes? What kinds?
Presentation transcript:

Statistical Quality Control Lab 202 By S. O. Duffuaa Systems Engineering Department

Salih Duffuaa Dr. Duffuaa is a Professor of Industrial and Systems Engineering at the Department of Systems Engineering at King Fahd University of Petroleum and Minerals, Dhahran, Saudi Arabia. He received his PhD in Operations Research from the University of Texas at Austin, USA. His research interests are in the areas of Operations research, Optimization, quality control, process improvement and maintenance engineering and management. He teaches course in the areas of Statistics, Quality control, Production and inventory control, Maintenance and reliability engineering and Operations Management. He consulted to industry on maintenance, quality control and facility planning. He authored a book on maintenance planning and control published by John Wiley and Sons and edited a book on maintenance optimization and control. He is the Editor of the Journal of Quality in Maintenance Engineering, published by Emerald in the United Kingdom.

King Fahd University of Petroleum & Minerals Department of Systems Engineering November , 2007 Errors and Test of Significance On

Objective of Session Differentiate between Accuracy precision and bias. Explain and measure precision and accuracy. Identify and test outliers. Formulate hypothesis about measured values. Conduct simple significance tests.

Accuracy Accuracy - The degree of agreement of a measured value with the true or expected value of the quantity of concern. Accuracy is measured by absolute error (E) or relative error E r E = l Measured Value – True Value I. E r = E/True value (100) percentage. Measured value 10.2, true value 10 E = l 10.2 – 10.0 l = 0.2, E r = (0.2 /10) * 100 = 2%

Precision Precision - The degree of mutual agreement characteristic of independent measurements as the result of repeated application of the process under specified condition. Precision is the agreement between two or more measurements that have been made in exactly the same way. Precision is determined by replicating measurements. Precision can be measured by using the measures of dispersion:

Precision Precision can be measured by using the measures of dispersion: – Range –Variance –Standard deviation – Coefficient of variation.

Precision ( Example) Lab A made five measurements for the same property with the same instrument and procedures. The results are 9.80, 9.88, 10.02, 10.14, – Mean = – Standard deviation = 0.17 – Range = 0.41 – Variance = – COV = 1.72 % – E=.01. E r = 0.10%

Bias Bias - A systematic error inherent in a method or caused by some artifact or idiosyncrasy or the measurement system. Bias may be both positive and negative, and several kinds can exist concurrently so that net bias is all that can be evaluated. How to detect systematic errors?

Unbiased Measurement Process

Unbiased Measurement Process

Characteristic of A Measurement Process Accurate when the value reported does not differ from the true value. Biased when the error of the limiting mean is not zero, influenced by systematic error. An accurate method is one capable of providing precise and unbiased results. In practice, we evaluate inaccuracy. Likewise, we evaluate imprecision, namely, the deviations of measurements.

Types of Errors Random errors or chance errors are irregular and unpredictable. Random errors result in variability. In the determination of vanadium in crude, Ali has made six repeat determinations, and the results in ppm are: The determinations differ from each other because of random errors. If the test method did not introduce random error then the six determinations would be identical (assuming that gross errors are absent

Types Errors Systematic errors: Determinate or systematic errors have a source that can usually be identified. They affect a sequence of determinations equally. They cause all the results from replicate measures to either be high or low. Sources of systematic errors – Instrument – Methods – Operator or personal errors.

Types Errors Gross errors are defined as errors so serious that there may be no alternative but to make a completely new start, including new samples and lab tests. Examples of gross error include a complete instrument breakdown, power outage, loss or accidental discarding of data, and so on.

Example 16

Example 16

Problem 1 Analyze the accuracy and precision of each of the following labs and identify which lab has a random systematic or gross errors. ( Explain if the lab is not precise or accurate how did you reach to the conclusion.

Example Page 4 Section 2

Example Page 4 Section 2 Laboratory A— The random error is small because the measurements all go in one direction. The standard deviation and coefficient of variation are small, therefore the results are precise. Second, Lab A's results also include systematic error. Because all the results are in error in the same sense—too high. Systematic errors affect accuracy, or proximity to the true value. The error and relative error are high indicating a lack of accuracy. Laboratory B—Laboratory B obtained an average This result is in direct contrast to that of Lab. A. The average is very close to our known true value of We therefore can characterize the data as accurate and without substantial systematic error. However, the spread of the results is very large, indicating poor precision and the presence of substantial random error. It should be noted that a comparison of Lab. A and Lab. B results clearly indicates that random and systematic errors can occur independently of each other.

Example Page 4 Section 2 Laboratory C—Laboratory C's average of 9.90 and with a standard deviation of 0.21 and a coefficient of variation of 2.13%. The relative error is also high. This indicates that the data is neither precise nor accurate. Laboratory D—Laboratory D has achieved an accurate mean and precise measures of dispersion and error.

Significance Tests/ Test of hypothesis Purpose: To draw a conclusion about a population using data from a sample. Test that the analytical procedure is not subject to systematic errors. Test that the error is not significant. Test that the population mean is equal to the sample mean. Test that one lab results is more accurate than another lab.

Significance Tests/ Test of hypothesis Test the precision of an instrument. Compare the precision of two instruments. Test that Arabs are taller than European.

Significance Tests/ Test of hypothesis Significant tests are widely used in the evaluation of experimental results. In making a significance test we are testing the truth of a hypothesis, which is known as null hypothesis. In all analytical procedures we adopt the null hypothesis that the analytical method employed is not subject to systematic error. The term null is used to imply that there is no difference between the observed and known values other than that which can be attributed to random variation

Significance Tests/ Test of hypothesis Assuming that null hypothesis is true, statistical theory can be used to calculate the probability (i.e. the chance) that the observed difference between the sample mean and the true value μ, arises solely as a result of random error. The lower the probability that the observed difference occurs by chance, the less likely it is that the null hypothesis is true. Usually the null hypothesis is rejected if the probability of the observed difference occurring by chance is less than 1 in 20 (i.e or 5%) and in such a case the difference is said to be significant at the 0.05 (or 5%) level.

Demonstration In this vanadium determination, it was believed that the true vanadium concentration was 20.1 ppm, but Mohammad's determinations had a mean of 20.7 ppm and a standard deviation of Can we conclude Mohammed is biased?

One Sample t-test Step 1: Null hypothesis – Mohammad is not biased (i.e his population mean μ is equal to 20.1). H 0 : = μ Step 2: Alternative hypothesis – Mohammad is biased (i.e his population mean μ is not equal to 20.1). H 1 : ≠ μ

One Sample t-test Step 3: Test statistic Step 4: Critical values – from the t-table for a two sided test with 5 degree of freedom at the 5% significance level 4.03 at the 1% significance level Step 5: Decision – We reject the null hypothesis. Step 6: Conclusion – We concluded that Mohammad is biased.

Test Statistics When calculating the value of the t-test we took into account: The deviation of the sample mean from the hypothesized population mean (μ). The variability between repeat determinations that we would expect to find in the test method. This is quantified by the sample standard deviation. The number of repeated determinations. A large value of test statistic is an indication of bias. In all significance tests, a large test statistic implies that the null hypothesis is false.

Hypothesis Testing Hypothesis are suppositions, presumed to be true for subsequent testing. Statistical significance is the level of probability selected to determine if a set of sample data is attributable to chance causes alone. Chance causes are unknown factors that contribute to variation. They are generally numerous and individually of small magnitude. They are not readily detectable or identifiable

Alternative Way To test hypothesis Example 15. Another example for large sample size The strength specification of a filament is claimed to be 21.4 ounces. The strength of 120 filaments was randomly sampled. These are the results: = 20.5 oz. S = 1.1 oz. n = 120 Is the manufacturer's claim substantiated?

Alternative Way To test hypothesis A common method of answering this question is to set up confidence limits for the mean. The confidence coefficient chosen was 95%. From Equation 5: CL= ± 1.96(SEM) Therefore: CL = 20.5 ± ± 1.96 (0.10) = 20.5 ± 0.20 i.e to ounces The manufacturer's claim of 21.4 ounces is not within the 95% confidence limits for the mean of the sample. The claim seems to be incorrect on the basis of this batch of samples. We have just drawn a statistical inference on a population based on a sample.

Graphical Representation

Test of Significance H o = 21.4 H 1 not = 21.4  =.05 Test statistics Z = (X-bar - µ/ (  /  n) Compute the value of test statistics and compare it to Z-table values If Z-computes larger than table value reject null hypothesis.

Example 18

Solution Example 18 Step 1. Ho: = 0 H1: not = 0 Step 2. Compare the pairs of values above, the differences are: Sample Difference 1( ) = -5 2( ) = -7 3( ) = 2 4( ) = 3 Mean of the difference, md, is

Solution Example 18 t = = 0.7 Compare this to table value with 3 degrees of freedom t-table 3.16 at.05 level of significance Do not reject Ho.

Problem It is suspected that an acid-base titrimetric method has a significant indicator error and thus tends to give results with a positive systematic error (i.e. positive bias). To test this, an exact 0.1M solution of acid is used to titrate ml of an exactly 0.1M solution of alkali, with the following results From this data we have: Mean = ml Standard deviation = Test the hypothesis that the method has a bias.

Outliers ( Dixon Q ) Outliers ( Dixon Q ) An outlier is one or more values that appear to differ markedly from the other values in the distribution. The presence of an outlier may distort the true value of a set of data. It therefore becomes necessary to identify outliers and determine whether they belong in the data distribution.

Example Outliers Note: Dixon’s Q is calculated without regard to sign. For example, the following values were obtained for nitrate concentration in four water samplings: The last measurement (0.380) is suspect. Should it be rejected? We find out by first solving Dixon's Q at the 95% confidence level. Dixon's Q was found to be 0.7.

Steps to Reject an outlier Decide the probability level to set for rejection (5% is standard). Consult the standard table of critical values (Table 17 & 35) to determine if our Q of 0.7 should be accepted or rejected. The table of critical values lists for each sample size a corresponding critical value. If Q exceeds the critical value for the given sample size, then Q is rejected.