basic probability Flashcards

1
Q

probability

A

logically self contained
few rules, answers follow from rules
computations can be tricky

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

statistics

A

apply probability to draw conclusions from data
can be messy
involves art and science

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

probability example

A

you have a fair coin. you will toss it 100 times. What is the probability of 60 or more heads?

  • random process fully known ( p(heads) = 0.5)
  • outcome is unknown
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

statistics example

A

you have a coin of unknown provenance. to investigate its fairness, you toss it 100 times. Suppose you count 60 heads.

  • multiple ways to do this
  • different statisticians may draw different conclusions
  • outcome is known (60 heads)
  • need to illuminate random process
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

what are the schools of statistics

A

frequentists and bayesian

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

frequentists

A

probability measures frequency of various outcomes of an experiment
fair coin has 50% chance of heads means if we toss it many times we expect to see that percentage of heads

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

bayesians

A

probability is an abstract concept measuring the state of knowledge or degree of belief in given proposition
consider a range of values each with its own probability of being true

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

principle of equally likely outcomes

A

suppose there are n possible outcomes for an experiment and each is equally probable

if there are k desirable outcomes, then the probability of a desirable outcome is k/n

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

set S

A

collection of elements

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

element

A

π‘₯ ∈ S to mean element x is in set S

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

subset

A

𝐴 βŠ‚ 𝑆

𝐴 is a subset of 𝑆 if all of its elements are in S

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

complement

A

The complement of 𝐴 in 𝑆 is the set of elements of 𝑆 that are not in 𝐴.

We write this as
𝐴𝑐 or 𝑆 βˆ’ 𝐴.

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

union

A

The union of 𝐴 and 𝐡 is the set of all elements in 𝐴 or 𝐡 (or both). We write this as 𝐴 βˆͺ 𝐡.

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

intersection

A

The intersection of 𝐴 and 𝐡 is the set of all elements in both 𝐴 and 𝐡. We
write this as 𝐴 ∩ 𝐡.

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

empty set

A

The empty set is the set with no elements. We denote it βˆ….

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

disjoint

A

𝐴 and 𝐡 are disjoint if they have no common elements. That is, if 𝐴 ∩ 𝐡 = βˆ…

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

difference

A

The difference of 𝐴 and 𝐡 is the set of elements in 𝐴 that are not in 𝐡. We
write this as 𝐴 βˆ’ 𝐡.

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

deMorgan’s laws

A

(𝐴 βˆͺ 𝐡)𝑐 = 𝐴𝑐 ∩ 𝐡𝑐
(𝐴 ∩ 𝐡)𝑐 = 𝐴𝑐 βˆͺ 𝐡𝑐

the first law says everything not in (𝐴 or 𝐡) is the same set as everything that’s (not in 𝐴) and (not in 𝐡).

The second law is similar.

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

venn diagrams

A

visualize set operations

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

s

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

L

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

R

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

𝐿 βˆͺ 𝑅

A
24
Q

𝐿 ∩ 𝑅

A
25
Q

L^C

A
26
Q

𝐿 βˆ’ 𝑅

A
27
Q

Proof of DeMorgan’s Laws

A
28
Q

products of sets

A

𝑆 Γ— 𝑇 = {(𝑠,𝑑)| 𝑠 ∈ 𝑆,𝑑 ∈ 𝑇 }.

the set of ordered pairs (𝑠,𝑑) such that 𝑠 is in 𝑆 and 𝑑
is in T

29
Q

example of set product

A
30
Q

example of set product 2

A

also illustrates that 𝐴 βŠ‚ 𝑆 and 𝐡 βŠ‚ 𝑇 then 𝐴 Γ— 𝐡 βŠ‚ 𝑆 Γ— 𝑇 .

31
Q

counting

A

If 𝑆 is finite, we use |𝑆| or #𝑆 to denote the number of elements of 𝑆.

Two useful counting principles:
1. inclusion-exclusion principle
2. rule of product

32
Q

inclusion-exclusion principle

A

|𝐴 βˆͺ 𝐡| = |𝐴| + |𝐡| βˆ’ |𝐴 ∩ 𝐡|

|𝐴| is the number of dots in 𝐴 and likewise for the other sets.

The figure shows that |𝐴|+|𝐡|
double-counts |𝐴 ∩ 𝐡|, which is why |𝐴 ∩ 𝐡| is subtracted off

33
Q

In a band of singers and guitarists, seven people sing, four play the guitar,
and two do both. How big is the band?

A

: Let 𝑆 be the set singers and 𝐺 be the set guitar players. The inclusion-exclusion
principle says
size of band = |𝑆 βˆͺ 𝐺| = |𝑆| + |𝐺| βˆ’ |𝑆 ∩ 𝐺| = 7 + 4 βˆ’ 2 = 9.

34
Q

rule of product

A

𝑛 ways to perform action 1
π‘š ways to perform action
2,
then there are 𝑛 β‹… π‘š ways to perform action 1 followed by action 2.

35
Q

If you have 3 shirts and 4 pants then how many outfits can you make?

A

multiplication rule/ rule of product

3 * 4 = 12

36
Q

There are 5 competitors in the 100m final at the Olympics. In how many ways can the gold, silver, and bronze medals be awarded?

A

There are 5 ways to award the gold.

Once that is awarded there are 4 ways to
award the silver and then 3 ways to award the bronze:

5 β‹… 4 β‹… 3 = 60 ways.

Note that the choice of gold medalist affects who can win the silver, but the number of
possible silver medalists is always four.

37
Q

permutation

A

A permutation of a set is a particular ordering of its elements. For example, the set {π‘Ž, 𝑏, 𝑐} has six permutations: π‘Žπ‘π‘, π‘Žπ‘π‘, π‘π‘Žπ‘, π‘π‘π‘Ž, π‘π‘Žπ‘, π‘π‘π‘Ž.

find by listing, or find buy using rule of product

Note that π‘Žπ‘π‘ and π‘Žπ‘π‘ count as distinct permutations. That is, for permutations the order matters.

permutations are lists

38
Q

what is the number of permutations of a set of k elements?

A

π‘˜! = π‘˜ β‹… (π‘˜ βˆ’ 1) β‹― 3 β‹… 2 β‹… 1

39
Q

combinations

A

order does not matter

combinations are sets.

40
Q

List all the combinations of 3 elements out of the set {π‘Ž, 𝑏, 𝑐, 𝑑}.

A

Such a combination is a collection of 3 elements without regard to order. So, π‘Žπ‘π‘ and π‘π‘Žπ‘ both represent the same combination.

We can list all the combinations by listing all the subsets of exactly 3 elements.

{π‘Ž, 𝑏, 𝑐} {π‘Ž, 𝑏, 𝑑} {π‘Ž, 𝑐, 𝑑} {𝑏, 𝑐, 𝑑}

There are only 4 combinations.

Contrast this with the 24 permutations in the list example.

The factor of 6 comes because every combination of 3 things can be written in 6 different orders

41
Q

π‘›π‘ƒπ‘˜

A

number of permutations (lists) of π‘˜ distinct elements from a set of size n

n!/(n-k)!

42
Q

nCk

A

n!/(k!*(n-k)!) = nPk/k!

n choose K

43
Q

experiment

A

repeatable procedure with well defined possible outcomes

44
Q

sample space

A

the set of all possible outcomes.

We usually denote the sample space by Ξ©, sometimes by 𝑆.

45
Q

event

A

a subset of the sample space

The probability of an event 𝐸 is computed by adding up the probabilities of all of the outcomes in E

46
Q

probability function

A

a function giving the probability for each outcome.

47
Q

probability density

A

continuous distribution of probabilities

48
Q

random variable

A

random numerical outcome

49
Q

discrete sample space

A

is one that is listable, it can be either finite or infinite

{H, T},
{1, 2, 3},
{1, 2, 3, 4, …},
{2, 3, 5, 7, 11, 13, 17…}

50
Q

probability function

A

For a discrete sample space 𝑆 a probability function 𝑃 assigns to each outcome πœ” a number
𝑃(πœ”) called the probability of πœ”. 𝑃 must satisfy two rules:

  • 0 ≀ 𝑃 (πœ”) ≀ 1 (probabilities are between 0 and 1).
  • The sum of the probabilities of all possible outcomes is 1 (something must occur)
51
Q

probability rule 1

A

𝑃(𝐴𝑐) = 1 βˆ’ 𝑃(𝐴)

𝐴 and 𝐴𝑐 split Ξ© into two non-overlapping regions. Since the total probability
𝑃(Ξ©) = 1 this rule says that the probability of 𝐴 and the probability of ’not 𝐴’ are complementary, i.e. sum to 1.

52
Q

probability rule 2

A

If 𝐿 and 𝑅 are disjoint then 𝑃 (𝐿 βˆͺ 𝑅) = 𝑃 (𝐿) + 𝑃 (𝑅).

𝐿 and 𝑅 split 𝐿 βˆͺ 𝑅 into two non-overlapping regions. So the probability of 𝐿 βˆͺ 𝑅 is is split between 𝑃(𝐿) and 𝑃(𝑅)

53
Q

Rule 3

A

If 𝐿 and 𝑅 are not disjoint, we have the inclusion-exclusion principle

𝑃 (𝐿 βˆͺ 𝑅) = 𝑃 (𝐿) + 𝑃 (𝑅) βˆ’ 𝑃 (𝐿 ∩ 𝑅)

In the sum 𝑃(𝐿) + 𝑃(𝑅) the overlap 𝑃 (𝐿 ∩ 𝑅) gets counted twice. So 𝑃(𝐿) +
𝑃(𝑅) βˆ’ 𝑃 (𝐿 ∩ 𝑅) counts everything in the union exactly once.

54
Q
A
55
Q

Countable (notations..) and Uncountable set.

A

A set that is either finite or has the same cardinality as the set of positive integers is called
countable. A set that is not countable is called uncountable. When an infinite set S is countable, we denote the cardinality of S by β„΅0 (where β„΅ is aleph, the first letter of the Hebrew
alphabet).
We write |S| = β„΅0 and say that S has cardinality β€œaleph null.”

56
Q

P (empty set) =

A

0

57
Q

Probability

A

A probability is a function P that assigns to each event E in the sample space S a number P(E) called the probability of event E.