Académique Documents
Professionnel Documents
Culture Documents
Statistics
Professor Philip Protter
1029 SSW; pep2117@columbia.edu; 212-851-2145
Lectures, Week 1
1 / 41
Details
Amsterdam)
Textbook: Probability and Statistics, Fourth Edition, by
2 / 41
# of heads in n tosses
(1)
n
n
Does this limit exist? (Recall from calculus limits need not
exist)
lim
n is odd
lim sup an = 1 and lim inf an = 1
We can never really know the limit in (2); we make an
3 / 41
P(Ai )
i=1
4 / 41
have
P(
i=1 Ai )
P(Ai )
i=1
5 / 41
Counting
In elementary probability, much attention is paid to counting,
6 / 41
need only count (2, 6) and (3, 5), to get 2 events. Then we
double that and add 1 more for (4, 4) to arrive at 5 events
corresponding to the outcome {8}
In more complicated situations, the counting process can be
difficult
In this example, the two dice represent an experiment with
7 / 41
8 / 41
Permutations
denoted Pn,k
9 / 41
Permutations
Theorem: The number of permutations of n elements taken
k at a time is
Pn,k = n(n 1)(n 2) . . . (n k + 1)
Since n! = n(n 1)(n 2) . . . (3)(2)(1), we see that
Pn,k =
n!
(n k)!
(2)
10 / 41
Stirlings Formula
Theorem[Stirlings Formula]:
1
(2) 2 nn+ 2 e n
lim
=1
n
n!
Example:
1
70!
2 2 7070.5 e 70
= 3.940 1035
1
50.5
50
50!
2 2 50 e
See the textbook, Example 1.7.12 on page 31.
11 / 41
Combinations
Now the idea is that we sample k balls from the n in the urn
Pn,k
n!
=
k!
k!(n k)!
There is a more common notation for Cn,k and that is kn .
That is, we have
n
n!
=
k
k!(n k)!
12 / 41
ideas (Chapter 1)
We now begin Chapter 2: Conditional Probability
We have discussed in simple situations how to calculate P(A)
for an event A
Suppose we are told something has happened, call it B; this
B has occurred
This is different from P(A)
If P(B) > 0, then
P(A|B) =
P(A B)
P(B)
13 / 41
Example
14 / 41
The nurse said the test was 99% accurate. She meant
P(TP|A) = 0.99
TP= test positive; A= AIDS
You asked about false positives; she said it was wrong about
15 / 41
very different
P(A|TP) =
P(A TP)
;
P(TP)
P(TP|A) =
P(A TP)
= 0.99
P(A)
= 0.0035 = P(A)
Therefore
P(A TP) =
P(ATP)
P(A) P(A)
16 / 41
around 7%
Suicide is not indicated
The number of mistakes involving not understanding
17 / 41
n
X
P(B|Ai )P(Ai )
i=1
P(B ) = P(B|)P()
P(B) = P(B
(ni=1 Ai ))
P(ni=1 B
Ai ) =
n
X
P(B Ai )
i=1
18 / 41
Bayes Theorem
Then
P(B|Ai )P(Ai )
P(Ai |B) = Pn
i=1 P(B|Ai )P(Ai )
19 / 41
Independence
Conditional probability and Independence are both new ideas
20 / 41
P(A|B) = P(A)
P(A B)
= P(A) assuming P(B) > 0
P(B)
(3)
P(A B) = P(A)P(B)
(4)
21 / 41
(5)
Events
22 / 41
Random Variables
We are familiar with the concept of a variable; from algebra,
23 / 41
24 / 41
variable
25 / 41
26 / 41
advance, and its outcome is random, but that does not mean
we know nothing about it!
For example, we know that most coins have P(Heads) 21 ;
1
6
27 / 41
28 / 41
where q = 1 p = P(Tails)
P(Y = 10) = 10pq 9 , where the 10 comes from the fact that
word distribution
29 / 41
called a parameter
Once we know p we know the entire distribution of the
y x
30 / 41
31 / 41
An Example
Let X = the number of tosses needed until Heads appears for
F (k) =
p(y ) =
y k
k
X
y =1
y 1
(1 p)
k1
k1
X
X
y
p=p
(1 p) = p
qy
y =0
y =0
where q = 1 p
32 / 41
Pk1
y =0 q
geometric form:
n
X
i =
i=1
1 n+1
for 0 < < 1
1
We use this and the result from the previous slide that
F (k) = p
Pk1
F (k) = p
1 qk
1 qk
= (1q)
= 1q k for k a positive integer
1q
1q
y =0 q
to get
33 / 41
34 / 41
35 / 41
0<p<1
Then Y is said to have a Binomial Distribution
There are two parameters, p and n
We have already calculated (in Lecture 4) the distribution of
Y when it is B(10, p)
The general formula is
n k nk
P(Y = k) =
p q
for 0 k n and q = 1 p
k
36 / 41
Distribution
A random variable X has a Poisson Distribution with
parameter > 0 if
k
e
for k = 0, 1, 2, . . .
k!
P
We know that we must have
k=0 P(X = k) = 1
We also know from calculus (sorry second semester) that
P(X = k) =
e =
X
xk
k=0
k!
37 / 41
38 / 41
39 / 41
Densities
Suppose that F is not only continuous, but differentiable, and
f (x)dx
Z
P(a < X b) =
f (x)dx
a
40 / 41
Densities II
The function f = F 0 is called the density corresponding to
1
if A x B and 0 otherwise
B A
f (x) =
1
sin(x) for 0 x and 0 otherwise
2
41 / 41