전체 글
-
Placebos in DDCausality/3 2025. 3. 22. 13:42
https://mixtape.scunning.com/09-difference_in_differences#inference1. The Importance of Placesbos in DDThere are several tests of the validity of a DD strategy. I have already discussed one—comparability between treatment and control groups on observable pre-treatment dynamics. Next, I will discuss other credible ways to evaluate whether estimated causal effects are credible by emphasizing the u..
-
Difference-in-DifferencesCausality/3 2025. 3. 22. 12:10
https://mixtape.scunning.com/09-difference_in_differences1. John Snow's Cholera HypothesisWhen thinking about situations in which a difference-in-differences design can be used, one usually tries to find an instance where a consequential treatment was given to some people or units but denied to others “haphazardly.” This is sometimes called a “natural experiment” because it is based on naturally..
-
code example (8): weighting on the propensity scoreCausality/3 2025. 3. 20. 07:13
https://mixtape.scunning.com/05-matching_and_subclassification#example-the-nsw-job-training-programThere are several ways researchers can estimate average treatment effects using an estimated propensity score. As there are different ways in which the weights are incorporated into a weighting design, I discuss a few canonical versions of the method of inverse probability weighting and associated..
-
Interesting topic to think aboutCausality/thought 2025. 3. 19. 20:08
https://kiciman.org/With DoWhy, one of the projects I'm excited about is a PyWhy LLM. Right now, it's an experimental library starting up but what we're looking at is how we can incorporate LLMs into the analysis process with DoWhy. So using PyWhy LLM to help people use LLMs to generate causal graphs and to refute, to critique their assumptions. So plugging in certainly at the beginning and the ..
-
지각 인생Campus Life 2025. 3. 18. 19:07
학비랑 생활비로 나가는 지출로그냥 제주도에서 집을 사서회사를 다니든, 알바를 하든, 귤밭에서 귤을 따든그냥 맘껏 올레길 돌며 살았다면 어땠을까? 대학원을 진학한 건,안 그러면, 나중에 후회할 것 같아서 한 선택이었는데, 지금은 고통스럽지만, (졸업을 할 수 있을랑가도 몰겠지만) ㅎㅎ 시간이 많이 지난 후에 돌아보면,'내 자신, 잘 했다.' 할 것 같다. 그게 왜 하필 이 시점이어야 했을까, 왜 이렇게 많은 시간이 흐른 후에야 이런 선택을 할 수 있었을까? 내가 뭘 그렇게 대단한 걸 하면서 살아왔다고..돌아보면 딱히 이룬 것도 없고뭐 그리 엄청 바쁘고 중대한 일들을 하며 살아온 것도 아닌데.. 아이를 낳는 문제에 대해서도..나는 왜 지금까지 이 생각을 하지를 못하고 살았을까? 이건 좀 변론의 여지가 있는 ..
-
code example (7): matching - propensity score methodsCausality/3 2025. 3. 18. 11:35
https://mixtape.scunning.com/05-matching_and_subclassification#exact-matchingPropensity score methodspropensity score matching is an application used when a conditioning strategy can satisfy the backdoor criterion. But how exactly is it implemented? Propensity score matching takes those necessary covariates, estimates a maximum likelihood model of the conditional probability of treatment (usuall..
-
code example (6): matching - nearest neighbor covariateCausality/3 2025. 3. 18. 08:13
ttps://mixtape.scunning.com/05-matching_and_subclassification#exact-matchingSubclassification uses the difference between treatment and control group units and achieves covariate balance by using the K probability weights to weight the averages. The subclassification method is using the raw data, but weighting it so as to achieve balance. We are weighting the differences, and then summing over t..