Professional Documents
Culture Documents
Introduction:
Probability and Statistics
Probability and statistics are concerned with events which occur by chance. Examples
include occurrence of accidents, errors of measurements, production of defective and
nondefective items from a production line, and various games of chance, such as
drawing a card from a well-mixed deck, flipping a coin, or throwing a symmetrical
six-sided die. In each case we may have some knowledge of the likelihood of various
possible results, but we cannot predict with any certainty the outcome of any particu
lar trial. Probability and statistics are used throughout engineering. In electrical
engineering, signals and noise are analyzed by means of probability theory. Civil,
mechanical, and industrial engineers use statistics and probability to test and account
for variations in materials and goods. Chemical engineers use probability and statis
tics to assess experimental data and control and improve chemical processes. It is
essential for today’s engineer to master these tools.
1
Chapter 1
we will deal with it later, but another type of statistics will engage our
attention in this book to a much greater extent. That is inferential statistics or
statistical inference. For example, it is often not practical to measure all the
items produced by a process. Instead, we very frequently take a sample and
measure the relevant quantity on each member of the sample. We infer
something about all the items of interest from our knowledge of the sample.
A particular characteristic of all the items we are interested in constitutes a
population. Measurements of the diameter of all possible bolts as they come
off a production process would make up a particular population. A sample is
a chosen part of the population in question, say the measured diameters of
twelve bolts chosen to be representative of all the bolts made under certain
conditions. We need to know how reliable is the information inferred about
the population on the basis of our measurements of the sample. Perhaps we
can say that “nineteen times out of twenty” the error will be less than a
certain stated limit.
(c) Chance is a necessary part of any process to be described by probability
or statistics. Sometimes that element of chance is due partly or even perhaps
entirely to our lack of knowledge of the details of the process. For example,
if we had complete knowledge of the composition of every part of the raw
materials used to make bolts, and of the physical processes and conditions in
their manufacture, in principle we could predict the diameter of each bolt.
But in practice we generally lack that complete knowledge, so the diameter
of the next bolt to be produced is an unknown quantity described by a
random variation. Under these conditions the distribution of diameters can be
described by probability and statistics. If we want to improve the quality of
those bolts and to make them more uniform, we will have to look into the
causes of the variation and make changes in the raw materials or the produc
tion process. But even after that, there will very likely be a random variation
in diameter that can be described statistically.
Relations which involve chance are called probabilistic or stochastic rela
tions. These are contrasted with deterministic relations, in which there is no
element of chance. For example, Ohm’s Law and Newton’s Second Law
involve no element of chance, so they are deterministic. However, measure
ments based on either of these laws do involve elements of chance, so
relations between the measured quantities are probabilistic.
(d) Another term which requires some discussion is randomness. A random
action cannot be predicted and so is due to chance. A random sample is one
in which every member of the population has an equal likelihood of appear
ing. Just which items appear in the sample is determined completely by
chance. If some items are more likely to appear in the sample than others,
then the sample is not random.
2
Introduction: Probability and Statistics
3
Chapter 1
calculations should be done first. The computer problems are intended to help the
reader apply the fundamental ideas in conjunction with the computer: they are not
“black-box” problems for which the computer (really that means the original pro
grammer) does the thinking. The strong advice of many generations of engineering
instructors applies here: always show your work!
Microsoft Excel has been chosen as the software to be used with this book for two
reasons. First, Excel is used as a general spreadsheet by many engineers and engi
neering students. Thus, many readers of this book will already be familiar with Excel,
so very little further time will be required for them to learn to apply Excel to prob
ability and statistics. On the other hand, the reader who is not already familiar with
Excel will find that the modest investment of time required to become reasonably
adept at Excel will pay dividends in other areas of engineering. Excel is a very
useful tool.
The second reason for choosing to use Excel in this book is that current versions
of Excel include a good number of special functions for probability and statistics.
Version 4.0 and later versions give at least fifty functions in the Statistical category,
and we will find many of them useful in connection with this book. Some of these
functions give probabilities for various situations, while others help to summarize
masses of data, and still others take the place of statistical tables. The reader is
warned, however, that some of these special functions fall in the category of “black
box” solutions and so are not useful until the reader understands the fundamentals
thoroughly.
Although the various versions of Excel all contain tools for performing calcula
tions for probability and statistics, some of the detailed procedures have been
modified from one version to the next. The detailed procedures in this book are
generally compatible with Excel 2000. Thus, if a reader is using a different version,
some modifications will likely be needed. However, those modifications will not
usually be very difficult.
Some sections of the book have been labelled as Extensions. These are very brief
sections which introduce related topics not covered in detail in the present volume. For
example, the binomial distribution of section 5.3 is covered in detail, but subsection
5.3(i) is a brief extension to the multinomial distribution.
The book includes a large number of engineering applications among the solved
problems and problems for the reader to solve. Thus, Chapter 5 contains applications
of the binomial distribution to some sampling schemes for quality control, and
Chapters 7 and 9 contain applications of the normal distribution to such continuous
variables as burning time for electric lamps before failure, strength of steel bars, and
pH of solutions in chemical processes. Chapter 14 includes examples touching on the
relationship between the shear resistance of soils and normal stress.
4
Introduction: Probability and Statistics
The general plan of the book is as follows. We will start with the basics of
probability and then descriptive statistics. Then various probability distributions will
be investigated. The second half of the book will be concerned mostly with statistical
inference, including relations between two or more variables, and there will be
introductory chapters on design and analysis of experiments. Solved problem ex
amples and problems for the reader to solve will be important throughout the book.
A preliminary version of this book appeared in 1997 and has been used in
second- and third-year courses for students in several branches of engineering at the
University of Saskatchewan for five years. Some revisions and corrections were made
each year in the light of comments from instructors and the results of a questionnaire
for students. More complete revisions of the text, including upgrading the references
for Excel to Excel 2000, were performed in 2000-2001 and 2002.