Chapter 1 Flashcards

(39 cards)

1
Q

Set

A

A collection of some items
Ordering does not matter
Notion: A = {1, 2}

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

Subset

A

Set A is a subset of set B if every element of A is also an element of B. We write A⊂B, where “⊂” indicates “subset.”

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

Superset

A

B is a superset of A, or B ⊃ A, if every element of A is also in B

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

Universal set

A

the set of all things that we could possibly consider in the context
we are studying. (denoted by S)

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

Venn diagram

A

any set is depicted by a closed region, its drawn like a circle where the elements of A are within the circle of A and if elements are in both A and B the circles overlap

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

Union

A

a set containing all elements that are in A or in B
{1,2} ∪ {2,3} = {1,2,3}

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

Intersection

A

denoted by A ∩ B, consists of all elements thatare both in A and B

{1,2} ∩ {2,3} = {2}

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

Complement

A

The complement of a set A, denoted by Ac or
¯
A, is the set of all elements that are in the universal set S but are not in A

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

difference (subtraction)

A

The set A − B consists of elements that are in A but not in B

if A = {1,2,3} and B = {3,5}, then A−B={1,2}

A −B = A ∩ Bc

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

mutually exclusive or disjoint

A

Two sets A and B are mutually exclusive or disjoint if they do not have any shared elements; i.e., their intersection is the empty set,
A ∩ B = ∅.

More generally, several
sets are called disjoint if they are pairwise disjoint, i.e., no two of them share a common elements

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

Partition

A

a collection of nonempty sets A1,A2,⋯ is a partition of a set A if they are disjoint and their union is
A

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

De Morgan’s law

A

(keep in mind the c is the complement)
For any sets A1, A2, ⋯ ,An, we have:

(A1 ∪ A2 ∪ A3 ∪ ⋯ An)c =Ac1 ∩ Ac2 ∩ Ac3 ⋯ ∩ Acn

(A1 ∩A2 ∩A3 ∩⋯An)c =Ac1 ∪ Ac2 ∪ Ac3 ⋯ ∪ Acn

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

Distributive law

A

For any sets A, B, and C we have

A ∩ (B ∪ C) = (A ∩ B) ∪ (A ∩ C)

A ∪ (B ∩ C) = (A ∪ B) ∩ (A ∪ C)

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

cartesian product

A

A Cartesian product of two sets A and B, written as A × B, is the set containing ordered pairs from A and B. That is, if C = A ×B, then each element of C is of the form (x,y) , where x ∈ A and y ∈ B:

A×B={(x,y)|x ∈ A and y ∈ B}.

For example, if A = {1,2,3} and B = {H,T}, then A×B={(1,H),(1,T),(2,H),(2,T),(3,H),(3,T)}.

Note that here the pairs are ordered, so for example, (1,H) ≠ (H,1). Thus A × B is not the same as
B ×A

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

multiplication principle

A

If you have two finite sets A and B, where A has M elements and B has N elements, then A ×B has M ×N elements.

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

cardinality

A

the size of a set

The cardinality of a set is denoted by |A|

In a finite set the cardinality is how many elements it contains

17
Q

inclusion-exclusion principle (also counts for probability)

A
  1. |A ∪ B| = |A|+|B|−|A∩B|,
  2. |A ∪ B∪C| =|A|+|B|+|C| −|A∩B|−|A∩C|−|B∩C|+|A∩B∩C|
18
Q

countable vs uncountable set (2 types of infinite set)

A

you can list the elements of a countable set A, i.e., you can write
A = {a1,a2,⋯}, but you cannot list the elements in an uncountable
set.

19
Q

definition countable (and uncountable)

A

Set A is called countable if one of the following is true:

a. if it is a finite set, ∣A∣<∞ ; or

b. it can be put in one-to-one correspondence with natural numbers N, in which case the set is said to be countably infinite.

A set is called uncountable if it is not countable.

20
Q

guidelines to remember is a set is countable or uncountable

A
  • N,Z,Q, and any of their subsets are countable.
  • Any set containing an interval on the real line such as [a,b],(a,b],[a,b), or (a,b), where a<b is uncountable.
  • Any subset of a countable set is countable.
  • Any superset of an uncountable set is uncountable.
  • If A1,A2,… is a list of countable sets, then the set UiAi = A1∪A2∪A3… is also countable
  • if A and B are countable, then A x B is also countable
21
Q

domain and co-domain in functions

A

A function f is a rule that takes an input from a specific set, called the domain, and produces an output from another set, called co-domain. Thus, a function maps elements from the domain set to elements in the co-domain with the property that each input is mapped to exactly one output.

If A is the domain and B is the co-domain for the function f, we use the following notation:

f : A→B.

22
Q

range

A

the set containing all the possible values of f(x). Thus, the range of a function is always a subset of its co-domain.

23
Q

random experiment

A

a process by which we observe
something uncertain (you do not know what the result is gonna be)

24
Q

outcome

A

a result of a random experiment

25
sample space
The set of all possible outcomes (the universal set of a random experiment)
26
trial
a particular performance of a random experiment When we repeat a random experiment several times, we call each one of them a trial.
27
event
an eventis a collection of possible outcomes. In other words, an event is a subset of the sample space to which we assign a probability
28
probability
We assign a probability measure P(A) to an event A. This is a value between 0 and 1 that shows how likely the event is.
29
axioms of probability theory
1. For any event A, P(A) >= 0 2. Probability of the sample space S is P(S) = 1 3. If A1,A2,A3,... are disjoint events, then P(A1 ∪ A2 ∪ A3, ⋯) = P(A1)+P(A2)+P(A3)+⋯
30
discrete vs continuous sample set
in discrete probability models we can compute the probability of events by adding all the corresponding outcomes, while in continuous probability models we need to use integration instead of summation
31
conditional probability
it's the probability of an event occurring given that another event has already occurred. It is denoted as P(A|B), which reads as "the probability of event A given event B"
32
conditional probability formula
P(A|B) = (P(A ∩ B) / (P(B)), when P(B) > 0 also written as: P(A∩B) = P(A)P(B|A) = P(B)P(A|B)
33
chain rule for conditional probability
P(A1 ∩ A2 ∩ ... ∩ An) = P(A1)P(A2|A1)P(A3|A2,A1)⋯P(An|An−1An−2⋯A1)
34
independence
Two events are independent if one does not convey any information about the other Two events A and B are independent if P(A ∩ B) = P(A)P(B)
35
Three events A, B and C are independent if all of the following conditions hold:
P(A∩B)=P(A)P(B), P(A∩C)=P(A)P(C), P(B∩C)=P(B)P(C), P(A∩B∩C)=P(A)P(B)P(C).
36
independence when it comes to other operations (complements, unions etc)
If A and B are independent then: - A and Bc are independent, - Ac and B are independent, - Ac and Bc are independent If A1,A2,⋯,An are independent then: P(A1∪A2∪⋯∪An) = 1−(1−P(A1))(1−P(A2))⋯(1−P(An)) Consider two events A and B, with P(A) ≠ 0 and P(B) ≠ 0. If A and B are disjoint, then they are not independent.
37
the law of total probability
If B1,B2,B3,⋯ is a partition of the sample space S, then for any event A we have P(A) =∑i P(A∩Bi) =∑i P(A|Bi)P(Bi). Because: P(A) =P(A∩B)+P(A∩Bc) and using the definition of conditional probability, P(A ∩ B) = P(A|B)P(B) , we can write P(A) =P(A|B)P(B)+P(A|Bc)P(Bc).
38
Bayes' Rule
- For any two events A and B, where P(A) ≠ 0, we have P(B|A) = P(A|B)P(B) / P(A) - If B1, B2, B3, ... form a partition of the sample S, and A is any event with P(A) ≠ 0, we have P(Bj|A) = (P(A|Bj)P(Bj)) / (∑iP(A|Bi)P(Bi))
39
conditional independence
if A and B are conditionally independent given C, then P(A|B,C) = P(A|C)