STANDARD DEVIATION SLIDESHOW OF LEOPOLDO

LeopoldoAlbaGarraIV 8 views 14 slides Oct 16, 2024
Slide 1
Slide 1 of 14
Slide 1
1
Slide 2
2
Slide 3
3
Slide 4
4
Slide 5
5
Slide 6
6
Slide 7
7
Slide 8
8
Slide 9
9
Slide 10
10
Slide 11
11
Slide 12
12
Slide 13
13
Slide 14
14

About This Presentation

Mathematics


Slide Content

Larger variation
2.3.Measures of Dispersion (Variation):
 
The variation or dispersion in a set of values refers to how spread
out the values are from each other.
 
·
       The
variation is small when the values are close together.
·
       There is
no variation if the values are the same.
· Same
Center
Smaller variation
 
 
 
Smaller variation
Larger variation

Some measures of dispersion:
Range – Variance – Standard deviation
Coefficient of variation
Range:
Range is the difference between the largest (Max) and smallest (Min)
values.
Range = Max  Min
Example:
Find the range for the sample values: 26, 25, 35, 27, 29, 29.
 
Solution:
Range = 35  25 = 10 (unit)
 
Note:
The range is not useful as a measure of the variation since it only
takes into account two of the values. (it is not good)

Variance:
 
The variance is a measure that uses the mean as a point of reference.
·
      
The variance is small when all values are close to the mean.
·
       The variance is large when all values are spread out from the mean.
 
Squared deviations from the mean:
 
X
1
X
2
x X
n

(X
1
 )
2
x(X
2
 )
2
x (X
n
 )
2
x
(1)Population variance: 
Let be the population values.
The population variance is defined by:
NXXX ,,,
21

 
    
N
XXX
N
X
N
N
i
i
22
2
2
11
2
2 









(unit)
2

where is the population mean.
N
X
N
i
i


1

Notes:
· 
      is a parameter because it is obtained from the population
values (it is unknown in general).
·
      
(2)Sample Variance: 
Let be the sample values.
The sample variance is defined by:
2

0
2

nxxx ,,,
21
 
    
11
22
2
2
11
2
2








n
xxxxxx
n
xx
S
N
n
i
i
 (unit)
2

Where is the sample mean
n
x
x
n
i
i


1
Notes:
·
       S
2
is a statistic because it is obtained from the sample values (it
is known).
·
       S
2
is used to approximate (estimate) .
·
      
Example:
We want to compute the sample variance of the following sample
values: 10, 21, 33, 53, 54.
2

0
2
S
Solution:
n=5

2.34
5
171
5
5453332110
5
5
1




i
ix
x (unit)
  
15
2.34
1
5
1
2
1
2
2







 i
i
n
i
i
x
n
xx
S
     
(unit)7.376
4
8.1506
4
2.34542.34532.34332.34212.3410
2
22222
2


S

Another method:



5
1
0
i
ixx   8.1506
2
xx
i
i
x
 
 2.34

i
i
x
xx  
 
2
2
2.34

i
i
x
xx
-24.2
-13.2
-1.2
18.8
19.8
10
21
33
53
54
585.64
174.24
1.44
353.44
392.04



5
1
171
i
i
x
2.34
5
171
5
5
1



i
i
x
x
7.376
4
8.1506
2

S
Calculating Formula for S
2
:
1
1
2
2
2





n
xnx
S
n
i
i
* Simple
* More accurate

Note:
To calculate S
2
we need:
·
      
n = sample size
·
       The sum of the values
·
       The sum of the squared values
For the above example:

i
x

2
ix
1021335354
100441108928092916
i
x
2
i
x
171
i
x
7355
2
ix

7.376
4
8.1506
15
2.3457355
2
2



S (unit)
2
Standard Deviation:
·
       The standard deviation is another measure of variation.
·
       It is the square root of the variance.

(1) Population standard deviation is: (unit)
(2) Sample standard deviation is: (unit)
Example:
For the previous example, the sample standard deviation is
2

2
SS
41.197.376
2
SS (unit)
Coefficient of Variation (C.V.):
 
·
  The variance and the standard deviation are useful as measures
of variation of the values of a single variable for a single
population (or sample).
·
  If we want to compare the variation of two variables we cannot
use the variance or the standard deviation because:
1.
    The variables might have different units.
2.
    The variables might have different means.

·
  We need a measure of the
relative variation that will not depend
on either the units or on how large the values are. This measure is the
coefficient of variation (C.V.) which is defined by:
%100*.
x
S
VC (free of unit or unit
less)
Mean St.dev. C.V.
%100.
1
1
1
x
S
VC
%100.
2
2
2
x
S
VC
1S
1x
2x 2
S
1
st
data set
2
nd
data set
·
  The relative variability in the 1
st
data set is larger than the relative
variability in the 2
nd
data set if C.V
1
> C.V
2
(and vice versa).

Example:
1
st
data set: 66 kg, 4.5 kg
2
nd
data set: 36 kg, 4.5 kg

1x

2
S
%8.6%100*
66
5.4
.
1
VC
2x

2
S
%5.12%100*
36
5.4
.
2
VC
Since , the relative variability in the 2
nd
data set is larger
than the relative variability in the 1
st
data set.
21.. VCVC
Notes: (Some properties of , S, and S
2
:
 
Sample values are :
a and b are constants
x
nxxx ,,,
21

Sample Data Sample
mean
Sample
st.dev.
Sample
Variance
n
xxx ,,,
21

n
axaxax ,,,
21

bxbx
n
 ,,,
1

baxbax
n
 ,,
1

x
xa
bx
bxa
S
Sa
S
Sa
2
S
22
Sa
2
S
22
Sa
Absolute value:

0
0



aifa
aifa
a

Sample
Sample
mean
Sample
St..dev.
Sample
Variance
C. V.
1,3,5 3 2 4 66.7%
(1)
(2)
(3)
-2, -6, -10
11, 13, 15
8, 4, 0
-6
13
4
4
2
4
16
4
16
66.7%
15.4%
100%
Example:
Data (1) (a = 2)

(2) (b = 10)
(3) (a = 2, b = 10)
321 2,2,2 xxx 
10x, 10x, 10x
321 
10x2 , 10x2 , 10x2
321


Can C. V. exceed 100%?
Data: 10,1,1,0
Mean=3
Variance=22
STDEV=4.6904
C. V.=156.3%