Académique Documents
Professionnel Documents
Culture Documents
NB-:8E:
%. -he mean is the a!erage !alues
(. :f the Data are for a sample " the mean is enote 5y x
An if the ata are for the Population" the mean is enote 5y
(
(
< =
i
x
N
:
Stan-ar- De@iation*
Stan-ar- De@iation*
Population stanar e!iation:
G
(
7D The num$er of com$inations " su5sets of si?e r that can 5e selecte from a set
of n elements is enote
n
r
or
n
r
C
J
J< =J
n
r
r
n
C
n r n r
= =
E'amp#e* Crom a es0 of ,; cars ra2 & at ranom. Ho2 many ifferent 2ays
ra2ingK
E'amp#e* A 5atch of %;# semiconuctors chips is inspecte 5y choosing a
sample of fi!e chips. Assume %# of the chips o not conform to customer
re6uirements
aA Ho2 many ifferent samples are possi5le K
5A Ho2 many samples of fi!e contain e3actly one nonconforming chipK
E&ua##y )i(e#y %utcomes* -he Pro5a5ility of an outcome can 5e interprete as our
su5Lecti!e pro5a5ility or -egree of $e#ief" that the outcome 2ill occur. Whene!er a
sample space consists N possi5le outcomes that are e6ually li0ely" the pro5a5ility of
each outcome is %AN
7.4 Pro$a$i#ity of a e@ent
>or a -iscrete samp#e space; the pro$a$i#ity of an e@ent E ; -enote $y P.E3 ;
e&ua#s the sum of pro$a$i#ities of the outcomes in E.
>or e@ery A in samp#e space; P.A3 :
m
n
!here m is the num$er of the
outcomes ha@ing e@ent A to appear an- n is the sum of possi$#e outcomes .
Assigning Pro$a$i#ity
Pro$a$i#ity is a num5er that is assigne to each mem5er of a collection of e!ents
from a ranom e3periment that satisfies the follo2ing properties:
%A P<1= G %
(A # P<E= %
&ACor t2o e!ents
% (
E E G
( )
% ( % (
<E E =GP<E = 9 P E P
Some e'amp#es at c#ass
E'amp#e 1* Thro+ a -ice into the p#ane ran-om#y. >in- the pro$a$i#ity of the
e@ent* the si-e of si' points occurs.
Solution: Denote the e!ent 2e are intereste in 5y AM -he num5er of elements of
iscrete sample space is ' an the pro5a5ility of each outcome is %A'. 1o P<A= G %A'
E'amp#e 4* >rom a -es( of 54 car-s -ra+ three at ran-om. >in- the pro$a$i#ity
that there +i## $e e'act#y one ace among them.
Solution: Denote the e!ent 2e are intereste in 5y AM -he num5er of elements of
iscrete sample space is
,(
&
C . -he num5er of 2ays ra2ing one ace is
;
%
C . -he
num5er of 2ays ra2ing ( others cars < is not ace = is
;/
(
C . -hat means the num5ers
of 2ays ha!ing A to appear shall 5e
; ;/
% (
. C C . 1o " P<A= G
; ;/
% (
,(
&
. C C
C
E'amp#e /* There are / peop#e going in a #ift of a $ui#-ing +hich contains 6 f#oors
to rent the room an- each peop#e go out ran-om#y each f#oor. >in- the
pro$a$i#ity of the e@ent*
AD / peop#e go out at the same f#oor
BD Each peop#e go out at the -ifferent f#oor
CD A## peop#e go out at the 6th f#oor
E'amp#e 7* Samp#ing +ithout "ep#acement
A $in of 52 manufacture- parts contains / -efecti@es parts. A samp#e of 8 parts is
se#ecte- from this $in +ithout rep#acement . >in- the pro$a$i#ity of the e@ent in a
samp#e has e'act#y 4 -efecti@e parts
7./ Some Basic "e#ationships of pro$a$i#ity
A--ition )a+
Union of t+o e@ents* *nion of t2o e!ents A an B is shae in &-th figure a5o!e" that
means A appear or A appear
Intersection of t+o e@ents* :ntersection of A an B is shae in ;-th figure a5o!e" that
means A appear an B also appear
A--ition )a+*
< = < = < = < = P A B P A P B P A B = +
NB-:8E: :f A an B are e3clusi!e e!ents then
< = < = < = P A B P A P B = +
Some e'amp#es at c#ass
B
A
A
B
B
A
B
A
B
A
A
A B A B A B A B A N B
A
c
G N A
NA
Con-itiona# Pro$a$i#ity
Cor any gi!en e!ent A an B" the pro$a$i#ity of the e@ent A appeare- +ith the
con-ition e@ent B appear is the ratio:
< =
< O =
< =
P A B
P A B
P B
=
-he pro5a5ility of e!ent B appeare 2ith the conition e!ent A appeare is efine 5y
similar 2ays
Some e'amp#es
In-epen-ent E@ents* -2o e!ents A an B are inepenent if
< O = < = P A B P A =
or
< O = < = P B A P B =
Mu#tip#ication )a+
Multiplication 7a2:
< = < = < O = P A B P B P A B =
Br
< = < = < O = P A B P A P B A =
NB-:8E: :f A an B are t2o :nepenent e!ents then
< = < = < = P A B P A P B =
T%TA) P"%BABI)ITC "U)E
A collection of sets E
%
" E
(
" @" E
0
such that E
%
E
(
E
0
G 1 is sai to 5e
e'c#usi@e
Assume E
%
" E
(
" @" E
0
are 0 mutually e3clusi!e an e3hausti!e e!ents . -hen
% % ( (
%
< = < O = < = < O = < = ... < O = < =
< O = < =
k k
k
i i
i
P B P B E P E P B E P E P B E P E
P B E P E
=
= + + +
=
Some e'amp#es at c#ass
:n the case only t2o e!ents A
%
an A
(
2e ha!e
BACESES THE%"EM
% % % %
%
% % ( (
< = < O = < = < O =
< O =
< = < = < O = < = < O =
P A P B A P A P B A
P A B
P B P A P B A P A P B A
= =
+
Some e'amp#es at c#ass
Using E'ce# to compute Posterior Pro$a$i#ities
E3ample in page %/$
CHAPTE" 5
DISC"EETE P"%BABI)ITC
DIST"IBUTI%NS
5.1 "an-om ?aria$#es
Discrete "an-om ?aria$#es* A ranom Faria5le that may either a finite num5er or an
infinite se6uences of !alues such as %"( "@
EIAMP7E:
E'periment "an-om ?aria$#e Possi$#e ?a#ues
%. 8ontact fi!e Num5er of 8ostumers #.%.(@,
costumers @
(. Bperate a restaurant Num5er of 8ostumers #"%"("@.
Continuous "an-om ?aria$#es* A ranom !aria5le that may assume any numerical
!alue in an inter!al or collection of inter!als
EIAMP7E:
E'periment "an-om ?aria$#e Possi$#e ?a#ues
%. Bperate a Ban0 -ime 5et2een customer 3 #
arri!als in minutes
(. -est a ne2 chemical -emperature < min %,#
#
C %,# 3(%(
process an ma3 (%(
#
C=
5.4 Discrete Pro$a$i#ity Distri$utions
-he Pro$a$i#ity Distri$ution for a ranom !aria5le escri5es ho2 pro5a5ilities are
istri5ute o!er the !alues of the ranom !aria5le .
Cor a iscrete ranom !aria5le 3" the Pro5a5ility Distri5ution is efine 5y a
pro$a$i#ity function enote 5y f<3=
NB-:8E: )e6uire conitions for a Discrete Pro5a5ility Cunction
f<3= # an
< = % f x =
Some e'amp#es
Using E'ce# to compute the E'pecte- ?a#ue; ?ariance an- Stan-ar- De@iation
E<I=G1*MP)BD*8-<3
%
:3
n
"f<3
%
=.f<3
n
==
5.7 Binomia# Pro$a$i#ity Distri$ution
A Binomia# E'periment*
%. -he e3periment consists of n ientical trials
(. Bnly t2o outcomes are possi5le on each trial" one success" the other failure
&. -he pro5a5ility of a success enote 5y p" oes not change from trial to trial
;. -he trials are inepenent
7et I 5e the num5er of success in n Binomial E3periments. I is calle the
Binomial )anom Faria5le
The Binomia# Pro$a$i#ity >unction
< =
< = <% =
x n x
n
f x p p
x
=
Using E'ce# to compute Binomia# Pro$a$i#ities
B:NBMD:1-<3"n"p"CA71E=G
< =
< = <% =
x n x
n
f x p p
x
=
E3pecte Falue an Fariance for the Binomial Distri5ution
(
< =
< = <% =
E x np
Var x np p
= =
= =
Some e'amp#es at c#ass
5.5 Poisson Pro$a$i#ity Distri$ution
Poisson E'periment*
1.-he pro5a5ility of an occurrence is the same for t2o inter!als of e6ual length
4. -he occurrence or non-occurrence in any inter!al is inepenent of the
occurrence or non-occurrence in any other inter!al
Poisson Pro$a$i#ity >unction
< =
J
x
e
f x
x
=
2here
= :PB:11BN<3"
"CA71E=
5.8 Hypergeometric Pro$a$i#ity Distri$ution
>rom a set of n e#ements +hich contains r e#ements +ith the property A ta(e a
samp#e N e#ements at ran-om. )et F $e the e'act#y ' e#ements +ith property A
among the samp#e. F is ca##e- to $e a Hyper ,eometric Distri$ution ran-om
@aria$#e
Hypergeometric Pro$a$i#ity >unction*
< =
x n x
r N r
n
N
r N r
x n x C C
f x
N C
n
= =
.for # 3 r=
Some e'amp#es an- using E'ce# to compute Hypergeometric Pro$a$i#ities
< =
x n x
r N r
n
N
r N r
x n x C C
f x
N C
n
= =
:H4PPEBMD:1-<3"N"r"n=
CHAPTE" 8
C%NTINU%US P"%BABI)ITC
DIST"IBUTI%NS
8.1 The Pro$a$i#ity Density >unction
Cor e!ery )anom !aria5le I " a funcion f<3= shall 5e calle Pro5a5ility Density
function if it satisfies the follo2ing conitions
iA f<3= # for any 3
iiA
< = % f x dx
+
iiiA
< = < = P X f x dx
;
(
3*
(
(
< =
(
%
< =
(
x
f x e
=
Stan-ar- Norma# Pro$a$i#ity Distri$ution N.2;13
Stan-ar- Norma# Density >unction*
(
(
%
< =
(
x
f x e
=
NB-:8E: Area as a Measure of Pro$a$i#ity
Because 2e ha!e
< = < = P X f x dx
so"
< = P X
is the Area uner the cur!e
of the f<3= 2hen
x
Computing Pro$a$i#ities for any Norma# Pro$a$i#ity Distri$ution
Theorem* :f I has the Normal Distri5ution N<
(
< " = N then
-hen
x
< = =
=G #.+,/# < 5y using 1tanar Normal Pro5a5ility
-a5le =
1o that " P< I ;#"### = G %- P< I R ;#"### = G %- #.+,/# G #.(;(#
Using E'ce# to compute Norma# Pro$a$i#ities
Some e'amp#es at c#ass*
f<3=GNB)MD:1-<3"
"
"CA71E=
Cor fining the !alue 3 if
< = x
G p 2e use 3 G NB)M1:NF<p=
CHAPTE" 6
SAMP)IN, I SAMP)IN,
DIST"IBUTI%NS
6.1 Se#ecting a Samp#e
Simp#e "an-om samp#e* A 1imple )anom sample of si?e n from a finite
population of si?e N is a sample selecte such that each possi5le sample of si?e n has
the same pro5a5ility of 5eing selecte
Some E'amp#es*
6.4 Point Estimation
-o estimate the !alue of a population parameter" 2e ha!e to compute a corresponing
characteristic of the sample" referre to as a Samp#e Statistic
-he Point Estimation of
is
i
x
x
n
=
"
-he Point Estimation of
is
(
%
< =
%
n
i
i
x x
s
n
=
an finite !ariance
(
then
A
X
=
as n
=
E'amp#es
:f np S , an n<%-p= S , " the sample proportion
p
can 5e appro3imate 5y
Normal Distri5ution function
CHAPTE" =
INTE"?A) ESTIMATI%N
An inter!al estimate for a population parameter is calle a conJ-ence inter@a#. We
cannot 5e certain that the inter!al contains the true" un0no2n population parameterT
2e only use a sample from the full population to compute the point estimate an the
inter!al. Ho2e!er" the conUence inter!al is constructe so that 2e ha!e high
conUence that it oes contain the un0no2n population parameter. 8onUence
inter!als are 2iely use in engineering an the sciences.
=.1 C%N>IDENCE INTE"?A) %N THE MEAN %> A N%"MA)
DIST"IBUTI%N; ?A"IANCE KN%!N
If x is the samp#e mean of a ran-om samp#e of siAe n from a norma# popu#ation
+ith (no+n @ariance
4
; a 122.1
3L CI on is gi@en $y
A ( A (
A A x ! n x ! n
+
!here
A (
!
3L CI on is gi@en $y
A ( A (
A A x t s n x t s n
+
!here
A (
t
;
E'amp#es
=/ C%N>IDENCE INTE"?A) %N THE ?A"IANCE AND STANDA"D
DE?IATI%N %> A N%"MA) DIST"IBUTI%N
7et I
%
" I
(
"@" I
n
5e a ranom sample from a normal istri5ution 2ith un0no2n
!ariance
(
. :f s
(
is the sample then a 122.1
3L confi-ence inter@a# on
(
is
( (
(
( (
A(" % % A(" %
< %= < %=
n n
n s n s
2here
(
A(" % n
an
(
% A(" % n
are the upper an the lo2er %## A ( percentage points
of the chi-s6uare istri5ution 2ith <n-%= egrees of freeom " respecti!ely . A
confi-ence inter@a# for
has the lo2er an upper limits that are s6uare root of the
corresponing limits in a5o!e e6uation
E'amp#es
=.7 A )A",ESAMP)E C%N>IDENCE INTE"?A) >%" A
P%PU)ATI%N P"%P%"TI%N
:f
p
is the proportion of o5ser!ation in a ranom sample of si?e n that 5elong to a
class of interest " an appro'imate 122.1
=
:f notice that p<%-p= #.(, 2e shall ha!e
(
A (
< = #.(,
!
n
E
=
Some e'amp#es
CHAPTE" <
HCP%THESIS
TESTS
<.1 HCP%THESIS TESTIN,
:n the pre!ious chapter 2e illustrate ho2 to construct a confience inter!al estimate of a
parameter from sample ata. Ho2e!er" many pro5lems in engineering re6uire that 2e
ecie 2hether to accept or reLect a statement a5out some parameter. -he statement is
calle a hypothesis" an the ecision-ma0ing proceure a5out the hypothesis is
calle hypothesis testing. -his is one of the most useful aspects of statistical inference"
since many types of ecision-ma0ing pro5lems" tests" or e3periments in the engineering
2orl can 5e formulate as hypothesis-testing pro5lems. Curthermore" as 2e 2ill see"
there is a !ery close connection 5et2een hypothesis testing an confience inter!als.
1tatistical hypothesis testing an confience inter!al estimation of parameters are the
funamental methos use at the ata analysis stage of a comparati!e e3periment" in
2hich the engineer is intereste" for e3ample" in comparing the mean of a population to a
specifie !alue. -hese simple comparati!e e3periments are fre6uently encountere in
)EA"NIN, %BNECTI?ES
practice an pro!ie a goo founation for the more comple3 e3perimental esign
pro5lems that 2e 2ill iscuss in 8hapters %& an %;. :n this chapter 2e iscuss
comparati!e e3periments in!ol!ing a single population" an our focus is on testing
hypotheses concerning the parameters of the population.
We no2 gi!e a formal efinition of a statistical hypothesis.
A statistica# hypothesis is a statement a$out the parameters of one or more
popu#ations
Cor e3ample" suppose that 2e are intereste in the 5urning rate of a soli propellant use to
po2er aircre2 escape systems. No2 5urning rate is a ranom !aria5le that can 5e
escri5e 5y a pro5a5ility istri5ution. 1uppose that our interest focuses on the mean
5urning rate <a parameter of this istri5ution=. 1pecifically" 2e are intereste in eciing
2hether or not the mean 5urning rate is ,# centimeters per secon. We may e3press this
formally as
H
#
:
=
,# centimeters per secon
H
%
:
,# centimeters per secon
-he statement H
#
:
= =
,# centimeters per secon in E6uation $-% is calle the
null hypothesis" an the statement H
%
:
,# centimeters per secon is calle the
alternati!e hypothesis. 1ince the alternati!e hypothesis specifies !alues of that coul 5e
either greater or less than ,# centimeters per secon" it is calle a t+osi-e- a#ternati@e
hypothesis. :n some situations" 2e may 2ish to formulate a onesi-e- a#ternati@e
hypothesis; as in H
%
:
,# >
centimeters per secon" or
,# <
centimeters per secon
Tests of Statistica# Hypothesis
-he sample mean can ta0e on many ifferent !alues. 1uppose that if ;/., 3 ,%.," 2e
2ill not reLect the null hypothesis H#: ,# " an if either 3 ;/., or 3 ,%.," 2e 2ill
reLect the null hypothesis in fa!or of the alternati!e hypothesis H%: ,# . -his is
illustratin Cig. $-%. -he !alues of 3 that are less than ;/., an greater than ,%., constitute
the criticalregion for the test" 2hile all !alues that are in the inter!al ;/., 3 ,%., form a
region for 2hich 2e 2ill fail to reLect the null hypothesis.
By con!ention" this is usually calle the acceptance region. -he 5ounaries 5et2een
the critical regions an the acceptance region are calle the critical !alues. :n our e3ample
the critical !alues are ;/., an ,%.,. :t is customary to state conclusions relati!e to the null
hypothesis H
#
. -herefore" 2e reLect H
#
in fa!or of H%
if the test statistic falls in the critical region an fail to reLect "
#
other2ise
"eOecting the nu## hypothesis H
2
+hen it is true is -efine- as a type I error
>ai#ing to reOect the nu## hypothesis H
2
+hen it is fai#se is -efine- as a type II error
=
:f the null hypothesis "
#
:
#
=
is true" EIG
#
" an it follo2s that the istri5ution of
#
is the stanar normal istri5ution Wenote N<#" %=X. 8onse6uently" if "
#
:
#
=
is
true" the
pro5a5ility is %-
an
A(
2here
A(
is the
%## A
( percentage point of the stanar normal istri5ution. -he regions
associate 2ith
-
A(
an
A(
or
#
R
A(
2hen "
#
:
#
=
is
true. 8learly" a sample
proucing a !alue of the test statistic that falls in the tails of the
istri5ution of
#
2oul 5e unusual if "
#
:
#
=
is trueM therefore" it is an inication that
"
#
is false. -hus" 2e shoul reLect "
#
if the o5ser!e !alue of the test statistic Y
#
is
either
#
R
-
A(
or
#
S
A(
<$-$=
an 2e shoul fail to reLect "
#
if -
A(
#
R
A(
<$-%#=
EFAMP)E
Aircre2 escape systems are po2ere 5y a soli propellant. -he 5urning rate of this
propellant is an important prouct characteristic. 1pecifications re6uire that the mean
5urning rate must 5e ,# centimeters per secon. We 0no2 that the stanar e!iation of
5urning rate is ( centimeters per secon. -he e3perimenter ecies to specify a type :
error pro5a5ility or significance le!el of #.#, an selects a ranom sample of n =
(, an o5tains a sample a!erage 5urning rate of x = ,%.& centimeters per secon.
What conclusions shoul 5e ra2nK
Solution:
We may sol!e this pro5lem 5y follo2ing the eight-step proceure outline in 1ection $-
%.;. -his results in
1.-he parameter of interest is
=
8. )eLect "
#
if !
#
> %.$' or if !
#
< - %.$'. Note that this results from step ;"
2here 2e specifie #.#, = " an so the 5ounaries of the critical region are at
A(
!
=
!
#.#(,
= %.$'
6. 8omputations: 1ince
x =
,%.& an
= ("
#
! =
#
,%.& ,#
&.
(. (,
!
= =
(,
=. 8onclusion: 1ince !
#
G
&.(, > %.$'" 2e reLect "
#
:
=
,# at the #.#,
le!el of
significance. 1tate more completely" 2e conclue that the mean 5urning rate
iffers from ,# centimeters per secon" 5ase on a sample of (, measurements. :n fact"
there is strong e!ience that the mean 5urning rate e3cees ,# centimeters per secon.
We may also e!elop proceures for testing hypotheses on the mean 2here the
a#ternati@e hypothesis is onesi-e-. 1uppose that 2e specify the hypotheses as
H
#
:
#
=
H
%
:
#
<
:n efining the critical region for this test" 2e o5ser!e that a negati!e !alue of the test
statistic
#
2oul ne!er lea us to conclue that "#:
#
=
is false. -herefore" 2e
2oul place the critical region in the upper tai# of the stanar normal istri5ution an
reLect "
#
if the compute !alue of !
#
is too large. -hat is" 2e 2oul reLect "
#
if
?
#
S ?
as sho2n in Cigure $-'<5=. 1imilarly" to test
H
#
:
#
=
H
%
:
#
<
2e 2oul calculate the test statistic
#
an reLect "
#
if the !alue of !
#
is too small. -hat
is" the critical region is in the #o+er tai# of the stanar normal istri5ution as
sho2n in Cigure $-'<c=" an 2e reLect "
#
if
?
#
R - ?
<.5 P%PU)ATI%N MEAN %> A N%"MA) DIST"IBUTI%N;
UNKN%!N
We no2 consier the case of hypothesis testing on the mean of a population 2ith
un(no+n @ariance (. -he situation is analogous to 1ection /-&" 2here 2e
consiere a confi-ence inter@a# on the mean for the same situation. As in that section"
the !aliity of the test proceure 2e 2ill escri5e rests on the assumption that the
population istri5ution is at least appro3imation Normal
-he important result upon 2hich the test proceure relies is that if X
%
" X
(
"@ " I
n
is a
ranom sample from a normal istri5ution 2ith mean
an !ariance
(
.
No2 consier testing the hypotheses
H
#
:
#
H
%
:
#
We 2ill use the 1tatistic:
Test Statistics
#
#
A
X
#
$ n
=
:f the null hypothesis is true" #
#
has a t istri5ution 2ith n%% egrees of freeom. When
2e 0no2 the istri5ution of the test statistic 2hen "
#
is true <this is often calle the
reference -istri$ution or the nu## -istri$ution=" 2e can locate the critical region to
control the type : error pro5a5ility at the esire le!el. :n this case 2e 2oul use the t
percentage points t
A
("n% %
an t
A
("n% %
as the 5ounaries of the critical region so that
2e 2oul reLect "
#
:
#
if t
#
R t
A
("n% % or
t
#
S t
A
("n% %
<.5 P%PU)ATI%N P"%P%"TI%N
The pro$#ems: H
#
: p p
#
H
#
: p p
#
H
#
: p p
#
H
a
: p R p
#
H
a
: p S p
#
H
a
: p
p
#
Test Statistics
#
# #
<% =
p p
p p
n
EFAMP)E
CHAPTE" 12
SIMP)E )INEA" "E,"ESSI%N
1. Simp#e )inear "egression Mo-e#
)EA"NIN, %BNECTI?ES
*sing regression analysis" 2e can e!elop an e6uation sho2ing ho2 the epenent
!aria5le y is relate to the inepenent !aria5le 3
1imple 7inear regression e6uation
# %
< = E y x = +
Simp#e )inear regression e&uation
# %
V y b b x = +
12.1 )EAST SBUA"ES METH%D
E'amp#e* Stu-ent Popu#ation . Ta$#e 14.1 ; p 7<73
# %
V
i i
y b b x = +
V
i
y =
estimate !alue of 6uarterly sales < Z %###= for the ith restaurant
#
b =
the y intercept of the estimate regression line
%
b =
the slope of the estimate regression line
i
x =
si?e of the stuent population < Z %###= for the restaurant
S#ope an- yIntercept for the Estimate- "egression E&uation
(
#
< =< =
< =
i i
i
i
i
x x y y
b
x x
b y b x
=