Module 9 Vocab Flashcards

1
Q

Random Variable (textbook def)

9.1

A

a random variable on (Ω, Pr) is a function
X: Ω →ℝ

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

Random Variable (Alex def)

9.1

A

a function that maps each outcome in the sample space to a real number

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

The set of values taken by X

9.1

A

Val(X) = {x ∈ ℝ| ∃w ∈ Ω X(w) = x}

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

Another way to say “the set of values taken by X”

9.1

A

returned

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

X = x

9.1

A

the set of all outcomes that are mapped to the real number “x”

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

Pr[X = x]

9.1

A

the probability of the outcomes that are mapped to “x”
probability of event X = x

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

Distribution of r.v. X

9.1

A

f: Val(X) → [0,1] where f(x) = Pr[X = x]
Ex in green die space: f(1) = Pr[X=1] = 1/6

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

Probabilities add up to 1 (symbols)

9.1

A

Σ x∈Val(X) Pr[X = x] = 1

Ex: flip coin space Pr[X=H] + Pr[X=T] = 1/2 + 1/2

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

Probabilities add up to 1 (words)

9.1

A

“if you sum all the probabilities of the events that the random variable X=x, for all the x in the valus taken by the r.v. X, the answer is 1”

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

Events (X=x) for x∈Val(X) are…

9.1

A

pairwise disjoint

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

Ux∈Val(X) (X = x) =

9.1

A

Ω

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

Σx∈Val(X) Pr[X = x] =

9.1

A

Pr[Ω] = 1

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

Σ x∈Val(X) Pr[X = x] = 1

9.1

A

“if you sum all the probabilities of the events that the random variable X=x, for all the x in the valus taken by the r.v. X, the answer is 1”

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

Uniform Distribution

9.1

A

f: {v_1,…,v_n} → [0,1] f(v_i) = 1/n i = 1,…,n

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

Given (Ω, Pr), a r.v. U: Ω → ℝ is uniform with these values (v_1,…,v_n) when:

9.1

A

Val(U) = {v_1,…,v_n}
and Pr[U = v_i] = 1/n i = 1,…,n

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

Val(U) = {v_1,…,v_n}
and Pr[U = v_i] = 1/n i = 1,…,n

9.1

A

uniform r.v.

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

f: {v_1,…,v_n} → [0,1] f(v_i) = 1/n i = 1,…,n

9.1

A

uniform distribution

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

Bernoulli r.v. with parameter p

9.1

A

Given (Ω, Pr), an r.v. X: Ω → ℝ
with Val(X) = {0, 1}
and Pr[X = 1] = p

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

Val(X) = {0, 1}
and Pr[X = 1] = p

9.1

A

Bernoulli r.v. with parameter p

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

Distribution of Bernoulli r.v.

9.1

A

f: {0,1} → [0, 1]
f(1) = p f(0) = 1 - p

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

f: {0,1} → [0, 1] f(1) = p f(0) = 1 - p

9.1

A

Bernoulli distribution with parameter p

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

How many ways can 3 dice sum up to 5?

9.1

A

Stars and bars (5-3) + 3 - 1 choose 3 - 1 = 6

23
Q

Stars and bars with restriction of each die

9.1

A

From “n” subtract how many are used to meet condition.
Ex. if there are 5 die then n - 5
Ex. if there are 10 die, then n - 10

24
Q

Expectation/Expected Value

9.2

A

average (mean) value returned by a r.v.

25
Q

E[X]

9.2

A

the expectation of a r.v. X

26
Q

Expected Value of X (symbols)

9.2

A

E[X]

27
Q

E[X] way 1

9.2

A

x∈Val(X) Σ x ⋅ Pr[X = x]

value returned times its weight

28
Q

E[X] way 2

9.2

A

w∈Ω Σ X(w) ⋅ Pr[w]

value mapped to by outcome times probability of the outcome

29
Q

E[D]

9.2

A

3.5

remember: D is the number shown by a fair dice

30
Q

Expectation of a uniform r.v.

9.2

A

that takes the values v1,…,vn:
v1 +…+ vn / n

31
Q

Expectation of the Bernoulli r.v.

9.2

A

recall Val(X) = {0, 1} and Pr[X=1] = p and Pr[X=0] = 1 - p
E[X] = 1 ⋅ Pr[X=1] + 0 ⋅ Pr[X=0]
= 1⋅ p + 0 ⋅ (1 - p)
= p

32
Q

p

9.2

A

Expectation of the Bernoulli r.v.

33
Q

E[C] = c

9.2

A

expectation of a constant r.v. proposition

33
Q

Expectation of a constant r.v.

9.2

A

consider the r.v. C: Ω → ℝ such that for all outcomes w∈Ω we have C(w) = c
E[C] = c

34
Q

Proof of equivalence of the two defs of expectation biconditional statement

9.2

A

w ∈ [X = w] iff X(w) = x

35
Q

What is X=x?

A

an event

36
Q

How to use uniform r.v.

A

state “n” and “v_i = i for i = #,…,#”
remember Pr[X =v_i] = 1/n for i=1,…,n

37
Q

How to use Bernoulli r.v.

A

state 2 outcomes and give p

38
Q

Anagrams formula

A

a x b where a is number of b’s
(a1 +…+ an)! / a1! x … x an!

39
Q

Sum of two r.v.’s

A

(X+Y)(w) = X(w) + Y(w)
add the value that X maps the outcome to and the value that Y maps the outcome to

40
Q

Example of sum of two r.v.’s

A

S(7) = G(2) + P(5)

41
Q

Scalar multiplication of a r.v.

A

(cX)(w) = c X(w)

42
Q

Tricky thing to remember about LOE +

A

for something like A - B you can do A + (-1)B

43
Q

Linearity of Expectation

A

only for r.v.’s on the same space
version 1: E[cX1 +…+ cXn] = cE[X1] +…+ cE[Xn]

version 2: E[X1 +…+ Xn] = E[X1] +…+ E[Xn]

44
Q

LOE example rolling fair die independently r times

A

E[W] = E[D1] +…+ E[Dr]
because rolls are independent we can assert that the probability distribution of each roll is the same as the probability distribution of a single die roll which we know E[D] = E[Di] = 3.5 for i = 1,…,r
Thus E[W] = 3.5r

45
Q

What do you need before you use an indicator r.v.?

A

an event!

46
Q

Indicator r.v.
(3 things)

A

let Ia be the indicator r.v. for event a
Ia(w) = 1 if w is in a and 0 if w is not in a
IT’S BERNOULLI

47
Q

E[indicator r.v. of event A] =

A

Pr[IA = 1] = Pr[A]

48
Q

An outcome with k H’s has probability

A

p^k times q^n-k
where q = 1 - p

49
Q

The expectation of the indicator r.v. is equal to

A

the probability of its event

50
Q

In order to be able to apply Pr[Hi] to all H_i’s what do we need to know?

A

the flips/tosses/blahs are I-N-D-E-P-E-N-D-E-N-T

51
Q

On average means we need which concept?

A

Expectation!

52
Q

Remember if events are independent what can we do to their probabilities?

A

multiply them!

53
Q

Pr[success followed by failure] =

A

p(1-p)