Causal Inference The Mixtape-CH02
Back to: Input MOC
Source: Causal Inference The Mixtape (scunning.com)
2024-04-25 Book Notes
The chapter 2 is a review on probability and regression. Not a harsh one, anyone who have already learned statistics should get used to all the contents. I would like to take some notes of relatively new perspectives on understanding probability.
Notes
On probability theory
- There are two kinds of random processes: Discrete and Continuous
- There are two ways to define independent events:
- Logical independence: e.g., two events occur, but there is no reason to believe that two events affect each other.
- statistical independence: for independent event,
Terminology check
- Event: some could be observed with two status of occur and not occur, e.g., A vs. ~A (
) - Conditional probabilities: for multiple events, all the combination of the possible status of the events
- ⇾ We could represent events in a probability tree to illustrate all the possibility
Venn diagrams and sets
- Need no reviews
Contingency table
- Need no reviews (example table as following)
| Event labels | Total | ||
|---|---|---|---|
| 0.1 | 0.5 | 0.6 | |
| 0.1 | 0.3 | 0.4 | |
| Total | 0.2 | 0.8 | 1.0 |
- Reviews on so-called Bayes's rule:
- Let do this trick to get the decomposition
Given two events,
Because of the equation of
The last puzzle of the decomposition is
Monty Hall example
Actually, I do feel like most people that find Monty Hall problem counterintuitive. Just note the process of it, the formalization of the problem might help.
Assume that participant chose door 1 and there are a million dollars behind door 1 is event
Here, the marginal probability that without any additional information is 1/3. This is so-called prior probability, or prior belief. Therefore,
Let us write down after Monty Hall opened door 2, and it revealed a goat, the probability of have a million dollars behind door 1.
Here comes into the most interesting part, let's figure out each probability of each assumed event. Without any daunts,
Okay, nothing changed. You still hold the equal probability as the first moment you picked up door 1. It means that even you have witnessed event
How this counterintuitive result comes? It could be explained by the asymmetric probability inference via explaining the behavior of Monty Hall. It is difficult to take the perspective of Monty Hall during a limited time. And of course, abstraction of this question sometimes let to incorrect assumes. I would like to write another note to review the process of my own inference, including an incorrect path. Do remember that after witness Monty Hall's trick, do change your option might lead to a million dollars award.
Summation operator
One useful result of
Another more general one:
A simple proof is below:
Expected value
- Need no reviews
Simply regard it as a weighted average is ok.
Variance
- Have to reintroduce the concept of variance again with other perspective
- My understanding of variance is quite intuitive, which refers to the mean squared distance between any value to their expected value.
- However, it is not enough, thus I have to reconstruct it
I think I missed one or two assumptions before to conceptualize a variance. Especially, I totally miss the assuming on
Then we define
Also, remind that the variance of any lineal transformation of
Covariance
Just remind the conceptualization of covariance (for example, of
Also, correlation should be mentioned here, the conception of it could be captured as the ratio of covariance of
Population model
This section should be well reviewed.
References
Causal Inference The Mixtape - 2 Probability and Regression Review (scunning.com)