7.2 Probability theory Flashcards

1
Q

Let S be the sample space of an experiment with a finite or countable number of outcomes. We
assign a probability p(s) to each outcome s. We require that two conditions be met:

A

(i) 0 ≤ p(s) ≤ 1 for each s ∈ S

(ii) ∑ p(s) = 1.
s∈S

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What if the sample space is infinite?

A

∑ s∈S p(s) is a convergent infinite series.

Integral Calculus is used to study

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Probability Distribution?

A

The function p from the set of all outcomes of the sample space S is called a probability
distribution.

what is p? (I know)

probability distribution is the mathematical function that gives the probabilities of occurrence of different possible outcomes for an experiment.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Unifrom distribution

probability assignment

A

Suppose that S is a set with n elements. The uniform distribution assigns the probability 1∕n
to each element of S.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

The probability of the event E :

Definition 2 using definition 1 :

A

The probability of the event E is the sum of the probabilities of the outcomes in E. That is,
p(E) = ∑ p(s).
s∈E

(Note that when E is an infinite set, ∑
s∈E p(s) is a convergent infinite series.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

selecting an element of S at

random.:

A

The experiment of selecting an
an element from a sample space with a uniform distribution is called selecting an element of S at
random.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Probabilities of Complement and Union :

A

It stays valid, think in terms of Def 2 of sec 7.2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

If E1, E2, … is a sequence of pairwise disjoint events in a sample space S, then

p(⋃ Ei) is?
i

A

If E1, E2, … is a sequence of pairwise disjoint events in a sample space S, then
p(⋃ Ei) = ∑i p(Ei).
i

(Note that this theorem applies when the sequence E1, E2, … consists of a finite number or a
countably infinite number of pairwise disjoint events.)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

Conditional Probability:

A

Let E and F be events with p(F) > 0. The conditional probability of E given F, denoted by
p(E ∣ F), is defined as
p(E ∣ F) = p(E ∩ F) / p(F) .

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Independent Events:

A

The events E and F are independent if and only if
p(E ∩ F) = p(E)p(F).

When
two events are independent, the occurrence of one of the events gives no information about the
probability that the other event occurs.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

Types of Independences:

A

The events E1, E2, … , En are pairwise independent if and only if p(Ei ∩ Ej) =p(Ei)p(Ej) for all pairs of integers i and j with 1 ≤ i < j ≤ n.

These events are
mutually independent if p(Ei1 ∩ Ei2 ∩ ⋯ ∩ Eim ) = p(Ei1)p(Ei2) ⋯ p(Eim ) whenever
in , j = 1, 2, … , m, are integers with 1 ≤ i1 < i2 < ⋯ < im ≤ n and m ≥ 2.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

Bernoulli trial :

A

Each performance of an experiment with two possible outcomes is
called a Bernoulli trial, after James Bernoulli, who made important contributions to probability
theory. In general, a possible outcome of a Bernoulli trial is called a success or a failure.

If p
is the probability of a success and q is the probability of a failure, it follows that p + q = 1.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

The probability of exactly k successes in n independent Bernoulli trials

THEOREM:

prove it too.

A

The probability of exactly k successes in n independent Bernoulli trials, with probability of
success p and probability of failure q = 1 − p, is
C(n, k)p^(k q)^(n−k).

Considered as a function of k, we
call this function the binomial distribution.
b(k; n, p) = C(n, k)pkqn−k.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

e sum of the probabilities that there are k successes when n independent Bernoulli
trials are carried out, for k = 0, 1, 2, … , n, equals?

A

b(k; n, p) = (p + q)^n = 1

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

Random Variable :

A

A random variable is a function from the sample space of an experiment to the set of real
numbers. That is, a random variable assigns a real number to each possible outcome.

Remark: Note that a random variable is a function. It is not a variable, and it is not random!

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
16
Q

The distribution of a random variable X on a sample space S is?

Definition 7:

A

The distribution of a random variable X on a sample space S is the set of pairs (r, p(X = r))
for all r ∈ X(S), where p(X = r) is the probability that X takes the value r. (The set of pairs
in this distribution is determined by the probabilities p(X = r) for r ∈ X(S).)

17
Q

The Birthday problem?

solve it too

A

What is the minimum number of people who need to be in a room so that the probability that at least two of them have the same birthday is greater than 1∕2?

18
Q

Probability of a collision in hashing function

A

solve it. page 487

19
Q

Deterministic algorithms:

A

These proceed in same way whenever given the same input.

20
Q

Probabilistic Algorithms:

why use them?

A

These make random choices at one or more steps.

Need: when deterministic algo has huge number (or unknown number) of possible cases.

21
Q

Monte Carlo Algorithms :

A

A class of probabilistic algorithms, for decision problems.

Gives answers, but small probability remains that these might be incorrect, however this probability decreases with more tests.

At each step possible response are true or unknown.
True : no more iterations required, and is true.
Unknown: Ans could be true or false.
ans is false if every iteration yields unknown.
If correct answer is false then algorithm will produce unknown for all iterations.
If correct answer is true, then it will yield true or unknown.

22
Q

Monte carlo

probability of incorrect answer?

A

if the correct answer is
“true,” then the algorithm could answer either “true” or “false,” because it may be possible that
each iteration produced the response “unknown”.

We will show that this possibility becomes extremely unlikely as the number of tests increases.

Suppose that p is the probability that the response of a test is “true,” given that the answer
is “true.” It follows that 1−p is the probability that the response is “unknown,” given that the
answer is “true.” Because the algorithm answers “false” when all n iterations yield the answer
“unknown” and the iterations perform independent tests, the probability of error is (1−p)^n.
When p ≠ 0, this probability approaches 0 as the number of tests increases.

Consequently, the probability that the algorithm answers “true” when the answer is “true” approaches 1.

23
Q

Probabilistic Primality testing

A

Read it.

24
Q

the probabilistic method:

A

THE PROBABILISTIC METHOD If the probability that an element chosen at random
from a S does not have a particular property is less than 1, there exists an element in S with
this property

25
Q

TH 4

A

after revising chapter 4