Chapter1 (L1) Updated
Chapter1 (L1) Updated
Statistics in Engineering
Collecting Engineering Data
Data Summary and Presentation
Probability Distributions
- Discrete Probability Distribution
- Continuous Probability Distribution
Sampling Distributions of the Mean and Proportion
Statistics In Engineering
Population
- Entire collection of individuals which are characteristic being
studied.
Sample
- A portion, or part of the population interest.
Variable
- Characteristics which make different values.
Observation
- Value of variable for an element.
Data Set
- A collection of observation on one or more variables.
Collecting Engineering Data
Direct observation
The simplest method of obtaining data.
Advantage: relatively inexpensive
Disadvantage: difficult to produce useful information since it
does not consider all aspects regarding the issues.
Experiments
More expensive methods but better way to produce data
Data produced are called experimental
Surveys
Most familiar methods of data collection
Depends on the response rate
Personal Interview
Has the advantage of having higher expected
response rate
Fewer incorrect respondents.
Grouped Data Vs Ungrouped Data
Chines
e
Indian
Ogive: line graph with the horizontal axis represent the upper
limit of the class interval while the vertical axis represent the
cummulative frequencies.
Example 1.8 :
Constructing Frequency Distribution
When summarizing large quantities of raw data, it is often useful to
distribute the data into classes. Table 1.1 shows that the number of
classes for Students` weight.
Weight Frequency Table 1.1: Weight of 100 male students
60-62 5 in XYZ university
63-65 18
66-68 42
69-71 27
72-74 8
Total 100
A frequency distribution for quantitative data lists all the classes and
the number of values that belong to each class.
Data presented in the form of a frequency distribution are called
grouped data.
For quantitative data, an interval that includes all the values that fall within two
numbers; the lower and upper class which is called class.
Class is in first column for frequency distribution table.
*Classes always represent a variable, non-overlapping; each value is belong to one
and only one class.
The numbers listed in second column are called frequencies, which gives the
number of values that belong to different classes. Frequencies denoted by f.
Table 1.2 : Weight of 100 male students in XYZ university
Formula:
- Class Midpoint or Mark
Class midpoint or mark = (Lower Limit + Upper Limit)/2
- Finding The Number of Classes
Number of classes, c = 1 3.3log n
- Finding Class Width For Interval Class
class width , i = (Largest value – Smallest value)/Number of classes
* Any convenient number that is equal to or less than the smallest values in the
data set can be used as the lower limit of the first class.
Example 1.9:
From Table 1.1: Class Boundary
5
60-62 5 59.5-62.5
5 + 18 = 23
63-65 18 62.5-65.5
23 + 42 = 65
66-68 42 65.5-68.5
65 + 27 =92
69-71 27 68.5-71.5
92 + 8 = 100
72-74 8 71.5-74.5
100
Exercise 1.1 :
•Measures of Position
Data Summary
Summary statistics are used to summarize a set of observations.
Two basic summary statistics are measures of central tendency and measures of
dispersion.
Measures of Central Tendency
Mean
Median
Mode
Measures of Dispersion
Range
Variance
Standard deviation
Measures of Position
Z scores
Percentiles
Quartiles
Outliers
Measures of Central Tendency
Mean
Mean of a sample is the sum of the sample data divided by the
total number sample.
Mean for ungrouped data is given by:
_
x
x1 x2 ....... xn x _
, for n 1,2,..., n or x x
n n
fx i i
fx
x i 1
or
f
n
f
i
i 1
Example 1.11 (Ungrouped data):
Solution :
x
fx
?
f
Median of ungrouped data: The median depends on the
number of observations in the data, n . If n is odd, then the
median is the (n+1)/2 th observation of the ordered observations.
But if is even, then the median is the arithmetic mean of the
n/2 th observation and the (n+1)/2 th observation.
median
Example 1.14 (Grouped Data):
The sample median for frequency distribution as in
example 1.12
Solution:
Weight Frequency, Class fx Cumulative Class
(Class f Mark, Frequency, Boundary
Interval x F
60-62 5 61 305
63-65 18 64 1152
66-68 42 67 2814
69-71 27 70 1890
72-74 8 73 584
f
F j 1
x Lc 2 ?
f j
Mode
When data has been grouped in classes and a frequency curveis drawn
to fit the data, the mode is the value of x corresponding to the maximum
point on the curve, that is
1
xˆ L c
1 2
*the class which has the highest frequency is called the modal class
Example 1.15 (Ungrouped data)
Find the mode for the sets of data 3, 5, 2, 6, 5, 9, 5, 2, 8, 6
Mode = number occurring most frequently = 5
1
ˆx L c ?
1 2
Measures of Dispersion
S 2
n
n 1 or n 1 (for sample)
2
( fx ) 2
S
2 fx 2
nx
or S 2
fx 2
n (for population)
n n
The positive square root of the variance is the standard
deviation
2
S
( x x) 2
fx 2
nx
n 1 n 1
( x x 2
)
s
2
?
n 1
(x x 2 )
s ?
n 1
Example 1.18 (Grouped data)
Find the variance and standard deviation of the sample
data below:
Weight Frequency, Class fx Cumulative Class
(Class f Mark, Frequency, Boundary x 2 fx 2
Interval x F
60-62 5 61 305 5 59.5-62.5
63-65 18 64 1152 23 62.5-65.5
66-68 42 67 2814 65 65.5-68.5
69-71 27 70 1890 92 68.5-71.5
72-74 8 73 584 100 71.5-74.5
Total 100 6745
fx 2
( fx ) 2 2
n S
fx 2 n x
?
S
2
?
n 1 n 1
Exercise 1.2
22 13 26 16 18 12 9 26 20 16
23 14 19 23 20 16 27 9 21 14
k
40 16
12
24
12
2
z scores
Percentiles
Quartiles
Outliers
Percentiles
k- percentile of data
n- number of individuals in data set
Step 3: a) If i is not an integer, round up to the next
highest integer.
b) If i is an integer, the kth percentile is the
arithmetic mean of the ith and (i+1)st data
value.
Example 1.21
The following data represent the number of inches of
rain in Chicago during the month of April for 20
randomly years.
Example 1.22
A metereology said that if the inches rain earn more
than 5.22 inches of rain, flood will happen. Determine
the percentile that correspond to the 5th highest number
of inches of rains with 5.22 inches of rain.
Quartiles
Smallest Largest
data value Q1 Q2 Q3 data value
Example 1.23
(Based on data in example 1.21)
Determine the quartiles.
Outliers
Extreme observations
Can occur because of the error in measurement of a
variable, during data entry or errors in sampling.
Checking for outliers by using Quartiles
MINIMUM Q1 M Q3 MAXIMUM
Example 1.24
(Based on example 1.20)
Compute all five-number summary.
Boxplots
Step 1: Determine the lower and upper fences:
Lower Fence Q1 1.5( IQR)
Upper Fence Q3 1.5( IQR)
Step 2: Draw vertical lines at Q1 , M and Q
.3
Step 3: Label the lower and upper fences.
Step 4: Draw a line from Q1 to the smallest data value
that is larger than the lower fence. Draw a
line fromQ3 to the largest data value that is
smaller than the upper fence.
Step 5: Any data value less than the lower fence or
greater than the upper fence are outliers and
mark (*).
Example 1.25
(Based on example 1.21)
Construct a boxplot.