Docsity

PROBABILITY FACTS CHEAT SHEET different permutations ..., Exercises of Law

Toggle sidebar
bg1
PROBABILITY FACTS CHEAT SHEET
Fact.
(
Basic Counting Principle
) Suppose 2 experiments are to be performed.
If one experiement can result in
m
possibilities
Second experiment can result in
n
possibilities
Then together there are
mn
possibilities
Fact.
If
r≤n
, then
n
r=n!
(n−r)!r!
and say
n
choose
r
, represents the number of possible
combinations
of objects taken
r
at a time.
(
?
) Order DOES NOT Matter her
•
With
n
objects. There are
n(n−1) ···3·2·1 = n!
dierent
permutations
of the
n
objects.
•
Binomial Theorem:
(x+y)n=Pn
k=0 n
kxkyn−k
•
Probability
will be a rule given by the following Axioms (Laws that we all agree on)
Let
S
be a sample space.
A probability will be a function
P(E)
where the input is a set/event
E⊂S
such that
Axiom 1:
0≤P(E)≤1
for all events
E
.
Axiom 2:
P(S)=1
.
Axiom 3:
(disjoint property) If the events
E1, E2, . . .
are pairwise disjoint/mutually exclusive
then
P ∞
[
i=1
Ei!=
∞
X
i=1
P(Ei).
∗
Mutually exclusive means that
Ei∩Ej=∅
when
i6=j
.
Proposition 1.
(a)P(∅) = 0
(b)
If
A1, . . . , An
are pairwise disjoint,
P(∪n
i=1Ai) = Pn
i=1 P(Ai)
.
(c)
P(Ec)=1−P(E)
.
(d) If
E⊂F,
then
P(E)≤P(F)
.
(e)
P(E∪F) = P(E) + P(F)−P(E∩F)
.
•
We say
E
and
F
are
independent events
if
P(E∩F) = P(E)P(F).
•P(E|F) = P(E∩F)
P(F)
and
P(A∩B) = P(A)P(B|A)
•
The Law of Total Probability:
If
F1, . . . , Fn
are mutually exclusive events such that they make
up everythinn
S=Sn
i=1 Fi
then
P(E) =
n
X
i=1
P(E|Fi)P(Fi).
•
Bayes' formula:
If
S=Sn
i=1 Fi
, for any any
j
,
P(Fj|E) = P(E|Fj)P(Fj)
Pn
i=1 P(E|Fi)P(Fi).
1
pf3
pf4

Partial preview of the text

Download PROBABILITY FACTS CHEAT SHEET different permutations ... and more Exercises Law in PDF only on Docsity!

Fact. (Basic Counting Principle) Suppose 2 experiments are to be performed. If one experiement can result in m possibilities Second experiment can result in n possibilities Then together there are mn possibilities

Fact. If r ≤ n, then ( n r

n! (n − r)!r!

and say n choose r, represents the number of possible combinations of objects taken r at a time. (?) Order DOES NOT Matter her

  • With n objects. There are n (n − 1) · · · 3 · 2 · 1 = n! dierent permutations of the n objects.
  • Binomial Theorem: (x + y)n^ =

∑n k=

n k

xkyn−k

  • Probability will be a rule given by the following Axioms (Laws that we all agree on)  Let S be a sample space.  A probability will be a function P (E) where the input is a set/event E ⊂ S such that  Axiom 1: 0 ≤ P (E) ≤ 1 for all events E.  Axiom 2: P (S) = 1.  Axiom 3: (disjoint property) If the events E 1 , E 2 ,... are pairwise disjoint/mutually exclusive then

P

i=

Ei

∑^ ∞

i=

P (Ei).

∗ Mutually exclusive means that Ei ∩ Ej = ∅ when i 6 = j.

Proposition 1. (a) P (∅) = 0 (b) If A 1 ,... , An are pairwise disjoint, P (∪ni=1Ai) =

∑n i=1 P^ (Ai). (c) P(Ec) = 1 − P(E). (d) If E ⊂ F, then P (E) ≤ P (F ). (e) P (E ∪ F ) = P(E) + P (F ) − P(E ∩ F ).

  • We say E and F are independent events if

P (E ∩ F ) = P (E) P (F ).

  • P (E | F ) = P( PE(∩F F) )and P (A ∩ B) = P(A)P (B | A)
  • The Law of Total Probability: If F 1 ,... , Fn are mutually exclusive events such that they make up everythinn S =

⋃n i=1 Fi^ then

P (E) =

∑^ n

i=

P (E | Fi) P (Fi).

  • Bayes' formula: If S =

⋃n i=1 Fi, for any any^ j,

P (Fj | E) =

P (E | Fj ) P (Fj ) ∑n i=1 P^ (E^ |^ Fi)^ P^ (Fi)^

1

 When n = 2, with S = F 1 ∪ F 2 , then

P (F 1 | E) =

P (E | F 1 ) P (F 1 )

P (E | F 1 ) P (F 1 ) + P (E | F 2 ) P (F 2 )

and P (F 2 | E) =

P (E | F 2 ) P (F 2 )

P (E | F 1 ) P (F 1 ) + P (E | F 2 ) P (F 2 )

  • Discrete random variable:  PMF (Probability Mass Function): pX (x) := P (X = x), (NOTE: some texts may use the notation for fX (x) = P (X = x) to denote the PMF) ∗ Properties of a pmf p(x): ∗ Note that we must have 0 < p(xi) ≤ 1 for ,i = 1, 2 ,.... and p (x) = 0 for all other values of x can't attain. ∗ Also must have (^) ∞ ∑

i=

p(xi) = 1.

 CDF: FX (x) := P (X ≤ x).

  • Innite Series: Geometric Series

1 + x + x^2 + x^3 + · · · + =

1 − x

then dierentiating we have

0 + 1 + 2x + 3x^2 + · · · + =

(1 − x)^2

  • Continuous Random Variables:

Denition. A random variable X is said to have a continuous distribution if there exists a nonnegative function fX (called the probability distribution function or PDF)such that

P (a ≤ X ≤ b) =

∫ (^) b

a

fX (x)dx

for every a and b. [Sometimes we write that for nice sets B ⊂ R we have P (X ∈ B) =

B fX^ (x)dx.]  All PDFs must satisfy: (1) f (x) ≥ 0 for all x (2)

−∞ f^ (x)dx^ = 1.  CDF: FX (x) := P (X ≤ x)

  • Expected Values: If g : R → R  Discrete R.V.: List X ∈ {x 1 , x 2 ,... } ∗ E [g (X)] =

i=1 g^ (xi)^ pX^ (xi)  Continuous R.V.: ∗ E [g (X)] =

−∞ g^ (x)^ fX^ (x)^ dx

  • Fact: For continuous R.V we have the following useful relationship  Since FX (x) = P (X ≤ x) =

∫ (^) x −∞ fX^ (y)dy^ then by the fundamental theorem of calculus we have F (^) X′ (x) = fX (x).

  • How to nd the PDF of Y = g(X) where X is the PDF of X.  Step1: First start by writing the cdf of Y and in terms of FX :  Step2: Then use the relation fY (y) = F (^) Y′ (y) and take a derivative of the expression obtained in Step 1.
  • Joint Distributions:  Discrete: joint probability mass(discrete density) function p(x, y) = P (X = x, Y = y). ∗ Some texts may use f (x, y) to denote the PMF.

 Fact 3: If mX (t) is the MDF of X then the nth moment of X can be found by E [Xn] = m( Xn )(0).

  • How we use CLT (CENTRAL LIMIT THEOREM): That is, for any random variable X with EX = μ then standard deviation σ then

P

X 1 + · · · + Xn − nμ σ

n

≤ b

≈ P (Z ≤ b) = Φ(b).