Ch.4 Flashcards

(25 cards)

1
Q

probability theory

A

the mathematical study of uncertainty.

  • Probability theory allows us to evaluate and control the likelihood that an inference (a conclusion based on evidence) is correct; it provides a quantitative description of various likelihoods associated with random sampling.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

experiment

A

A probability experiment is any experiment whose outcomes rely purely on chance (eg, rolling a die).

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

simple event

A

A simple event is an outcome of a single repetition of the experiment (eg, “get a six”)

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

event

A

A collection of several simple events is called an event (eg, “get an even number”). We usually denote this by “E”.

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

Sample space

A

The collection of all simple events is also called the sample space. We denote this collection by “S”.

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

probability distribution

A

When conducting an experiment, the probability distribution is the set of all possible outcomes, together with their corresponding probabilities;

the probability of an outcome is a numerical measure of its likelihood of occurrence.

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

Simple Probability

A

If all possible outcomes in the sample space are equally likely (eg, the die is “fair”) then we can compute the probability of any event E, written P(E), by

  • P(E) = number of ways the event can occur / number of all possible outcomes
    = n(E) / n(S)
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Properties of Simple Probabilities:

A

Properties of Simple Probabilities:
1. 0 ≤ P(E) ≤ 1, for every event E.
2. P(E) is the sum of probabilities of all simple events comprising E.
3. P(S) = 1

In plain English we could say:
1. No event can ever have a probability greater than 1 or less than 0. 𝑃(𝐸) = 1 means E is guaranteed to occur 𝑃(𝐸) = 0 means E is guaranteed to not occur.
2. If an event consists of a collection of simple outcomes, then the probability of the event is equal to sum of the probabilities of the outcomes of which the event is comprised.
3. The particular event consisting of all possible outcomes has probability of 1. That is, if an experiment is conducted, we are guaranteed to observe one of the possible outcomes.

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

Empirical Probability

A

If we perform an experiment many times, we can get an estimate of the probability of an event by simply counting the favourable outcomes.

P(E) = number of favourable / number of experiments
= f / n

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

We can create new events based on other events:

A

i. Complement (not E): The event E does not occur. The complement of E is itself a new event, usually denoted by 𝐸𝑐, but sometimes bar 𝐸̅ or 𝐸′

ii. Intersection (E1 & E2): The events E1 and E2 both occur. The intersection of E1 and E2 is itself a new event, denoted by 𝐸1 ∩ 𝐸2, sometimes written as 𝐸1&𝐸2

iii. Union (E1 or E2): At least one of the events E1 or E2 occur. The union of E1 and E2 is itself a new event, denoted by 𝐸1 ∪ 𝐸2, sometimes written as 𝐸1𝑂𝑅 𝐸2

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

Since events may contain more than just one simple event, two different events, E1 and E2, can be related in several ways:

A

i. E1 is a subset of E2 (all of E1 is contained in E2) or vice versa.

ii. E1 and E2 have some elements in common.

iii. E1 and E2 have no common elements

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

Venn diagram

A

depicts the sample space as a rectangle, and events as disks contained within the rectangle.

  • The complement of an event is the area outside of its disk, the intersection of two events is the area common to both disks, and the union of two events is the area contained, collectively, in both disks
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

mutually exclusive (or disjoint)

A

Two or more events are said to be mutually exclusive (or disjoint) if no two of them have outcomes in common,

  • i.e. the intersection between any two events is empty
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

Basic Rules of Probability:

A

i. The Special Addition Rule: If events A and B are mutually exclusive, then
𝑃(𝐴 ∪ 𝐵) = 𝑃(𝐴) + 𝑃(𝐵)

Moreover, this same property applies to more than 2 mutually exclusive events. That is, if 𝐸1, 𝐸2, ⋯ , 𝐸𝑛 are mutually exclusive, then
𝑃(𝐸1 ∪ 𝐸2 ∪ ⋯ ∪ 𝐸𝑛) = 𝑃(𝐸1) + 𝑃(𝐸2) + ⋯ + 𝑃(𝐸𝑛)

ii. The Complementation Rule: For any event E,
𝑃(𝐸) = 1 − 𝑃(𝐸𝐶)

iii. The General Addition Rule: If A and B are any two events, then
𝑃(𝐴 ∪ 𝐵) = 𝑃(𝐴) + 𝑃(𝐵) − 𝑃(𝐴 ∩ 𝐵)

Rules (i) and (ii) are simply special cases of rule (iii). (i) follows from (iii) because mutually exclusive events have empty intersection (so 0 probability of both occurring).
(ii) follows from (iii) since a probability space requires P(S)=1, and since any event E in S must satisfy 𝐸 ∪ 𝐸 𝐶 = 𝑆. Thus,
𝑃(𝐸) + 𝑃(𝐸𝐶) = 𝑃(𝐸 ∪ 𝐸𝐶) = 𝑃(𝑆) = 1,
which implies
𝑃(𝐸) = 1 − 𝑃(𝐸𝐶)

One can visualize these results, using the Venn diagrams, and noting the following:
- the total area of the rectangle is equal to 1, and this area represents the probability of anything from S, i.e. P(S)=1;
- the area common to two disks represents the probability of their intersection, i.e. P(A∩B)

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

contingency table/two-way

A

displays the frequency distribution for a bivariate dataset by placing one variable on the vertical axis and one variable on the horizontal axis, such that the frequencies falling into each cell correspond to number of observations for that particular combination of levels/classes of the two variables.

Furthermore, the total frequencies for each row and column are given in the margin

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

joint frequency distribution.

A

The bivariate data presented in a contingency table describes a joint frequency distribution. If we replace the frequencies with their corresponding probabilities, then we have a joint probability distribution. The interior cells are the joint probabilities, and the marginal cells are the marginal probabilities

17
Q

conditional probability

A

probability that event B occurs, given that event A occurs is called the conditional probability of B given A.

Notation: The conditional probability of B given A is denoted P(B|A). The vertical line is read as “given”. “The probability of B given A”

𝑃(𝐵|𝐴) = “size” of B, restricted by fact that A occurs / “size” of S, restricted by fact that A occurs

The conditional probability rule: If A and B are any two events with P(A)>0, then

𝑃(𝐵|𝐴) = P(A ∩ B ) / P(A)

18
Q

general multiplication rule

A

A consequence of the conditional probability rule is the general multiplication rule: For events A and B,

𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴)𝑃(𝐵|𝐴)
and
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐵)𝑃(𝐴|𝐵)

19
Q

Tree diagram

A

When using the general multiplication rule, it is sometimes helpful to draw a tree diagram, which displays as splitting branches all possible events and their conditional probabilities

20
Q

dependent events

A

wherein the probability of an event depends on whether the other event occurs.

21
Q

independent events

A

sometimes the probabilities associated with two events do not depend on one another. Such events are said to be independent. More formally, events A and B are said
to be independent if

𝑃(𝐴|𝐵) = 𝑃(𝐴),
or
𝑃(𝐵|𝐴) = 𝑃(𝐵),
or
𝑃(𝐴 ∩ 𝐵) = 𝑃(𝐴)𝑃(𝐵).

This definition leads to the special multiplication rule: For independent events E1, E2,
E3,…
𝑃(𝐸1 ∩ 𝐸2 ∩ 𝐸3 ∩ ⋯ ) = 𝑃(𝐸1)𝑃(𝐸2)𝑃(𝐸3) ⋯
That is, the probability of the intersection of independent events is equal to the product of the probabilities of each event.

22
Q

basic counting rules

A

enable us to count the number of possibilities in various situations using simple combinatorial techniques

  • Suppose R actions are performed, and that each action has Mi possibilities. Then there is a total of 𝑀1 ⋅ 𝑀2 ⋅ ⋯ ⋅ 𝑀𝑅 possibilities.
23
Q

Full Arrangements, Factorials

A

A particular variant of the basic counting rule is the factorial, which applies to the situation where there are n possibilities for the first action, n-1 possibilities for the second action, … , 2 possibilities for the n-1st action, and 1 possibility for the nth action. More formally, the product of the first n positive integers is called n factorial:
𝑛! = 𝑛(𝑛 − 1) ⋯ (2)(1)

Note: n! gives the number of ways to arrange n unique objects. For this reason, we define 0!=1, i.e. there is exactly 1 way to arrange 0 objects: do nothing!

24
Q

Partial Arrangements, Permutations

A

Instead of rearranging all n distinct objects, we could select only “k” of the objects and then arrange those k objects. This is called a permutation. There are

𝑛𝑃𝑘 = 𝑛!/ (𝑛−𝑘)!

ways to choose k objects and then arrange them. This is usually pronounced “n permute k”

  • Intuitively, permutations work the same way as factorials do, only we are restricted to a subset of the n objects. That is, there are n ways to choose the first object, n-1 ways to
    choose the second object…., n-k+2 ways to choose the k-1
    th object, and n-k+1 ways to choose the kth object. Thus,

𝑛𝑃𝑘 = 𝑛(𝑛 − 1). . . (𝑛 − 𝑘 + 2)(𝑛 − 𝑘 + 1)
= 𝑛(𝑛 − 1). . . (𝑛 − 𝑘 + 2)(𝑛 − 𝑘 + 1)(1)(1) … (1)(1)
= 𝑛(𝑛 − 1). . . (𝑛 − 𝑘 + 2)(𝑛 − 𝑘 + 1) (𝑛 − k/ n- k)(𝑛 − 𝑘 − 1/𝑛 − 𝑘 − 1)(1/1)
= 𝑛!/(𝑛 − 𝑘)!

25
combination
A combination of k objects from n object is any arrangement of k of the n objects, ignoring ordering. The number of such combinations is denoted nCk, where 𝑛𝐶𝑘 = 𝑛!/𝑘!(𝑛−𝑘)! This is usually pronounced “n choose k” Note: A combination is simply the permutation, divided by the number of ways to reorder the given set. That is, 𝑛𝐶𝑘 = 𝑛𝑃k/k! = 𝑡𝑜𝑡𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑓 𝑜𝑟𝑑𝑒𝑟𝑒𝑑 𝑎𝑟𝑟𝑎𝑛𝑔𝑒𝑚𝑒𝑛𝑡𝑠/𝑡𝑜𝑡𝑎𝑙 𝑛𝑢𝑚𝑏𝑒𝑟 𝑜𝑟 𝑟𝑒𝑎𝑟𝑟𝑎𝑔𝑒𝑚𝑒𝑛𝑡𝑠