Chap 2
Chap 2
n!
P (r; n) = pr (1 − p)n−r . (1)
r!(n − r)!
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 1
' $
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 2
' $
Experiment
• Intuitively one expects that if the coin experiment was
repeated with new sequences tosses, then one should
obtain a different estimate for p.
• Hence, instead of stating the result of the experiment in
terms of a single number p̃ one could give an interval
estimate [p1 , p2 ] for the parameter p.
• The faith that p lies within [p1 , p2 ] could then be
expressed by a confident level.
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 3
' $
Definition of Probabilities
• Physicist do not agree about the best way to define
probability!
• Frequentist versus Bayesian.
• In this course we will use the frequency approach.
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 4
' $
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 5
' $
Definitions
Set The concept of a set is used to denote a collection of
objects with some common properties.
Element An object which belongs to a set A is said to be
an element of A.
Subset If every element of the set B is also an element of
the set A, we say the B is a subset of A.
Complement In a sample space Ω, the complement Ā is
the set of all elements in Ω that do not belong to A.
Union A ∪ B is the set of element that belong to A or B,
or both.
Intersection A ∩ B is the set of element that belong to A
and B. Use P (AB) ≡ P (A ∩ B).
1111111
0000000
0000000
1111111
0000000
1111111
0000000
1111111
0000000
1111111
0000000
1111111
A 0000000
1111111
0000000
1111111
0000000
1111111
0000000
1111111
B
0000000
1111111
Venn Diagram
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 6
' $
Rules
Axioms
• P (E)Ω = 1
• P (A) ≥ 0
• P (A + Ā) = 1
N (A) N (B) N (AB)
• P (A) = N (E) P (B) = N (E) P (AB) = N (E)
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 7
' $
Conditional Probability
P (AB)
P (B|A) =
P (A)
• Assume
X
n
E= Ai
i=1
• Then
X
n
P (B) = P (EB) = P (AB) = P (Ai )P (B|Ai )
i=1
E
A3 A4
A2 A5
A1 An
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 8
' $
Bayes Theorem
• Consider 1) A1 · · · An a partition of E and 2) B an
event of A.
• Then for 1 ≤ k ≤ n fixed
P (Ak B)
P (Ak |B) =
P (B)
Then
P (B|Ak )P (Ak )
P (Ak |B) =
P (B)
Finally
P (B|Ak )P (Ak )
P (Ak |B) = Pn
i=1 P (B|Ai )P (Ai )
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 9
' $
Bayesian Approach
An important school of statistical theory, in which statistics is
derived from a probability interpretation that includes the
degree of belief in an hypothesis. It thus refers not only to
repeatable measurements (as does the frequentist
interpretation). The interpretation of data can be described by
Bayes Theorem for an hypothesis H and experimental data d.
P (d|H)P (H)
P (H|d) = (7)
P (d)
Bayesian meaning of the different terms:
INDEPENDENCE IMPLIES:
P (AB) = P (A) P (B)
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 11
' $
1 2 3
Relay Network
Question: The probability for the closing of each relay in
the circuit is some given number α. Assuming all relays act
independantly, find the probability for the flow of a current
between the terminal.
Hint: The current will flow (event E) if it can go in the
branch: i.e. E = E1 .and.E2 .and.E3 .
Rules: P (E) = P (E1 ∩ E2 ∩ E3 ).
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 12
' $
2 3
Relay Network
Question: The probability for the closing of each relay in
the circuit is some given number α. Assuming all relays act
independantly, find the probability for the flow of a current
between the terminal.
Hint: The current will flow if it can go in one of the branch.
Rules: The current will flow if the condition E = E1 .or.(E2 .and.E3 )
is satistied; i.e. P (E) = P (E1 ∪ [E2 ∩ E3 ]).
P (E) = P (E1 )+P (E2 ) P (E3 )−P (E1 ) P (E2 ) P (E3 ) = α+α2 −α3 .
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 13
' $
Example: Coincidence
Suppose the Cerenkov light, from particles traversing a
Cerenkov counter along their path, is detected by a
spherical arrangement of phototubes as illustrated in
Figure 1. In order to discriminate against accidental
triggering of the system, it is desirable to observe
coincidences between the signals from several phototubes.
Assume all phototubes to act independently. If the event E
of having a signal from one phototube corresponds to a
probability P (E) = ǫ = 0.93.
(a) What is the probability for the detection of the
Cerenkov light by all nine independent phototubes (c.f.
Figure 1a)?
(b) What is the probability for the detection of the
Cerenkov light when the tubes are grouped together three
by three (c.f. Figure 1b)? Each group is activated if at least
one of the tubes in the group has a signal.
(c) Which experimental set-up gives the largest detector
efficiency?
Ref: Probability and Statistics in Partcile Physics (Frodesen et al.)
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 14
' $
OR
& %
c
Computational Physics - Phys 75.487/502 °Alain Bellerive - Carleton University 15