Difference between revisions of "Probability Review I"
(10 intermediate revisions by the same user not shown) | |||
Line 2: | Line 2: | ||
Let us look at two notions of the ''probability'' of an event happening: | Let us look at two notions of the ''probability'' of an event happening: | ||
− | === The Frequentist | + | === The ''Frequentist'' Probability === |
− | Given <math>N</math> distinct possible events, <math>\ | + | Given <math>N</math> distinct possible events, <math>\{x_1, x_2, \ldots, x_N\}</math>, with the following assumptions: |
* No two events can occur simultaneously, and | * No two events can occur simultaneously, and | ||
− | * The events occur with frequencies <math>\ | + | * The events occur with frequencies <math>\{n_1, n_2, \ldots, n_N\}</math>, |
Then the probability of an event <math>x_i</math> is given by: | Then the probability of an event <math>x_i</math> is given by: | ||
{{NumBlk|::|<math>P\left(x_i\right)=\frac{n_i}{\sum_{j=1}^{N} n_j}</math>|{{EquationRef|1}}}} | {{NumBlk|::|<math>P\left(x_i\right)=\frac{n_i}{\sum_{j=1}^{N} n_j}</math>|{{EquationRef|1}}}} | ||
− | === Observer Relative Probability === | + | From this definition, we can see that: |
+ | |||
+ | {{NumBlk|::|<math>\sum_{i=1}^{N} P\left(x_i\right) = 1</math>|{{EquationRef|2}}}} | ||
+ | |||
+ | === The ''Observer Relative'' Probability === | ||
+ | Probability is an assertion about the belief that a specific observer has of the occurrence of a specific event. Thus, here, two different observers may assign different probabilities to the same event or phenomenon. Additionally, the probability assigned to an event is likely to change as the observer learns more about an event, or if certain aspects of the event changes. | ||
+ | |||
+ | We can think of the ''observer relative'' probability of an event to be an approximation to the ''frequentist'' probability, and additionally, we can view new knowledge as stepping stones towards better estimates of the relative frequencies of an event. | ||
== Probability Basics == | == Probability Basics == | ||
+ | Recall that for two events, <math>A</math> and <math>B</math>: | ||
+ | |||
+ | {{NumBlk|::|<math>P\left(\bar{A}\right) = 1 - P\left(A\right)</math>|{{EquationRef|3}}}} | ||
+ | |||
+ | {{NumBlk|::|<math>P\left(A \cup B\right) = P\left(A\right) + P\left(B\right) - P\left(A \cap B\right)</math>|{{EquationRef|4}}}} | ||
+ | |||
+ | Note that if <math>P\left(A \cap B\right) = P\left(A, B\right) = 0</math>, then <math>A</math> and <math>B</math> are '''mutually exclusive'''. | ||
== Conditional Probability == | == Conditional Probability == | ||
+ | We define <math>P\left(A \mid B\right)</math> as the probability of <math>A</math> occurring given that we know <math>B</math> occurred. Thus, the ''joint probability'' of <math>A</math> and <math>B</math> is given by: | ||
+ | |||
+ | {{NumBlk|::|<math>P\left(A, B\right) = P\left(A \mid B\right)\cdot P\left(B\right)</math>|{{EquationRef|5}}}} | ||
+ | |||
+ | Since <math>P\left(A, B\right) = P\left(B, A\right)</math>, we arrive at '''Bayes' Theorem''': | ||
+ | |||
+ | {{NumBlk|::|<math>P\left(A \mid B\right)\cdot P\left(B\right) = P\left(B \mid A\right)\cdot P\left(A\right)</math>|{{EquationRef|6}}}} | ||
+ | |||
+ | Or equivalently: | ||
+ | |||
+ | {{NumBlk|::|<math>P\left(A \mid B\right) = \frac{P\left(B \mid A\right)\cdot P\left(A\right)}{P\left(B\right)}</math>|{{EquationRef|7}}}} | ||
+ | |||
+ | If <math>P\left(A \mid B\right) = P\left(A\right)</math>, then <math>A</math> and <math>B</math> are '''independent'''. From Bayes' Theorem, we get <math>P\left(B \mid A\right) = P\left(B\right)</math>. Thus, for independent events, | ||
+ | |||
+ | {{NumBlk|::|<math>P\left(A, B\right) = P\left(A\right) \cdot P\left(B\right)</math>|{{EquationRef|8}}}} |
Latest revision as of 17:18, 9 September 2020
Contents
Notions of Probability
Let us look at two notions of the probability of an event happening:
The Frequentist Probability
Given distinct possible events, , with the following assumptions:
- No two events can occur simultaneously, and
- The events occur with frequencies ,
Then the probability of an event is given by:
-
(1)
-
From this definition, we can see that:
-
(2)
-
The Observer Relative Probability
Probability is an assertion about the belief that a specific observer has of the occurrence of a specific event. Thus, here, two different observers may assign different probabilities to the same event or phenomenon. Additionally, the probability assigned to an event is likely to change as the observer learns more about an event, or if certain aspects of the event changes.
We can think of the observer relative probability of an event to be an approximation to the frequentist probability, and additionally, we can view new knowledge as stepping stones towards better estimates of the relative frequencies of an event.
Probability Basics
Recall that for two events, and :
-
(3)
-
-
(4)
-
Note that if , then and are mutually exclusive.
Conditional Probability
We define as the probability of occurring given that we know occurred. Thus, the joint probability of and is given by:
-
(5)
-
Since , we arrive at Bayes' Theorem:
-
(6)
-
Or equivalently:
-
(7)
-
If , then and are independent. From Bayes' Theorem, we get . Thus, for independent events,
-
(8)
-