




























































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!





























































All natural processes, as well as those devised by humans, are subject to variability. Civil engineers are aware, for example, that crushing strengths of concrete, soil pressures, strengths of welds, traffic flow, floods, and pollution loads in streams have wide variations. These may arise on account of natural changes in properties, differences in interactions between the ingredients of a material, environmental factors, or other causes. To cope with uncertainty, the engineer must first obtain and investigate a sample of data, such as a set of flow data or triaxle test results. The sample is used in applying statistics and probability at the descriptive stage. For inferential purposes, however, one needs to make decisions regarding the population from which the sample is drawn. By this we mean the total or aggregate, which, for most physical processes, is the virtually unlimited universe of all possible measurements. The main interest of the statistician is in the aggregation; the individual items provide the hints, clues, and evidence. Having obtained a sample of data, the first step is its presentation. Consider, for example, the modulus of rupture data for a certain type of timber. The initial problem facing the civil engineer is that such an array of data by itself does not give a clear idea of the underlying characteristics of the stress values in this natural type of construction material. To extract the salient features and the particular types of information one needs, one must summarize the data and present them in some readily comprehensible forms. There are several methods of presentation and organization of data.
When working with statistics, it’s important to recognize the different types of data: numerical (discrete and continuous), and categorical. Data are the actual pieces of information that you collect through your study. For example, if you ask five of your friends how many pets they own, they might give you the following data: 0, 2, 1, 4, 18. (The fifth friend might count each of her/his aquarium fish as a separate pet). Not all data are numbers; let’s say you also record the gender of each of your friends, getting the following data: male, male, female, male, female.
Example 1 Twenty elementary school children were asked if they live with both parents (B), father only (F), mother only (M), or someone else (S). The responses of the children are as follows. M B B M F S B M F B B F B M M B B F B M (i) Construct a frequency distribution table. (ii) Write the relative frequency. (iii) Draw a bar graph for the frequency distribution for the relative frequency.
Solution: The relative frequency = (^) ∑𝐹𝐹 (Relative frequencies are useful for comparing distributions of different sizes.)
The bar graph (Line Graph)
Example 2 The following data give the number of computer course taken by 30 business major who recently graduated from university.
2 3 2 3 1 4 2 2 3 4 1 2 3 1 1 3 2 2 4 2 1 2 3 1 1 3 2 2 4 1
(i) Construct a frequency distribution table. (ii) Write the relative frequency. (iii) Draw a bar graph for the frequency distribution for the relative frequency.
Solution:
The bar graph (Line Graph)
Items Tally Frequency (^) FrequencyRelative M //// / 6 0. F (^) //// 4 0. B (^) //// //// 9 0. S / 1 0.
Items Tally Frequency (^) FrequencyRelative 1 //// /// 8 0. (^2) //// //// / 11 0. (^3) //// // 7 0. 4 //// 4 0.
0
M F B S
Relative Frequency Items
0
1 2 3 4
Relative
Frequency
Items
Example 3 The following data give the number of computer keyboards assembled at Twentieth Century Electronic Company for a sample of 25 days.
(i) Construct a frequency distribution table if the number of classes is 6. (ii) Write the relative frequency for all categories. (iii) Draw a histogram and ogive graph for the relative frequency distribution and class cumulative frequency respectively. (iv) Draw the polygon graph.
Solution: The minimum value is 41. The maximum value is 56. Range= maximum value - minimum value = 56 − 41 = 15
Class width = (^) no. of classesRange+1 = 15+1 6 = 2.66 ≈ 3 (round it up).
The histogram graph The Ogive graph
The Frequency Polygon graph
0.
0. 0.24 0.
**0.
0**
0.
0.
0.
Relative Frequency^41 44 47 50 53 56
Classes Tally Frequency Cumulative Frequency Frequency^ Relative
Relative Cumulative Frequency
Midpoint 𝑥𝑚 41 – 44 /// 3 3 0.12 0.12 42. 44 – (^47) //// 5 8 0.20 0.32 45. 47 – (^50) //// / 6 14 0.24 0.56 48. 50 – (^53) //// // 7 21 0.28 0.84 51. 53 – (^56) /// 3 24 0.12 0.96 54. 56 – 59 / 1 25 0.04 1 57.
0
0.
0.
0.
0.
1
41 44 47 50 53 56 59
C. R. F
0
3
5
6 7
3 1 0 0
2
4
6
39.5 42.5 45.5 48.5 51.5 54.5 57.5 60.
Frequency
…
Stem-and-leaf plot is a statistical technique used if the number of classes is not given to present a set of data by splitting each numerical value into 2 parts:
The Stem : The leading left most digit(s). The leaf : The remaining “trailing” right most digits.
Example 5 Construct Stem-and-leaf plot for the following data.
37 33 33 32 29 28 28 23 22 22 22 21 21 21 20 20 19 19 18 18 18 18 16 15 14 14 14 12 12 9 6 Solution. In this example, we will explain how to construct and interpret this kind of graph. A stem and leaf display of the data is shown in the following table.
Stem Leaf 0 6 9 1 2 2 4 4 4 5 6 8 8 8 8 9 9 2 0 0 1 1 1 2 2 2 3 8 8 9 3 2 3 3 7
The left portion of the table contains the stems. They are the numbers 3, 2, 1, and 0, arranged as a column to the left of the bars. These number is 10’s digits. A stem of 3, for example, can be used to represent the 10’s digit in any of the numbers from 30 to 39. The numbers to the right of the bar are leafs, and they represent the 1’s digits. Every leaf in the graph therefore stands for the result of adding the leaf to 10 times its stem.
Example 7 The following data give the annual incomes (an thousands of dollars) for 40 production managers randomly selected from a large companies 57.6 63.3 47.3 72.5 41.2 66.1 59.6 68. 73.3 39.4 44.15 84.9 53.7 37.7 63.3 77. 60.2 55.9 43.1 35.6 49.3 67.4 79.2 71. 48.8 73.2 76.0 64.3 51.8 73.5 48.8 63. 81 .5 72.7 69.4 51.5 77.5 67.9 46.1 65.
(i) Construct a frequency distribution table. (ii) Write the relative frequency for all categories. (iii) Draw a histogram and ogive graph for the relative frequency distribution and class cumulative frequency respectively. (iv) Draw the polygon graph.
Solution.
Stem Leaf 3 9.4 7.7 5. 4 7.3 1.2 4.15 3.1 9.3 8.8 8.8 6. 5 7.6 9.6 3.7 5.9 1.8 1. 6 3.3 6.1 8.5 3.3 0.2 7.4 4.3 3.5 9.4 7.9 5. 7 2.5 3.3 7.4 9.2 1.9 3.2 6.0 3.5 2.7 7. 8 4.9 1.
Classes Frequency Cumulative Frequency Frequency^ Relative
Relative Cumulative Frequency
Midpoint 𝑥𝑚 30 – 40 3 3 0.075 0.075 35 40 – 50 8 11 0.2 0.275 45 50 – 60 6 17 0.15 0.475 55 60 – 70 11 28 0.275 0.7 65 70 – 80 10 38 0.25 0.95 75 80 - 90 2 40 0.5 1 85
The histogram graph The Frequency Polygon graph
The Ogive graph
Example 7 The following are the GPA of 30 students who signed up for a graduate course at a university 3.46 3.72 3.95 3.55 3.62 3.80 3.86 3.71 3.56 3.
3. 96 3.90 3.70 3.61 3.72 3.65 3.48 3.87 3.82 3. 3.69 3.67 3.72 3.66 3.79 3.75 3.93 3.74 3.50 3.
(v) Construct a frequency distribution table. (vi) Write the relative frequency for all categories. (vii) Draw a histogram and ogive graph for the relative frequency distribution and class cumulative frequency respectively. (viii) Draw the polygon graph.
Solution.
0.
0. 0.
0.275 0.
0. 0
0.
0.
0.
30 40 50 60 70 80 90
Relative Frequency^0
3
8 6
11 10
2 0 0
5
10
25 35 45 55 65 75 85 95
Frequency
Mid Point of Classes
0
0.
0.
0.
0.
1
30 40 50 60 70 80 90
C. R. F
(i) Construct a frequency distribution table. (ii) Write the relative frequency for all categories. (iii) Draw a bar graph for the frequency distribution and the relative frequency.
(i) Construct a frequency distribution table. (ii) Write the relative frequency for all categories. (iii) Draw a bar graph for the frequency distribution and the relative frequency.
35.28 41.11 26.04 38.41 32.56 34.22 39.31 40.55 36.08 38. 28.93 35. 75 25 36.63 25.28 33.99 34.77 30.71 34.65 34. 39.06 37.81 26.79 29.01 38.41 41.3 25.95 35.54 31.65 36. 32.48 32.46 30.15 33.82 36.76 35.39 31.8 25.55 40.36 41.
(i) Construct a frequency distribution table if the number of classes is 6. (ii) Draw a histogram and ogive graph with the relative frequency distribution and class cumulative frequency respectively. (iii) Draw the polygon graph.
(i) Use it to construct a frequency distribution with 7 classes. (ii) Using frequencies, sketch the frequency polygon.
767 770 761 760 771 768 776 771 756 770 763 760 747 766 754 771 771 778 766 762 780 750 746 764 769 759 757 753 758 746 (i) Use it to construct a frequency distribution. (ii) Using frequencies, sketch the frequency polygon.
(i) Construct a frequency distribution table. (ii) Draw a histogram and ogive graph with the relative frequency distribution and class cumulative frequency respectively. (iii) Draw the polygon graph.
0
20
40
60
80
100
120
Cumulative Frequency^0 20 40 60 80 Score^100
(i) Construct a frequency distribution table. (ii) Draw a histogram and ogive graph for the relative frequency distribution and class cumulative frequency respectively.
In this part we introduce the subject matter of descriptive statistics and in doing so learn ways to describe and summarize a set of data.
In statistical terms we are trying to find a measure of central tendency. The question we are now faced with is: what is the central position in our frequency distribution? One answer is simply to select the most frequent mark, the longest bar in the histogram. This statistic is called the mode. Another measure of central tendency that is used more often than the mode is the median or the second quartile (𝑄 2 ). This is the score that comes in the middle of the list when we have ordered it from lowest to highest. The median of the data value below (𝑄 2 ) is called the first quartile (𝑄 1 ). The median of the data value above ( Q 2 ) is called the third quartile (𝑄 3 ). Whilst we might regard the median as a better choice of a central value than the mode, as it finds the score at the middle position rather than the most frequent score, there is a third measure of central tendency that is used far more often than either of the above two measures. This is the mean. The mean represents the average value of the given scores.
How to determine the mode for Ungrouped Data?
The mode is a data value that has the highest frequency in a data set. A distribution may have one, more than one, or no mode at all.
How to determine the Median for Ungrouped Data?
How to determine the Variance and Standard Deviation for ungrouped data?
𝜎^2 =
∑(𝑥𝑖 − 𝜇)^2 𝑁 ,^ 𝜎^ =^
√∑(𝑥𝑖^ −^ 𝜇)
2 𝑁 We can write simple formulas of the variance and standard deviation in the forms
𝜎^2 =
∑ (^) 𝑥𝑖^2 − (∑^ 𝑥𝑖)
2 𝑁 𝑁 , 𝜎 = √
∑ (^) 𝑥𝑖^2 − (∑^ 𝑥𝑖)
2 𝑁 𝑁
𝑆^2 = ∑(𝑥𝑖 − 𝑥̅ )^2 𝑛 − 1 , 𝑆 = √ ∑(𝑥𝑖 − 𝑥̅ )^2 𝑛 − 1 Also, we can write simple formulas of the variance and standard deviation in the forms
𝑆^2 =
∑ 𝑥𝑖^2 − (∑ 𝑥𝑖)
2 𝑛 𝑛 − 1 ,^ 𝜎 =
√∑ 𝑥𝑖
(^2) − (∑ 𝑥𝑖)^2 𝑛 𝑛 − 1
Dividing the standard deviation by the mean gives the dimensionless measure of dispersion called the population coefficient of variation , 𝜈 for a population :
and for a sample, the sample coefficient of variation:
𝜈 =
This is usually expressed as a percentage. The coefficient of variation is useful in comparing different data sets with respect to central location and dispersion.
How to determine the approximate Mean for Grouped Data?
where 𝑥𝑚 is the midpoint of each class.
How to determine the Variance and Standard Deviation for Grouped Data?
We can write simple formulas of the variance and standard deviation in the forms
𝜎^2 =
∑ 𝑥𝑚^2 𝑓 − (∑ 𝑥𝑚𝑓)
2 𝑁 𝑁 ,^ 𝜎 =
√∑ 𝑥𝑚 (^2) 𝑓 − (∑ 𝑥𝑚𝑓)^2 𝑁 𝑁
Also, we can write simple formulas of the variance and standard deviation in the forms
𝑆^2 =
∑ 𝑥𝑚^2 𝑓 − (∑ 𝑥𝑚𝑓)
2 𝑛 𝑛 − 1 ,^ 𝜎 =
√∑ 𝑥𝑚
(^2) 𝑓 − (∑ 𝑥𝑚𝑓)^2 𝑛 𝑛 − 1
Example 8 A sample of 7 business statistics books produced the following data on their prices. 56 47 68 55 71 52 62 (i) Calculate the mean, median, mode, range, variance and standard deviation. (ii) Evaluate the first, third quartiles and interquartile range (IQR). Solution: 𝑛 = 7
Mode : No mode (Each number appears once). Range : Range = Max. value−Min. value = 71 − 47 = 24_._
Mean : 𝑥̅ = ∑ 𝑥 𝑛 𝑖= 4117 = 58.74.
Median : Median order = 𝑛 2 = 3.5 (Round it up ⇒ 4 ) ⇒ 𝑄 2 = 56.
Standard Deviation: 𝑠 = √
∑ 𝑥𝑖^2 −∑ 𝑥𝑛^2 𝑛−1 =
(411)^2 7 6 = 8..
Variance : 𝑠^2 =
∑ 𝑥𝑖^2 −∑ 𝑥𝑛^2 𝑛−1 =^
24583−(411) 2 7 6 = 75.23. The third quartile : The median of the data values that fall above 𝑄 2 ⇒ 𝑄 3 = 68. The first quartile : The median of the data values that fall below 𝑄 2 ⇒ 𝑄 1 = 52. Interquartile range : IQR = 𝑄 3 − 𝑄 1 = 68 − 52 = 16.
Rank 𝑥 47 52 55 56 62 68 41 411 𝑥^2 2209 2704 3025 3136 3844 4624 5041
Mode ≈ 𝑙𝑚𝑜𝑑𝑒 + (
where
𝑙𝑚𝑜𝑑𝑒 : The lower boundary of the modal class_._ 𝑑 1 : The difference between the modal class frequency and the frequency in the class preceding it in the distribution. 𝑑 2 : The difference between the modal class frequency and the frequency in the class following it in the distribution. 𝑤𝑐 : The class width.
Median ≈ 𝑙𝑚𝑒𝑑𝑖𝑎𝑛 + (
where 𝑛 : The total frequency. 𝑙𝑚𝑒𝑑𝑖𝑎𝑛 : the lower boundary of the class median. 𝑐𝑓 : the cumulative frequency before class median. 𝑓𝑚 : the frequency of the class median. 𝑤𝑐 : The class width.
Using the same method of calculation as in the Median, we can get 𝑄 1 and 𝑄 3 equation as follows
where 𝑥𝑚 is the midpoint of each class.
We can write simple formulas of the variance and standard deviation in the forms
𝜎^2 =
∑ 𝑥𝑚^2 𝑓 − (∑ 𝑥𝑚𝑓)
2 𝑁 𝑁 ,^ 𝜎 =
√∑ 𝑥𝑚
(^2) 𝑓 − (∑ 𝑥𝑚𝑓)^2 𝑁 𝑁
Also, we can write simple formulas of the variance and standard deviation in the forms
𝑆^2 =
∑ 𝑥𝑚^2 𝑓 − (∑ 𝑥𝑚𝑓)
2 𝑛 𝑛 − 1 ,^ 𝜎 =
√∑ 𝑥𝑚
(^2) 𝑓 − (∑ 𝑥𝑚𝑓)^2 𝑛 𝑛 − 1 Example 10 A hardware distributor reports the following distribution of sales from a sample of 100 sales receipts.
(i) Calculate the mean, median, mode, range, variance, standard deviation and sample variation coefficients. (ii) Evaluate the first, third quartiles and interquartile range (IQR).
Dollar values of sales Number of sales 0 – 20 16 20 – 40 18 40 – 60 14 60 – 80 24 80 – 100 20 100 – 120 8
Solution:
Classes Frequency 𝑓^ Midpoint 𝑥 𝑚
Cumulative frequency 0 – 20 16 10 160 1600 16 20 – 40 18 30 540 16200 34 40 – 60 14 50 700 35000 48 60 – 80 24 70 1680 117600 72 80 – 100 20 90 1800 162000 92 100 – 120 8 110 880 96800 100 ∑ 100 5760 429200
Mean : 𝑥̅ = ∑ 𝑥𝑚𝑓 𝑛 =^
5760 100 = 57.
Solution:
Classes Frequency 𝑓^ Midpoint 𝑥 𝑚
𝑥𝑚𝑓 𝑥𝑚^2 𝑓 Cumulative frequency 24 – 40 3 32 96 3072 3 40 – 56 5 48 240 11520 8 56 – 72 10 64 640 40960 18 72 – 88 12 80 960 76800 30 88 – 104 5 96 480 46080 35 104 – 120 5 112 560 62720 40 ∑ 100 2976 241152
Mean : 𝑥̅ = ∑ 𝑥𝑛𝑚 𝑓= 297640 = 74.
Median : Median order = 𝑛 2 = 20 ⇒ 18 ≤ 20 < 30.
Median class is 72 − 88
Median = 𝑄 2 ≈ 𝑙𝑚𝑒𝑑𝑖𝑎𝑛 + (
𝑛 2 −𝑐𝑓 𝑓𝑚^ ) (𝑤𝑐) = 72 + (
20− 12 ) (16) = 74.666.
Mode : Modal class is 72 − 88
Mode≈ 𝑙𝑚𝑜𝑑𝑒 + ( (^) 𝑑 1 𝑑+𝑑^12 ) (𝑤𝑐) = 72 + ( (^) 2+7^2 ) (16) = 75.5.
Variance : 𝑠^2 =
∑ 𝑥𝑖^2 𝑓−∑ 𝑥𝑛^2 𝑓 𝑛−1 =^
241152−(2976) 402 39 = 506.09.
Standard Deviation : 𝑠 = √
∑ 𝑥𝑖^2 𝑓−∑ 𝑥𝑛^2 𝑓 𝑛−1 =
(2976)^2 40 39 = 22..
Variation Coefficient : 𝜈 = (^) 𝑥̅𝑠 = 506.0974.4 × 100%
The first quartile : The first quartile order = 𝑛 4 = 10 ⇒ 8 ≤ 10 < 18.
The first quartile class is 56 − 72
The first quartile = 𝑄 1 ≈ 𝑙𝑄 1 + (
𝑛 4 −𝑐𝑓 𝑓𝑚^ ) (𝑤𝑐) = 56 + (
10− 10 ) (16) = 59.2.
The third quartile : The second quartile order = 3𝑛 4 = 30 ⇒ 30 ≤ 30 < 35. The second quartile class is 88 − 104
The second quartile = 𝑄 3 ≈ 𝑙𝑄 3 + (
3𝑛 4 −𝑐𝑓 𝑓𝑚^ ) (𝑤𝑐) = 88 + (
30− 5 ) (16) = 88.
Interquartile range : IQR = 𝑄 3 − 𝑄 1 = 88 − 59.2 = 28.8.
Sheet (2) (Statistics - Measures of Central Tendency for grouped and ungrouped Data)
(i) Which team do you think will win a tug of war between Hereward House and Nelson House? Give a reason for your answer using statistical calculation. (ii) If the highest weight in Hereward House team is replaced by member has weight 76 kilograms. Which team do you prefer to train it? Give a reason for your answer using statistical calculation.
Number of M&M s 37 38 39 40 41 42 43 Frequency 3 8 11 19 13 7 2
(i) Construct a frequency distribution table. (ii) Write the relative frequency for all categories. (iii) Draw a bar graph for the frequency distribution and the relative frequency. (iv) Calculate the mean, median, mode, range, variance and standard deviation. (v) Evaluate the first, third quartiles and interquartile range (IQR).
(i) Construct a frequency distribution table with relative frequency for all categories. (ii) Draw a histogram and ogive graph with the relative frequency distribution and class cumulative frequency respectively. (iii) Use histogram graph to find the mode value. (iv) Draw the polygon graph. (v) Calculate the mean, median, mode, range, variance and standard deviation. (vi) Evaluate the first, third quartiles and interquartile range (IQR).
Resistance (kΩ) 0 ≤ 𝑅 < 15 15 ≤ 𝑅 < 30 30 ≤ 𝑅 < 45 45 ≤ 𝑅 < 60 Frequency (×1000) 50 100 75 25