Introduction To Statistics - Lecture Note RC-1
Introduction To Statistics - Lecture Note RC-1
1 — INTRODUCTION TO STATISTICS
• Data Collection: This is a stage where we gather information for our purpose.
– If data are needed and if not readily available, then they have to be collected.
– Data may be collected by the investigator directly using methods like inter-
view, questionnaire, and observation or may be available from published or
unpublished sources.
– Data gathering is the basis (foundation) of any statistical work.
– Valid conclusions can only result from properly collected data.
• Data Organization: It is a stage where we edit our data. A large mass of figures
that are collected from surveys frequently need organization. The collected data
involve irrelevant figures, incorrect facts, omission and mistakes. Errors that may
have been included during collection will have to be edited. After editing, we
may classify (arrange) according to their common characteristics. Classification
or arrangement of data in some suitable order makes the information easier for
presentation.
• Data Presentation: The organized data can now be presented in the form of
tables and diagram. At this stage, large data will be presented in tables in a very
summarized and condensed manner. The main purpose of data presentation is to
facilitate statistical analysis. Graphs and diagrams may also be used to give the
data a vivid meaning and make the presentation attractive.
• Data Analysis: This is the stage where we critically study the data to draw
conclusions about the population parameter. The purpose of data analysis is to
dig out information useful for decision making. Analysis usually involves highly
complex and sophisticated mathematical techniques. However, in this material
only the most commonly used methods of statistical analysis are included. Such as
the calculations of averages, the computation of measures of dispersion, regression
and correlation analysis are covered.
• Data Interpretation: This is the stage where we draw valid conclusions from the
results obtained through data analysis. Interpretation means drawing conclusions
from the data which form the basis for decision making. The interpretation of data
is a difficult task and necessitates a high degree of skill and experience. If data
that have been analyzed are not properly interpreted, the whole purpose of the
investigation may be defected and fallacious conclusion be drawn. So that great
care is needed when making interpretation.
In descriptive statistics the statistician tries to describe a situation. For example, tables
or graphs are used to organize data, survey used to collect data, and descriptive values
such as the average score are used to summarize data. The following are some examples
of descriptive Statistics.
(a) The average age of athletes participated in London Marathon was 25 years.
(b) 80% of students in campus are female.
(c) In 2011, there were 34 deaths from the avian flu.
d If an instructor produces statistics to summarize a class’s examination effort and
uses those statistics to reach conclusions about that class only, the statistics are
descriptive.
Definition 1.3.2 Inferential statistics consists of procedures used to make inferences
about population characteristics from information contained in a sample drawn from
this population.
Inferential statistics is a procedure utilizes sample data to make estimates, decisions,
predictions, or other generalizations about a larger set of data. A basic tool in the
study of inferential statistics is probability.
There are two types of data sets you will use when studying statistics. These data
sets are called populations and samples.
* The data that reflects non-numerical features or qualities of the experimental
units is known as qualitative data.
* The data that possesses numerical properties is known as quantitative data.
• A population consists of all subjects (human or otherwise) that are being studied.
i.e It is the collection of all outcomes, responses, measurements, or counts that are
of interest.
Example 1.1 Determine whether the numerical value describes a population param-
eter or a sample statistic. Explain your reasoning
a A recent survey of approximately 400,000 employers reported that the average
starting salary for marketing majors is birr 3,400.
b The freshman class at a university has an average SAT math score of 54.
c In a random check of 400 retail stores, the Food and Drug Administration found
that 34% of the stores were not storing fish at the proper temperature
Solution
a Because the average of birr 3,400 is based on a subset of the population, it is a
sample statistic.
b Because the average SAT math score of 54 is based on the entire freshman class,
it is a population parameter.
c Because the percent, 34%, is based on a subset of the population, it is a sample
statistic.
as qualitative or quantitative.
Definition 1.5.1 Qualitative variables are variables that have distinct categories ac-
cording to some characteristic or attribute.
For example, if subjects are classified according to gender (male or female), then the
variable gender is qualitative. Other examples of qualitative variables are religious
preference and geographic locations.
Qualitative variables take on values that are names or labels. The color of a ball (e.g.,
red, green, blue) or the breed of a dog (e.g., collie, shepherd, terrier) would be examples
of qualitative or categorical variables.
Definition 1.5.2 Quantitative variables are variables that can be counted or measured.
For example, the variable age is numerical, and people can be ranked in order according
to the value of their ages. Other examples of quantitative variables are heights, weights,
and body temperatures.
Quantitative variables can be further classified into two groups: discrete and continu-
ous.
Definition 1.5.3 Discrete variables assume values that can be counted. A discrete
variable takes always whole number values that are counted.
Examples of discrete variables are the number of children in a family, the number of
students in a classroom, and the number of calls received by a switchboard operator
each day for a month.
Definition 1.5.4 Continuous variables can assume an infinite number of values be-
tween any two specific values. They are obtained by measuring. They often include
fractions and decimals.
Temperature, for example, is a continuous variable, since the variable can assume an
infinite number of values between any two given temperatures.
How variables are categorized, counted, or measured— uses measurement scales, and
The four levels of measurement, in order from lowest to highest are : nominal, ordinal,
interval, and ratio.
Definition 1.5.5 .
• The nominal level of measurement classifies data into mutually exclusive
(non overlapping) categories in which no order or ranking can be imposed on
the data.Data at the nominal level of measurement are qualitative only. Data at
this level are categorized using names, labels, or qualities. No mathematical
computations can be made at this level.
• The ordinal level of measurement classifies data into categories that can be
ranked; however, precise differences between the ranks do not exist. Data at the
ordinal level of measurement are qualitative or quantitative.
The two highest levels of measurement consist of quantitative data only.
• The interval level of measurement
Data at the interval level of measurement can be ordered, and meaningful
differences between data entries can be calculated. At the interval level, a zero
entry simply represents a position on a scale; the entry is not an inherent zero.
• The ratio level of measurement
Data at the ratio level of measurement are similar to data at the interval level,
with the added property that a zero entry is an inherent zero. A ratio of two data
entries can be formed so that one data entry can be meaningfully expressed as a
multiple of another.
An inherent zero is a zero that implies “none.” For instance, the amount of money you
have in a savings account could be zero dollars. In this case, the zero represents no
money; it is an inherent zero. On the other hand, a temperature of 0oCdoes not represent
a condition in which no heat is present. The 0oCtemperature is simply a position on
the Celsius scale; it is not an inherent zero. To distinguish between data at the interval
level and at the ratio level, determine whether the expression “twice as much” has any
meaning in the context of the data. For instance, $2 is twice as much as $1, so these data
are at the ratio level. On the other hand, 2oC is not twice as warm as 1oC, so these data
are at the interval level.
Nominal-level data Ordinal-level data Interval-level data Ratio-level data
Zip code Grade (A, B, C, D, F) SAT score Height
Gender (male, female) Judging (first place, IQ Weight
Eye color (blue, brown, second place, etc.) Temperature Time
green, hazel) Rating scale (poor, Salary
Political affiliation good, excellent) Age
Religious affiliation Ranking of tennis players
Major field (mathematics,
computers, etc.)
Nationality
Table 1.1: Examples of Measurement Scales
Uses of Statistics
Today the field of statistics is recognized as a highly useful tool to making decision
process by managers of modern business, industry, frequently changing technology.
It has a lot of functions in every day activities. The following are some of the most
important uses of statistics.
• Statistics condenses and summarizes complex data. The original set of data
(raw data) is normally voluminous and disorganized unless it is summarized and
expressed in few numerical values.
• Statistics facilitates comparison of data. Measures obtained from different set
of data can be compared to draw conclusion about those sets. Statistical values
such as averages, percentages, ratios, etc., are the tools that can be used for the
purpose of comparing sets of data.
• Statistics helps in predicting future trends. Statistics is extremely useful for
analyzing the past and present data and predicting some future trends.
• Statistics influences the policies of government. Statistical study results in the
areas of taxation, on unemployment rate, on the performance of every sort of
military equipment, family planning, etc, may convince a government to review
its policies and plans with the view to meet national needs and aspirations.
• Statistical methods are very helpful in formulating and testing hypothesis and to
develop new theories.
Limitations of statistics
Even though, statistics is widely used in various fields of natural and social sciences,
which closely related with human inhabitant, it has its own limitations as far as its
application is concerned. Some of these limitations are:-
• Statistics doesn’t deal with single (individual) values. Statistics deals only with
aggregate values. But in some cases single individual is highly important to
consider in some situations. Example, the sun, a deriver of bus, president, etc.
• Statistics can’t deal with qualitative characteristics. It only deals with data which
can be quantified. Example, it does not deal with marital status (married, single,
divorced, widowed) but it deal with number of married, number of single, number
of divorced.
• Statistical conclusions are not universally true. Statistical conclusions are true
only under certain condition or true only on average. The conclusions drawn from
the analysis of the sample may, perhaps, differ from the conclusions that would
be drawn from the entire population. For this reason, statistics is not an exact
science.
Example 1.4 Assume that in your class there are 50 numbers of students.
Take there CGPA for all 50 students and analyse mean CGPA; that is assumed
3.00. This value is on average, because all individual has not CGPA 3.00. There
is a student who has scored above 3.00 and below 3.00.
Example 1.5 Example, the report of head of the minister about Etio-Somalia
terrorist attack mission dismissed terrorists25% at first day, 50% at second day,
75% at third day. However, we doubt about the mechanisms how the mission is
measured and quantified. This leads miss use of statistical figures.
Exercise 1.1 1. Classifying Data by Type Determine whether the data are quali-
tative or quantitative. Explain your reasoning.
(a) Heights of hot air balloons
(b) Carrying capacities of pickups
(c) Eye colors of models
(d) Student ID numbers
(e) Weights of infants at a hospital
(f) Species of trees in a forest
(g) Responses on an opinion poll
(h) Wait times at a grocery store
2. The items below appear on a physician’s intake form. Determine the level of
measurement of the data.
(a) Temperature (c) Allergies
(b) Weight (d) Pain level (scale of 0 to 10)
3. The items below appear on an employment application. Determine the level of
measurement of the data.
(a) Highest grade level completed (c) Gender
(b) Year of college graduation (d) Number of years at last job
• Lack of availability
• Lack of relevance
• Inaccurate data
• Insufficient data
Example 2.1 Assume that a simple study is to be conducted to see the age distribu-
tion of HIV/AIDS victim citizens. Clearly, the variable of study is age. Data about
the age of HIV/AIDS victim citizens may be obtained by making direct interview
with the victims. Note, in this specific case, the victim citizens are primary sources.
Moreover, the data to be collected from them are primary data. Alternatively, one
may use records of hospitals and other related agencies to obtain age of the victim
citizens without the need of tracing the victims personally. Therefore, the records of
the hospitals, in our case, are secondary sources and the data copied from such records
are secondary data.
Example 2.2 Thirty students were given a blood test to determine their blood type.
The data set is given as follows:
A B B AB O O O B AB B
B B O A O A O O O AB
AB O A B A O A B AB O
Construct a frequency, relative frequency and percent frequency distribution for the
above data
Solution:
each class label, we extend the length of the bar until we reach the frequency, relative
frequency, or percent frequency of the class. For categorical data, the bars should be
separated to emphasize the fact that each class is separate.
Definition 2.2.2 A bar graph represents the data by using vertical or horizontal bars
whose heights or lengths represent the frequencies of the data.
Example 2.3 The table shows the average money spent by first year college students.
Draw a horizontal and vertical bar graph for the data.
Electronics $ 728, Dorm decor $ 344,
Clothing $ 141, and shoes $ 72
Bar graphs can also be used to compare data for two or more groups. These types of bar
graphs are called compound bar graphs. Consider the following data for the number (in
millions) of never married adults in the United States.
the circle into sectors, or parts, that correspond to the relative frequency for each
class.
Definition 2.2.3 A pie graph is a circle that is divided into sections or wedges accord-
ing to the percentage of frequencies in each category of the distribution.
Example 2.4 This frequency distribution shows the number of pounds of each
snack food eaten during the Super Bowl. Construct a pie graph for the data.
To draw a pie chart, the angle of each slice can be calculated as follows:
f
Angle = × 3600
n
The angle of the first slice, for example, is
11.2 8.2
Potato chips = × 3600 = 1340 , Tortilla chips = × 3600 = 980
30 30
4.3 3.8
Pretzels = × 3600 = 520 , Popcorn = × 3600 = 460
30 30
2.5 0 0
Snack nuts = × 360 = 30 ;
30
f
Total = 3600 Each frequency must also be converted to a percentage. i.e., % = × 100
n
For example,
11.2 8.2
Potato chips × 100 = 37.3% Tortilla chips = × 100 = 27.3%
30 30
Example 2.5 The following data represent the number of days of sick leave taken
Solution:
1. Since this data set contains only a relatively small number (9) of distinct or
different values, it is convenient to represent it in a frequency table which presents
each distinct value along with its frequency of occurrence.
2. Since 12 of the 50 workers had no days of sick leave, the answer is 50 − 12 = 38.
3. The answer is the sum of the frequencies for values 3, 4 and 5 that is 4+5+8 = 17.
R The class limits should have the same decimal place value as the data, but
the class boundaries should have one additional place value and end in a 5.
For example, if the values in the data set are whole numbers, such as 59, 68, and
82, the limits for a class might be 58 – 64, and the boundaries are 57.5 – 64.5.
Find the boundaries by subtracting 0.5 from 58 (the lower class limit) and adding
Solution:
Step 1 Determine the classes.
Highest value = 134 and lowest value = 100
The range R = highest value − lowest value = 134 − 100 = 34
Select the number of classes (usually between 5 and 20) (7 is arbitrarily chosen).
R 34
Class wideth = = = 4.9 ≈ 5
Number of classes 7
Step 2 Tally the data.
The cumulative frequency distribution for the data in this example is as follows:
Cumulative frequency
Less than 99.5 0
Less than 104.5 2
Less than 109.5 10
Less than 114.5 28
Less than 119.5 41
Less than 124.5 48
Less than 129.5 49
Less than 134.5 50
Exercise 2.2 These data represent a machine produces number of rejects in each
successive period of five minutes
16 21 26 24 11 17 25 26 13 27
24 26 3 27 23 24 15 22 22 12
22 29 18 22 28 25 7 17 22 28
19 23 23 22 3 19 13 31 23 28
24 9 20 33 30 23 20 8 21 24
Construct frequency distribution
R (Remember that the lines for the frequency polygon begin and end on the x
axis while the lines for the ogive begin on the x axis.)
2.3.1 Histogram
Definition 2.3.1 The histogram is a graph that displays the data by using contiguous
vertical bars (unless the frequency of a class is 0) of various heights to represent the
frequencies of the classes.
A frequency histogram is a bar graph that represents the frequency distribution of a data
set. A histogram has the following properties.
2.3.3 Ogive
Definition 2.3.3 The ogive is a graph that represents the cumulative frequencies for
the classes in a frequency distribution.
Cumulative frequency graphs are used to visually represent how many values are below
a certain upper class boundary.
Exercise 2.3 1. Use the data set, which represents the student-to-faculty ratios
for 20 public colleges.
13 15 15 8 16 20 28 19 18 15 21 23 30 17 10 16 15 16 20 15
(a) Construct a frequency distribution for the data set using five classes. In-
clude class limits, midpoints, boundaries, frequencies, relative frequencies,
and cumulative frequencies.
(b) Construct histogram , frequency polygon and ogive curve .
Sample mean
x1 + x2 + x3 + · · · + xn ∑ xi
x̄ = = (3.1)
n n
where n represents the total number of values in the sample.
population mean
x1 + x2 + x3 + · · · + xN ∑ xi
µ = = (3.2)
N N
where N represents the total number of values in the population.
Example 3.1 The monthly starting salaries for a sample of 12 Business school
graduates is shown. Find the mean.
24 Measures of central Tendency and Dispersion
Solution:
∑ xi x1 + x2 + x3 + · · · + x12
x̄ = =
n 12
3450 + 3550 + 3650 + · · · + 3480 42, 480
= = = 3540
12 12
Example 3.2 The data show the number of patients in a sample of six hospitals
who acquired an infection while hospitalized. Find the mean.
110 76 29 38 105 31
Solution:
∑ xi 110 + 76 + 29 + 38 + 105 + 31 389
x̄ = = = = 64.8
n 6 6
The mean of the number of hospital infections for the six hospitals is 64.8.
Steps for finding the mean for grouped data are:
Step 1 Make a table as shown.
A B C D
class Frequency f Midpoint xm f .xm
Step 2 Find the midpoints of each class and place them in column C
Step 3 Multiply the frequency by the midpoint for each class, and place the product in
column D.
Step 4 Find the sum of column D
Step 5 Divide the sum obtained in column D by the sum of the frequencies obtained in
column B.
Example 3.3 The data represent the number of miles run during one week for a
sample of 20 runners. Find the mean.
Solution:
A B C D
Class Frequency Midpoint xm f .xm
5.5 – 10.5 1
10.5 – 15.5 2
15.5 – 20.5 3
20.5 – 25.5 5
25.5 – 30.5 4
30.5 – 35.5 3
35.5 – 40.5 2
n = 20
∑ f .xm 490
∴ x̄ = = = 24.5
n 20
Solution:
∑ wX 3.4 + 3.2 + 4.3 + 2.1 32
X̄ = = = ≈ 2.7
∑w 3+3+4+2 12
The grade point average is 2.7.
Exercise 3.1 You are taking a class in which your grade is determined from five
sources: 50% from your test mean, 15% from your midterm, 20% from your final
exam, 10% from your computer lab work, and 5% from your homework. Your
scores are 86 (test mean), 96 (midterm), 82 (final exam), 98 (computer lab), and 100
(homework). What is the weighted mean of your scores? The minimum average for
an A is 90. Did you get an A?
n + 1 th
Step 3 a. If n is odd, select the middle data value as the median. i.e. Median =
2
observation
b. If n is even, find the mean of the two middle values.
1 n th n th
Median = observation + + 1 observation
2 2 2
Example 3.5 The number of police officers killed in the line of duty over the last
11 years is shown. Find the median.
177 153 122 141 189 155 162 165 149 157 240
Solution: The median number of police officers killed for the 11-year period is
157.
Example 3.7 Based on the grouped data below, find the median:
Solution: Since 10 occurred 3 times—a frequency larger than any other number—the
mode is 10
Example 3.9 The data show the number of licensed nuclear reactors in the United
States for a recent 15-year period. Find the mode.
104, 107, 109, 104, 109, 111, 104, 109, 112, 104, 109, 111, 104, 110, 109
Solution: Since the values 104 and 109 both occur 5 times, the modes are 104 and 109.
The data set is said to be bimodal.
Example 3.10 The number of accidental deaths due to firearms for a six-year period
is shown. Find the mode.
649, 789, 642, 613, 610, 600
Example 3.11 Find the modal class for the frequency distribution of miles that 20
runners ran in one week,
Class boundaries Frequency
5.5 – 10.5 1
10.5 – 15.5 2
15.5 – 20.5 3
20.5 – 25.5 5 ←− Modal class
25.5 – 30.5 4
30.5 – 35.5 3
35.5 – 40.5 2
R The mode is the only measure of central tendency that can be used in finding the
most typical case when the data are nominal or categorical.
Example 3.12 The number of bank failures for a recent five-year period is shown.
Find the midrange.
3, 30, 148, 157, 71
Solution: The lowest data value is 3, and the highest data value is 157.
3 + 157
MR = = 80
2
The midrange for the number of bank failures is 80.
Student 1 Student 2
68 85
75 90
65 80
67 25
70 65
Both have got a total of 345 and an average of 69 each. The fact is that the second
student has failed in one paper. When the averages alone are considered, the two students
are equal. But first student has less variation than second student. Less variation is a
desirable characteristic.
Example 3.13 A testing lab wishes to test two experimental brands of outdoor paint
to see how long each will last before fading. The testing lab makes 6 gallons of each
paint to test. Since different chemical agents are added to each group and only six
cans are involved, these two groups constitute two small populations. The results (in
months) are shown. Find the range of each group.
Brand A 10 60 50 30 40 20
Brand B 35 45 30 35 40 25
R = 60 − 10 = 50 months
R = 45 − 25 = 20 months
Example 3.14 Find the range for the following frequency distribution; which shows
the distribution of the maximum loads supported by a certain number of cables.
3.2.2 Percentiles
A percentile provides information about how the data are spread over the interval from
the smallest value to the largest value.
Definition 3.2.2 Percentiles divide the data set into 100 equal groups.
Example 3.15 A teacher gives a 20-point test to 10 students. The scores are shown
here. Find the percentile rank of a score of 12.
Example 3.16 Using the scores in Example 3.15, find the value corresponding to
the 25th percentile.
Solution: Arrange the data in order from lowest to highest: 2, 3, 5, 6, 8, 10, 12, 15, 18,
20
n.p 10 × 25
=⇒ c = = = 2.5
100 100
Since c is not a whole number, round it up to the next whole number; in this case, c = 3.
Start at the lowest value and count over to the third value, which is 5. Hence, the value 5
corresponds to the 25th percentile.
Example 3.17 Using the scores in Example 3.15, find the value corresponding to
the 60th percentile.
Solution: Here c = 6
Since c is a whole number, use the value halfway between the c and c + 1 values when
counting up from the lowest value—in this case, the 6th and 7th values. Find it by
10 + 12
adding the two values and dividing by 2. = 11
2
Hence, 11 corresponds to the 60th percentile. Anyone scoring 11 would have done better
than 60% of the class.
Notation 3.1. Note that Q1 is the same as the 25th percentile; Q2 is the same as the
50th percentile, or the median; Q3 corresponds to the 75th percentile.
Example 3.18 Find Q1 , Q2 and Q3 for the data set 15, 13, 6, 5, 12, 50, 22, 18.
IQR = Q3 − Q1
Example 3.19 Find the interquartile range for the data set in Example 3.18
R Deciles divide the distribution into 10 groups. They are denoted by D1 , D2 , etc.
Outliers
Definition 3.2.4 An outlier is an extremely high or an extremely low data value when
compared with the rest of the data values.
An outlier can strongly affect the mean and standard deviation of a variable. For example,
suppose a researcher mistakenly recorded an extremely high data value. This value
would then make the mean and standard deviation of the variable much larger than they
really were.
Procedure for Identifying Outliers
Step 1 Arrange the data in order from lowest to highest and find Q1 and Q3 .
Step 2 Find the interquartile range: IQR = Q3 − Q1 .
Step 3 Multiply the IQR by 1.5.
Step 4 Subtract the value obtained in step 3 from Q1 and add the value obtained in step 3
to Q3 .
Step 5 Check the data set for any data value that is smaller than Q1 − 1.5(IQR)or larger
than Q3 + 1.5(IQR).
Solution: The data value 50 is extremely suspect. These are the steps in checking for an
outlier.
IQR = Q3 − Q1 = 9 − 20 = 11 =⇒ Q1 − 1.5IQR = −7.5 and Q3 + 1.5IQR =
20 + 16.5 = 36.5
Check the data set for any data values that fall outside the interval from −7.5 to 36.5.
The value 50 is outside this interval; hence, it can be considered an outlier.
∑(X − µ)2
σ2 = (3.6)
N
where X = individual value, µ = population mean , N = population size
The population standard deviation is the square root of the variance. The symbol
for the population standard deviation is σ .
∑(X − X̄)2
s2 = (3.8)
n−1
Sample standard deviation
s
∑(X − X̄)2
s= (3.9)
n−1
Example 3.21 Find the variance and standard deviation for brand B paint data in
Example 3.13. The months brand B lasted before fading were
A B C
X X −µ (X − µ)2
35 0 0
45 10 100
30 -5 25
35 0 0
40 5 25
25 -10 100
∑ = 250
∑(X − µ)2 250
σ2 = = = 41.7
√ N √ 6
σ = σ 2 = 41.7 ≈ 6.5
Hence, the standard deviation is 6.5.
Variance and Standard Deviation for Grouped Data
Definition 3.2.7
∑ fi (Xmi − µ)2
σ2 =
N
∑ i mi − X̄)2
f (X
s2 =
n−1
Example 3.22 The following are the frequency distribution of the time in days
required to complete year-end audits:
Solution:
A B C D
Xm (class mid point) f .Xm Xm − x̄ f .(Xm − x̄)2
12 48 -7 196
17 136 -2 32
22 110 3 45
27 54 8 128
32 32 13 169
n = 20 ∑ f xm = 380 ∑ f .(Xm − x̄)2 = 570
2 ∑ f .(Xm − x̄)2 570 √
s = = = 30 =⇒ s = 30 ≈ 5.5
n−1 19
Example 3.23 The mean of the number of sales of cars over a 3-month period is
87, and the standard deviation is 5. The mean of the commissions is br. 5225, and the
standard deviation is br. 773. Compare the variations of the two.
Example 3.24 The following are the number of visit made by ten mothers to the
local doctor’s surgery.
8, 6, 5, 5, 7, 4, 5, 9, 7, 4
Example 3.25 Find mean deviation about mean, and median for the following
distributions.
Item Frequency
2–4 20
4–6 40
6–8 30
8 – 10 10
Example 3.26 A student scored 65 on a Maths for management test that had a mean
of 50 and a standard deviation of 10; she scored 30 on a Civic test with a mean of 25
and a standard deviation of 5. Compare her relative positions on the two tests.
Solution: First, find the z scores. For Maths for management the z score is
x − x̄ 65 − 50
z= = = 1.5
s 10
For Civic the z score is
x − x̄ 30 − 25
z= = = 1.0
s 5
Since the z score for Maths for management is larger, her relative position in the
mathematics class is higher than her relative position in the Civic class.
R Note that if the z score is positive, the score is above the mean. If the z score is 0,
the score is the same as the mean. And if the z score is negative, the score is below
the mean.
Example 3.27 Find the z score for each test, and state which is higher.
Solution: The score for test A is relatively higher than the score for test B.
3.2.7 Skewness
Skewness is the degree of asymmetry or departure from symmetry of a distribution.
A skewed frequency distribution is one that is not symmetrical.
Skewness is concerned with the shape of the curve not size.
Test of skewness
1. If Mean = Median = Mode, then there is no skewness in the distribution. In
other words, the curve of the frequency distribution would be symmetrical or bell
shaped.
2. If arthimetic mean is less than the values of the mode, the tail of a symmetrical
distribution is on the left side, i.e., the distribution is negatively skewed.
3. If arthimetic mean is greater than the values of the mode, the tail of a symmetrical
distribution is on the right side, i.e., the distribution is posetively skewed.
Figure 3.1:
dist.png dist.png
4 — Introduction to Probability
Example 4.1 .
42 Introduction to Probability
Experiment Outcomes
Tossing of a fair coin Head, tail
Rolling a die 1, 2, 3, 4, 5, 6
Selecting an item from a production lot defective (faulty), non-defective (good)
Introducing a new product Success, failure
Play a football game Win, lose, tie
Solution: S = {H, T }
Example 4.3 Find the sample space for the gender of the children if a family
has three children. Use B for boy and G for girl.
Example 4.4 Considering the experiment of rolling a die, let A be the event
of odd numbers, B be the event of even numbers, and C be the event of number
8.
=⇒ A = {1, 3, 5} B = {2, 4, 6} C = 0/ or impossible event
S = {1, 2, 3, 4, 5, 6}
If we are interested the outcome of event E1 getting even numbers andE2 odd
numbers E1 = {2, 4, 6}, E2 = {1, 3, 5} Clearly E1 ∩ E2 = 0. / Thus E1 and E2 are
mutually exclusive events.
9. Exhaustive Events: Events are said to be exhaustive if their union equals the
sample space. For instance, when a die is rolled, the event of getting even numbers
{2, 4, 6} and the event of getting odd numbers {1, 3, 5} are exhaustive events as
the union of the events are equal to the sample space S = {1, 2, 3, 4, 5, 6} .
When two coins are tossed the event that at least one head will come up {HH, HT, T H}
and the event that at least one tail will come up {T T, T H, HT } are exhaustive
events as the union of the events are equal to the sample space {HH, HT, T H, T T }.
10. Favorable Event: Favorable event is an event about which the experimenter is
concerned or interested.
A favorable outcome is the outcome of interest. For instance, one can define a
favorable outcome in the flip of a coin as a tail.
11. Independent Events: are not affected by previous events. Two events A and B
are said to be independent events if the occurrence of event A has no influence
(bearing) on the occurrence of event B. For example, if two fair coins are tossed,
then the result of one toss is totally independent of the result of the other toss. i.e.,
What it did in the past will not affect the current toss! The probability that a head
1
will be the outcome of any one toss will always be , irrespective of whatever
2
the outcome is of the other toss. Hence, these two events are independent. On
the other hand, consider drawing two cards from a pack of 52 playing cards. The
probability that the second card will be an ace would depend up on whether the
first card was an ace or not. Hence these two events are not independent events.
Another example A bag contains balls of two different colours say yellow and
white. Two balls are drawn successively .First ball is drawn from a bag and
replaced after notes its colour. Let us assume that it is yellow and denote this
event by A. Another ball is drawn from the same bag and its colour is noted let
this event denoted by B. Clearly, the result of first draw has no effect on the result
of the second draw. Hence, the events A and B are independent events.
12. Equally likely outcomes: In a certain experiment, if each outcome in the sample
space has the same chance to occur, then we say that the outcomes are equally
likely outcomes.
Addition rule
Suppose that a procedure designated by 1, can be performed in n1 ways. Assume that
second procedure designated by 2 can be performed in n2 ways. Suppose further more
that it is not possible both procedures 1 and 2 are performed together. The number of
ways in which we can perform 1 or 2 procedures is n1 + n2 ways.
Example 4.5 A student can choose a computer project from one of three lists. The
three lists contain 16, 21, and 13 possible projects, respectively. No project is on more
than one list. How many possible projects are there to choose from?
Solution: The student can choose a project by selecting a project from the first list, the
second list, or the third list. Because no project is on more than one list, by the sum rule
there are 16 + 21 + 13 = 50 ways to choose a project.
Example 4.6 Suppose that we are planning a trip and are deciding between bus and
train transportation. If there are 3 bus routes and 2 train routes to go from A to B, find
the available routes for the trip. There are 3 + 2 = 5 possible routes for someone to go
from A to B.
Multiplication Rule
If one event can occur in m ways and a second event can occur in n ways, then the
number of ways the two events can occur in sequence ism × n. This rule can be extended
to any number of events occurring in sequence.
In words, the number of ways that events can occur in sequence is found by multiplying
the number of ways one event can occur by the number of ways the other event(s) can
occur.
Example 4.7 A coin is tossed and a die is rolled. Find the number of outcomes for
the sequence of events.
Solution: Since the coin can land either heads up or tails up and since the die can
land with any one of six numbers showing face up, there are 2 × 6 = 12 possibili-
ties.
Example 4.8 There are four blood types, A, B, AB, and O. Blood can also be Rh+
and Rh−. Finally, a blood donor can be classified as either male or female. How many
different ways can a donor have his or her blood labeled?
Solution: Since there are 4 possibilities for blood type, 2 possibilities for Rh factor, and
2 possibilities for the gender of the donor, there are 4 × 2 × 2 = 16 different classification
categories.
Example 4.9 Assume that a license plate contains two letters followed by three
Solution: Each letter can be printed in 26 ways, and each digit can be printed in 10
ways, so 26.26.10.10.10 = 676000 different plates can be printed.
Exercise 4.1 The access code for a car’s security system consists of four digits. Each
digit can be any number from 0 through 9. How many access codes are possible when
1. each digit can be used only once and not repeated?
2. each digit can be repeated?
3. each digit can be repeated but the first digit cannot be 0 or 1?
Permutation Rule
A permutation is an arrangement of n objects in a specific order.
1. The number of permutations of n objects taken r at a time is given by
n!
n Pr = = n(n − 1)(n − 2) . . . (n − r + 1)
(n − r)!
4!
Solution: 4 P3 = = 24
(4 − 3)!
2. The number of permutations of n distinct objects taken all together is n! Or In
particular, the number of permutations of n objects taken n at a time is
n!
n Pn = = n!
(n − n)!
Example 4.11 In how many ways 4 people are lined up to get on a bus (or to
sit for photo graph)?
Solution: In 4! = 4 ∗ 3 ∗ 2 ∗ 1 = 24 ways.
3. The number of permutation of n objects taken all at a time, when n1 objects are
alike of one kind, n2 objects are alike of second kind, ..., nk objects are alike of
kth kind is given by:
n!
n1 !.n2 !. . . . .nk !
Example 4.12 Find the number of permutations of the letter for the word
"statistics".
Solution: There are 10 letters in the word "statistics" out of which there are 3s’s,
3t’s, 2i’s and 1a’s. So the number of permutiations of the letters of the word
statistics is:
10!
= 50, 400
3!3!2!1!
Exercise 4.2 An artist has created 20 original paintings, and she will exhibit
some of them in three galleries. Four paintings will be sent to gallery A, four to
gallery B, and three to gallery C. In how many ways can this be done?
Example 4.13 RVU Registrar Office want to give identity number for students
by using 4 digits. The number should be considered by the following numbers
only: {0, 1, 2, 3, 4, 5, and 6}. Hence, how many different ID Numbers could be
preferred by the Registrar
(a) Without repeating the number? (b) With repetition of numbers?
Solution: (a) The possible number of ID numbers given for students with out
repeating the digit is
7!
n Pr =7 P4 = = 840 (b) The possible number of ID
(7 − 4)!
numbers given for students with repeating the digit is
nr = 74 = 2401
Exercise 4.3 In how many different ways can a quiz be answered under each of the
following conditions?
1. The quiz consists of three multiple-choice questions with four choices for each.
2. The quiz consists of three multiple-choice questions (with four choices for each)
and five true–false questions.
Combinations Rule
Combination is the selection of objects without regarding order of arrangement. A
combination of n different objects taken r at a time is a selection of r out of n objects,
with no attention given to the order of arrangement.
The
number of combinations of n
n
objects taken r at a time is denoted by the symbol or nCr is given by
r
n n!
=
r r!(n − r)!
Example
4.14 The number of combinations of letter a, b, & c taken two at a time
3 3!
is nCr = = =3
2 2!(3 − 2)!
Exercise 4.4 Suppose in the box 3 red, 3 white and 5 black equal sized balls are
there. We want to draw 3 balls at a time. How many ways do we have from each
type?
Events on set
If A and B are two events then
• A ∪ B the happening of at least event A or B.
• A ∩ B the simultaneously happening of both events A and B.
• A0 or Ac A does not happen (complement of event A)
• Ac ∩ Bc neither A nor B happens
R
• Complementary event P(E c ) = 1 − P(E)
• Addition Law P(A or B) = P(A ∪ B) = P(A) + P(B) − P(A ∩ B)
If A and B are mutually exclusive events, then P(A ∪ B) = P(A) + P(B)
• Multiplication law P(A ∩ B) = P(B)P(A\B) or P(A ∩ B) = P(A)P(B\A)
Example 4.16 Assume there are 2 blue candies, 5 red candies and 3 yellow candy.
Find the probability of the blue candies.
Solution: There are a total of 10 candies. Thus the probability of the blue candies is:
n(B) 2
P(B) = = = 0.2
n(s) 10
Example 4.17 From a production run of 5000 light bulbs, 2% of which are defective,
1 bulb is selected at random. What is the probability that the bulb is defective? What
is the probability that it is not defective?
Exercise 4.5 A fair die is rolling once. What is the probability of getting
(a) Number 4? (b) An odd number?
(c) An even number? (d) Number 8?
Example 4.18 If 1000 tosses of a coin result in 529 heads, the relative frequency of
heads is 529/1000 = 0.529. If another 1000 tosses results in 493 heads, the relative
frequency in the total of 2000 tosses is
529 + 493
= 0.511
2000
According to the statistical definition, by counting in this manner we should
ultimately get closer and closer to a number that represents the probability of a head
in a single toss of the coin. From the results so far presented, this should be 0.5 to one
significant figure.
Exercise 4.6 In a sample of 50 people, 21 had type O blood, 22 had type A blood, 5
had type B blood, and 2 had type AB blood. Find the following probabilities.
(a) A person has type O blood. (c) A person has neither type A nor type
O blood.
(b) A person has type A or type B blood. (d) A person does not have type AB
blood.
Solution:
21 22 5
(a) P(O) = = 0.42 (b) P(A or B) = P(A) + P(B) = + = 0.44 + 0.1 =
50 50 50
0.54
5 2 7
(c) P( neither A nor O) = + = = 0.14
50 50 50
(Neither A nor O means that a person has either type B or type AB blood.)
2 24
(d) P(not AB) = 1 − P(AB) = 1 − = = 0.96
50 25
SUBJECTIVE CONCEPT OF PROBABILITY
If there is little or no experience or information on which to base a probability, it may
be arrived at subjectively. Essentially, this means an individual evaluates the available
opinions and information and then estimates or assigns the probability.
The likelihood (probability) of a particular event happening that is assigned by an
individual based on whatever information is available.
Example 4.19 For a given patient’s health and extent of injuries, a doctor may feel
that the patient has a 90% chance of a full recovery.
Or a business analyst may predict that the chance of the employees of a certain
company going on strike is 0.25.
Estimating the likelihood you will be married before the age of 30.
Conditional Probability
Let there be two events A and B. Then the probability of event A given that the outcome
of event B is given by:
P(A ∩ B) P(A ∩ B)
P(A|B) = or P(B|A) =
P(B) P(A)
where P(A|B) is interpreted as the probability of event A on the condition that event B
has occurred. In this case P(A ∩ B) is the joint probability of event A and B, and P(B) is
not equal to zero.
Example 4.20 120 employees of a certain factory are given a performance test and
are divided in to two groups as those with good performance (G) and those with poor
performance (P) the result is given below
Solution: The probability of a person to be male given that it has a good performance is
P(M ∩ G) 60/120 60
P(M|G) = = = = 0.71
P(G) 85/120 85
Ex. Find the probability of a person to be female given that it has a poor perfor-
mance.
Example 4.21 A jar contains black and white marbles. Two marbles are chosen
without replacement. The probability of selecting a black marble and a white marble
is 0.34, and the probability of selecting a black marble on the first draw is 0.47. What
is the probability of selecting white marble on the second draw, given that the first
marble drawn is black?
Exercise 4.7 1. The probability that it is Friday and that a student is absent is
0.03. Since there are 5 schooldays in a week, the probability that it is Friday is
0.2. What is the probability that a student is absent given that today is Friday?
2. Suppose that an office has 100 calculating machines. Some of them use electric
power (E) while others are manual (M) and some machines are well known (N)
while others are used (U). The table below gives numbers of machines in each
category. A person enter the office picks a machine at random and discovers
that it is new. What is the probability that it is used with electric power?
E M Total
N 40 30 70
U 20 10 30
Total 60 40 100
3. In a firm 20% of the employees have an accounting background, while 5%
of the employees are excutives and have an accounting backgrounds. If an
employee has accounting background, what is the probability taht the employee
is an excutive?
holds a daily subscription also subscribes to the Sunday edition (event S) is 0.75. What
is the probability that a household subscribes to both the Sunday and daily editions of
the newspaper?
Solution: Let D denote the event that a household subscribes to the daily edition, then
. P(D) = 0.84, and P(S|D) = 0.75. Thus,
Hence, 63% of the households subscribe to both the Sunday and daily editions.
Multiplication Law for independent Event: P(A ∩ B) = P(A)P(B)
Example 4.23 A coin is flipped and a die is rolled. Find the probability of getting a
head on the coin and a 4 on the die.
Solution: The sample space for the coin is H, T ; and for the die it is 1, 2, 3, 4, 5, 6.
1 1 1
P(H ∩ 4) = P(H)P(4) = . = = 0.083
2 6 12
Example 4.24 A box contains four black and six white balls. What is the probability
of getting two black balls in drawing one after the other under the following conditions?
a. The first ball drawn is replaced
b. The first ball drawn is not replaced
Exercise 4.8 A contractor is bidding for two projects with company A and company
B. The contractor estimates that the probability of obtaining the project with company
A is 0.45. He also fells that if he should get the project with company A then there
is a 0.90 probability that company B will also give him the project. What are the
contractor’s chances of getting both projects?
5 — Probability Distributions
In the development of a probability function for any discrete random variable, the
following two conditions must be satisfied.
P(x) ≥ 0 (5.1)
∑ P(x) = 1 (5.2)
Solution: Since the sample space is 1, 2, 3, 4, 5, 6 and each outcome has a probability of
1
, the distribution is as shown.
6
Outcomes X 1 2 3 4 5 6
1 1 1 1 1 1
Probability P(X)
6 6 6 6 6 6
When probability distributions are shown graphically, the values of X are placed on the
x axis and the probabilities P(X) on the y axis. These graphs are helpful in determining
the shape of the distribution (right-skewed, left-skewed, or symmetric).
Example 5.3 Represent graphically the probability distribution for the sample space
for tossing three coins.
dist.png dist.png
Note that for visual appearances, it is not necessary to start with 0 at the origin.
Variance
The mean does not describe the amount of spread or variation of a distribuition. The
variance and standard devation allows us to compare the variation in two distribuitions
having the same mean but different spread.
The formula for the variance of a discrete random variable follows.
Example 5.4 A car dealer has established the following probability distribution for
the number of cars he expects to sell on a particular Saturday. Find the variance and
standard devation.
Number of car sold X 0 1 2 3 4
Probability P(X) 0.1 0.2 0.3 0.3 0.1
Solution:
a. No. There are five possible outcomes: freshman, sophomore, junior, senior, and
graduate student.
b. Yes. All four requirements are met.
c. No. Since the cards are not replaced, the events are not independent.
d. Yes. All four requirements are met.
e. No. There can be more than two categories for the answers.
Example 5.6 Suppose that 40% of all customers who enter a department store
make a purchase. What is the probability that 2 of the next 3 customers will make a
purchase?
Example 5.8 A survey from Teenage Research Unlimited found that 30%
of teenage consumers receive their spending money from part-time jobs. If 5
teenagers are selected at random, find the probability that at least 3 of them will
have part-time jobs.
Solution: To find the probability that at least 3 have part-time jobs, it is necessary
to find the individual probabilities for 3, or 4, or 5 and then add them to get the
total probability.
5!
P(3) = (0.3)3 (0.7)2 ≈ 0.132
3!(5 − 3)!
5!
P(4) = (0.3)4 (0.7)1 ≈ 0.028
4!(5 − 4)!
5!
P(3) = (0.3)5 (0.7)0 ≈ 0.002
5!(5 − 5)!
Hence, P(at least three teenagers have part-time jobs) = P(r ≥ 3)
P(r ≥ 3) = P(3) + P(4) + P(5) = 0.132 + 0.028 + 0.002 = 0.162
For binomial probability distribution, the mean (expected value) and variance can
be calculated as:
µ = np and σ 2 = npq
Example 5.9 Suppose that 40% of the people entering a store make a pur-
chase. If 10 people enter the store, find the expected number of people making
a purchase?
Solution: µ = np = 10(0.4) = 4
Exercise 5.2 A given mid-exam contains 10 multiple choice questions, and each
question has four alternatives with one exact answer. Find the probability that the
student exactly answered
(a) 3 questions Ans. P(3) = 0.25
(b) 8 questions Ans. P(8) = 0.00386
(c) At least 3 questions Ans. P(r ≥ 3) = 0.4744
(d) Mean Ans. µ = 2.5, σ 2 = 1.875
µ r e−µ 45 (2.71828)−4
P(r = 5) = = = 0.1563
r! 5!
Example 5.11 Suppose in Tekure Ambessa Hospital, the average new born female
baby in every 24 hour is 7. What is the probability that
text (a) No female babies are born in a day?
(b) Only three female babies are born per day?
(c) 2 female babies are born in 12 hours?
Example 5.12 The avarage number of traffic accidents in Addis Ababa city is 2 per
20 e−2
Solution: (a). µ = 2 =⇒ P(r = 0) = = e−2 = 0.135335283
0!
(b) µ = 4. “At most 3 accidents” means 0, 1, 2, or 3 accidents. Hence
P(r = 0) + P(r = 1) + P(r = 2) + P(r = 3) = 0.0183 + 0.0732 + 0.1464 + 0.1952 =
0.4331
Example 5.13 Ten people apply for a job as assistant manager of a restaurant. Five
have completed college and five have not. If the manager selects 3 applicants at
random, find the probability that all 3 are college graduates.
Example 5.14 A recent study found that 2 out of every 10 houses in a neighborhood
have no insurance. If 5 houses are selected from 10 houses, find the probability that
exactly 1 will be uninsured.
5
Solution:P(r) =
9
µ = population mean
σ = population standard deviation
Characteristics
1. It is bell-shaped and has a single peak at the center of the distribution.
2. The arthimetic mean, median, and mode are equal and located in the center of
distribution.
3. A normal distribution curve is unimodal (i.e., it has only one mode).
4. It is symmetrical about the mean, if we cut the normal curve vertically at the
center value the two halves will be mirror images.
5. The curve is continuous; that is, there are no gaps or holes. For each value of X,
there is a corresponding value of Y.
6. The curve never touches the x axis. Theoretically, no matter how far in either
direction the curve extends, it never meets the x axis—but it gets increasingly
closer.
7. The normal distribution is specified by its mean (µ) and standard devation (σ ).
8. The total area under the curve equals to 1, irrespective of the value of the mean
and the standard devation.
9. The propability that a random variable will have a value between two points is
equal to the area under the curve between these two points.
nd.png nd.png
Step 2 Find the appropriate figure in the Procedure Table and follow the directions given.
Areas under the standard normal distribution curve have been tabulated in various ways.
The most common ones are the areas between Z = 0 and a positive value of Z Given a
normal distributed random variable X with Mean µ and standard deviation σ
a−µ x−µ b−µ
P(a < x < b) = P < <
σ σ σ
a−µ b−µ
=⇒ P(a < x < b) = P <z<
σ σ
Example 5.15 1. The life time of a certain kind of electronic devices have a
mean of 300hr and standard deviation of 25hr. Assuming that the distribution is
normally distributed, what percentages of the electronic device will have life of
;
(a) Between 300hrs and 310hrs.
(b) Between 290hrs and 300hrs.
(c) Less than 310hrs.
(d) Less than 290hrs.
(e) Between 290hrs and 310hrs.
(f) Between 250hrs and 290hrs.
2. A life test on large number of batteries revealed that the mean life time of
batteries before failure is 19hrs, The useful life of the battery follows normal
distribution with a standard deviation of 1.2hrs.
Required
(a) About what two values that 68% of the batteries fail?
(b) About what two values that 95% of the batteries fail?
(c) About what two values that all of the batteries fail?
3. The daily demand for coca-cola in a certain cafeteria is normally distributed
with mean of 200 and standard deviation of 20.
Required
(a) What is the probability that the daily demand on the given day is
i. 200 and 230 bottles?
ii. 190 and 200 bottles?