Professional Documents
Culture Documents
Data
Nonmetric Metric
or or
Qualitative Quantitative
1-5
Copyright © 2010 Pearson Education, Inc., publishing as Prentice-Hall.
Measurement Scales
Nonmetric
Nominal – size of number is not related to the amount of the
characteristic being measured, unordered categories
Ordinal – larger numbers indicate more (or less) of the
characteristic measured, but not how much more (or less).
Metric
Interval – contains ordinal properties, and in addition, there
are equal differences between scale points, no inherent
starting point
Ratio – contains interval scale properties, and in addition,
there is a natural zero point.
1-6
Copyright © 2010 Pearson Education, Inc., publishing as Prentice-Hall.
The Mean (Arithmetic Average)
The mean is defined to be the sum of
the data values divided by the total
number of values.
We will compute two means: one for
the sample and one for a finite
population of values.
The Mean (Arithmetic Average)
The mean, in most cases, is not an
actual data value.
3-9
The Sample Mean
X + X + ... + X
X= 1 2 n
n
X.
=
n
The Mean (Arithmetic Average)
The number of hours spent by a random sample of ten factory workers in
assembling a certain product per day were recorded as follows, 5, 8, 4, 2, 2,
2, 2, 5, 3, and 4. Find the arithmetic mean.
Solution:
x
x 5 8 4 2 2 2 2 5 3 4 37 3.7 hours
n 10 10
This result shows that on the average, the 10 factory workers spent 3.7 hours
a day for study.
The Population Mean
X + X + ... + X
m=
1 2 N
N
X.
=
N
The Population Mean - Example
Negative values for the skewness indicate data that are skewed
left and positive values for the skewness indicate data that are
skewed right.
By skewed left, we mean that the left tail is long relative to the
right tail. Similarly, skewed right means the right tail is long
relative to the left tail. If the data are multimodal, then this
may affect the sign of the skewness.
Positively Skewed
Y
Positively Skewed
X
Mode < Median < Mean
Symmetrical
Y
Symmetrical
X
Mean = Median = Mode
3-52
Negatively Skewed
Negatively Skewed
X
Mean < Median < Mode
Formula for Solving Skewness
y y 3
/n
g1
s3
Or
ni 1 xi x
n 3
n 1 n 2 s 3
Excel calculates skewness of a sample using the second formula.
Skewness and Kurtosis
Kurtosis is the sharpness of the peak of a frequency distribution
curve (i.e. mesokurtic, platykurtic, leptokurtic)
n n 1 i 1 xi x 3 n 1
n 4 2
n 1 n 2 n 3 s 4
n 2 n 3
( X -m ) , where
2
s =
2
N
X = individual value
m = population mean
N = population size
Measures of Variation –
3-55
Population Standard Deviation
( X - m)
2
s = s = .
2
N
Measures of Variation –
Population Standard Deviation
is the positive square root of the variance and
measures on the average the dispersion of each
observation from the mean.
Data B
Mean = 15.5
11 12 13 14 15 16 17 18 19 20 21 s = .9258
Data C
Mean = 15.5
11 12 13 14 15 16 17 18 19 20 21 s = 4.57
Measures of Variation -
Example
Consider the following data to constitute
the population: 10, 60, 50, 30, 40, 20.
Find the mean and variance.
The mean = (10 + 60 + 50 + 30 + 40 +
20)/6 = 210/6 = 35.
The variance 2 = 1750/6 = 291.67.
See next slide for computations.
Measures of Variation -
Example
s
2
xx 2
, and
n 1
x sample mean
n sample size
Measures of Variation – Sample
Standard Deviation
The sample standard deviation is the
square root of the sample variance.
-
å(X X) 2
s = s = .
2
n -1
Shortcut Formula for the
Sample Variance and the
Standard Deviation
å X - ( å X ) /n
2 2
s=
2
n -1
å X - ( å X ) /n
2 2
s=
n -1
Sample Variance - Example
Find the variance and standard
deviation for the following sample: 16,
19, 15, 15, 14.
X = 16 + 19 + 15 + 15 + 14 = 79.
X2 = 162 + 192 + 152 + 152 + 142
= 1263.
Sample Variance - Example
X ( X ) / n
2 2
s =
2
n 1
1263 (79) / 5
2
= 3.7
4
s= 3.7 19
..
Standard Error of the Mean
sample mean 2 SE of the Mean X 2
n
An interval estimate X 2
n for the mean has an attached 95% confidence
interval, in the sense that in about 19 out of 20 sampling experiments, we
would expect to contain the true value of the parameter in the resulting
interval estimate. Thus, we also call this interval estimate the 95%
confidence interval for the mean.
Further Illustrations of Confidence
Interval
Confidence Interval Estimation of the Population Mean
Case 1: σ is unknown and n≥30 (rather large sample)
s
X z / 2
n
where z / 2 is the percentile of the standard deviation that has an area of / 2 to
its right.
Example: The mean and standard deviation for the quality point indices (QPI) of
a random sample of 36 Ateneo college sophomores are 2.6 and 0.3, respectively.
Find the 95% and 99% confidence intervals for the mean of the entire population
batch.
Soln: The 95% confidence interval for the mean QPI is
0.3
2.6 1.96 or equivalently , from 2.50 to 2.70
36