Week 3 - Probability and Random Variables Flashcards
1
Q
Random Variable
A
- numerical summary of a random outcome.
- e.g. number of heads in two coin tosses in random variable.
- can take a range of values
- two types: discrete and continuous
2
Q
Discrete Variable
A
- Outcomes out countable
- e.g. 0,1,2,3,4
- each outcome has associated probability of occuring.
3
Q
Continious Variable
A
- outcomes not feasibly countable.
- can take any value in range of values.
- e.g. 1.5, 2.7898457, infinity.
- each outcome individually has 0 probability of occuring.
- Probabilities are associated with RANGE of outcomes.
4
Q
Sample space
A
All potential outcomes of random process.
5
Q
Probability Distribution of Random Variable
A
- List of all possibly values and probability that they will occur
- Probabilities add up to 1.
e.g. pdf associated with X (where X is the number of heads in single coin toss) is written as f_x(X)
6
Q
Cumulative probability distribution
A
- Probability that the random variable is less than or equal to particular value
- Can be expressed using cumulative distribution function (cdf)
e.g. P(X ≤ 0) = P(X = 0) = 0.5, P(X ≤ 1) = P(X = 0) + P(X = 1) = 0.5+ 0.5 = 1
7
Q
PDF for continuous variables
A
- The probability that X falls between
8
Q
CDF for continuous variables
A
- X ∈ [−∞, x] is the same as P[X ≤ x]
- Therefore, cdf is area under pdf up to x
9
Q
Expected Value
A
- Long run average value of the random value.
10
Q
Population Mean
A
The sum of all values in the population, denoted by the summation of X divided by the number of population values denoted by N.
11
Q
Mutually Exclusive and Exhaustive
A
Events cannot occur at the simultaneously , and one of them MUST occur.
12
Q
Probability useful rules
A
- P(A) = P(A ∩ B’) + P(A ∩ B)
- P(A ∪ B) = P(A) + P(B) - P(A ∩ B)
- P(A ∪ B ∪ C) = P(A) + P(B) + P(C) − P(A ∩ B) − P(A ∩ C) − P(B ∩ C) + P(A ∩ B ∩ C)
- Bayes theorem:
P(A|B) = P(A) x P(B|A)/P(B) - if Independent: P(A|B) = P(A)