Documente Academic
Documente Profesional
Documente Cultură
Statistical Applications in
L b
Laboratories
i &
Uncertainty Estimation
Dr. Ashraf
s a S S. Youssef
ousse
Senior Member, ASQ
Quality Assurance Manager
Course Introduction
Welcome to training by
NRC!
Instructors introduction.
Participants
introduction: Please
p
complete “Participant
p
Profile” in your manual.
Ashraf Youssef
1
3/8/2010
Learning Objectives
Gain integrated perspective of statistical applications
in laboratories.
Understand the Sampling
p g & Normal distribution.
Learn Hypothesis test.
Learn Uncertainty Estimation technique.
Ashraf Youssef
Our Objective
You Enjoy While You Learn
Ashraf Youssef
2
3/8/2010
Training Approach
Focus on Basics
Interactive
Case Studies
Games
Exercises
Fun !!!!!!!!!!!!!!!!!!
Ashraf Youssef
Agenda
Ashraf Youssef
3
3/8/2010
Statistical Overview
Population
A llarge N
No. off N
Mean = µ
Standard Deviation = σ
Sample
A small No. of n
Sample Mean = X
Sample Standard
Deviation = s
Ashraf Youssef
Ashraf Youssef
4
3/8/2010
Descriptive Statistics
Centrality Measures
¾ Mode
¾ Median
¾ Mean
Dispersion Measures
¾ Range
¾ Variance
¾ Standard Deviation
¾ Coefficient of Variation
Ashraf Youssef
Ashraf Youssef
5
3/8/2010
Ashraf Youssef
in gasoline. 4 3.97
5 3.90
6 3.94
Ashraf Youssef
6
3/8/2010
D X − X2
S= = 1
n 2
Ashraf Youssef
S=
∑D 2
2k
Where K = the number of sets of
duplicates
Ashraf Youssef
7
3/8/2010
Sp =
∑ν S i i
2
∑ν i
• Calculate S, and Sp
Ashraf Youssef
8
3/8/2010
Hypothesis Testing
Common questions that can be answered using
the null hypothesis approach:
Ashraf Youssef
Ashraf Youssef
9
3/8/2010
− − n1 + n 2
H 1 : ( X 1 − X 2 ) f ± ts p
n1 n 2
( n1 − 1) S 1 + (n2 − 1) S 2
2 2
Sp =
n1 + n2 − 2
Ashraf Youssef
Ashraf Youssef
10
3/8/2010
Fc =
Var1
= S 1
2
Var 2 S 2
Ashraf Youssef
Ashraf Youssef
11
3/8/2010
Regression Analysis
Regression Analysis is a technique used for
obtaining the “best” line from a set of data, and
for specifying the uncertainties of that line.
Ashraf Youssef
a
X
Ashraf Youssef
12
3/8/2010
Ashraf Youssef
Sample Collection
Most common source of analysis error.
Sample should be representative.
representative
Use sampling plans that are based on
appropriate statistical methods, whenever
reasonable.
Ashraf Youssef
13
3/8/2010
Sample Collection
The laboratory personnel and sample
collectors cooperate
p in establishing
g
Sampling Protocol.
The samples preparation and storage must
be made away from analysis area to avoid
contamination.
Ashraf Youssef
Sampling Protocol
Should include the following:
¾ Sample size.
¾ Container type.
¾ Labeling.
¾ Preservation of sample.
¾ How to transport sample to lab.
Ashraf Youssef
14
3/8/2010
Ashraf Youssef
Measure Measure
1 1
Uncertainty Uncertainty
2 2
Sig. Fig. Sig. Fig.
3 3
Ashraf Youssef
15
3/8/2010
Ashraf Youssef
Rounding Rules
Rule1: If the digit to be discarded is
5 or greater, increase the retained
preceding digit by 1.1 If it is less than
5, do not change the preceding digit.
Round one digit 1.047 =
Ashraf Youssef
16
3/8/2010
8.35 - 0.365 =
Ashraf Youssef
Ashraf Youssef
17
3/8/2010
Ashraf Youssef
Mixed Operation
General rule: The rules for problems
combining g addition/subtraction and
multiplication/division are applied
individually to each operation as it is
performed.
Ashraf Youssef
18
3/8/2010
Data Presentation:
ASTM Recommendations
Presents as a minimum, the average, g the
standard deviation, and the number of
observations.
If the number of observations is large,
present data in a grouped frequency.
P
Present t as much
h evidence
id as possible
ibl
that the data were obtained under
controlled conditions.
Ashraf Youssef
Exercise: Measurement
Operation Results
((4.16x10-3) + ((1.724x10-1)
1.074 X 0.993
(40.1 X 0.1633)/204.228
(62 31 + 62
(62.31 62.47)/2
47)/2
Ashraf Youssef
19
3/8/2010
Measurement: Objectives
Ashraf Youssef
Measurement: Basic
Requirements
Understand the nature of errors.
Understand the measurement system
used.
Develop techniques and plans to
minimize errors.
Implement quality control measures.
measures
Establish quality assessment and quality
assurance measures.
Ashraf Youssef
20
3/8/2010
Measurements:
Quality Parameters
A laboratory is expected to be able to
specify the quality of its data in quantitative
terms. This requires
¾ Qualitative identification of the
measurements.
¾ Limits of certainty – needed to judge
confidence associated with the numerical
value.
l
¾ Quantitative accuracy.
¾ Probability distribution of data.
Ashraf Youssef
Ashraf Youssef
21
3/8/2010
Ashraf Youssef
Ashraf Youssef
22
3/8/2010
Measures of Precision
(more than one measurement)
Range.
g
Relative range.
Average deviation of a sample.
Standard deviation of a sample.
Relative
e at e sta
standard
da d de
deviation
at o (C
(CV).
)
Ashraf Youssef
Ashraf Youssef
23
3/8/2010
Probability Distributions
Uniform
U if Di
Distribution
t ib ti SS=a/sqrt(3)
/ t(3)
Triangle Distribution S=a/sqrt(6)
Normal Distribution
T-Distribution
U-Distribution S=a/sqrt(2)
Ashraf Youssef
Quality Engineering
Variability
Statistical Methods
Variable and Attributes
Specifications
Upper and Lower Specifications limits .
Ashraf Youssef
24
3/8/2010
Quality Characteristics
Physical
Sensory
Time Orientation
Ashraf Youssef
Ashraf Youssef
25
3/8/2010
Ashraf Youssef
Cont.:
Statistical Quality Control
Can be applied to:
Engineering Problems
Inspection Problems
Operating Problems
Management Problems
Ashraf Youssef
26
3/8/2010
Process:
Ashraf Youssef
Ashraf Youssef
27
3/8/2010
Within-Piece Variation
Piece-To-Piece Variation
Time-To-Time Variation
Ashraf Youssef
Sources of Variation
Equipment
Material
Environment
Operator
Inspection Activity
Ashraf Youssef
28
3/8/2010
Causes of Variation
Chance Causes
These causes are difficult to detect.
Assignable Causes
They are large and readily identified
Ashraf Youssef
Ashraf Youssef
29
3/8/2010
Ashraf Youssef
Ashraf Youssef
30
3/8/2010
Ashraf Youssef
Ashraf Youssef
31
3/8/2010
Ashraf Youssef
UCL X = X + Aσ 0 UCL R = D2 σ 0
LCL R = D1σ 0
LCL X = X − Aσ 0
R
Where σ0 =
d2
A, D1, D2 and
A d d2
are factors computed
related to the sample
size, and listed at
Appendix A
Ashraf Youssef
32
3/8/2010
S
W here σ0 =
ca
S = Standard Deviation/Sample
n = N o. of Samples
Ashraf Youssef
State of Control
1. Process in Control
2. Process out of Control
A point is outside the 3σ
limits
A nonrandom behavior is
observed in the points
Ashraf Youssef
33
3/8/2010
Ashraf Youssef
AT&T Rules
Ashraf Youssef
34
3/8/2010
Ashraf Youssef
Types of Attributes
Non-measurable Characteristics
Ashraf Youssef
35
3/8/2010
Non Conformity
Definition
Ashraf Youssef
Ashraf Youssef
36
3/8/2010
P-Chart
np-Chart
C-Chart
U-Chart
Ashraf Youssef
P- Chart
Ashraf Youssef
37
3/8/2010
P-Chart Construction
P(1− P) P(1−P)
UCL= P +3 LCL= P −3
n
n
Ashraf Youssef
P-Chart Construction
P =
∑ P
N
where P = Fraction of nonconforming in a single subgroup
N = Number of subgroups
P(1− P) P(1−P)
UCL= P +3 LCL= P −3
n n
Ashraf Youssef
38
3/8/2010
nP - Chart
Center Line = nP
Ashraf Youssef
C-Chart
Billing errors
Errors in forms
Ashraf Youssef
39
3/8/2010
C-Chart Construction
Center Line = C
UCL = C + 3 C
LCL = C − 3 C
Ashraf Youssef
U-Chart
Ashraf Youssef
40
3/8/2010
Ashraf Youssef
Ashraf Youssef
41
3/8/2010
Uncertainties
Definition:
uncertainty
t i t off measurementt is
i a parameter,
t associated
i t d
with the result of a measurement, that characterizes
the dispersion of the values that could reasonably be
attributed to the measured.
Ass a ge
general
e rule,
u e, thee implementation
pe e o of
o thee concept
co cep
of uncertainty of measurement should go in line with
the implementation of ISO/IEC17025.
Ashraf Youssef
42
3/8/2010
Since X ± (Z*S)/sqrt(n)
E = (Z*S)/sqrt(n)
n = (Z*S/E)2
Ashraf Youssef
Uncertainty Budgets
Source of Standard
Uncertainty Uncertainty
An uncertainty
budget can consist
of only tow
columns
Combined
Uncertainty
Ashraf Youssef
43
3/8/2010
Uncertainty Types
Ashraf Youssef
Ashraf Youssef
44
3/8/2010
Ashraf Youssef
Measurement Equation
y = X + Sum(C
( i)
Ashraf Youssef
45
3/8/2010
Uncertainty Examples
Utemp = a/sqrt(2)
q ( ) Follows U Dist.
if lab temperature is
controlled simply by an on/off air conditioning
system
Ashraf Youssef
Ashraf Youssef
46
3/8/2010
Ashraf Youssef
∆L = L * ∆T *∆α
Where:
Ashraf Youssef
47
3/8/2010
Ashraf Youssef
Ashraf Youssef
48