전체 글
-
15. Synthetic ControlCausality/2 2025. 3. 30. 07:45
https://matheusfacure.github.io/python-causality-handbook/15-Synthetic-Control.htmlOne Amazing Math Trick to Learn What can't be KnownWhen we looked at difference-in-difference, we had data on multiple customers from 2 different cities: Porto Alegre and Florianopolis. The data span 2 different time periods: before and after a marketing intervention was done in Porto Alegre to boost customer depo..
-
14. Panel Data and Fixed EffectsCausality/2 2025. 3. 27. 12:13
https://matheusfacure.github.io/python-causality-handbook/14-Panel-Data-and-Fixed-Effects.htmlIn the previous chapter, we explored a very simple Diff-in-Diff setup, where we had a treated and a control group (the city of POA and FLN, respectively) and only two periods, a pre-intervention and a post-intervention period. But what would happen if we had more periods? Or more groups? Turns out this ..
-
13. Difference-in-DifferencesCausality/2 2025. 3. 27. 08:58
https://matheusfacure.github.io/python-causality-handbook/13-Difference-in-Differences.htmlThree Billboards in the South of BrazilThe problem with billboard and TV ads is that it is hard to know how effective they are. Sure, you could measure the purchase volume, or whatever you want to drive, before and after placing a billboard somewhere. If there is an increase, there is some evidence that th..
-
12. Doubly Robust EstimationCausality/2 2025. 3. 27. 07:25
https://matheusfacure.github.io/python-causality-handbook/12-Doubly-Robust-Estimation.htmlDon't Put All your Eggs in One BasketWe’ve learned how to use linear regression and propensity score weighting to estimate E[Y|T=1]−E[Y|T=0]|X. But which one should we use and when? When in doubt, just use both! Doubly Robust Estimation is a way of combining propensity score and linear regression in a way y..
-
Backpropagation & ConvolutionCampus Life 2025. 3. 26. 18:59
Cheat sheet for assignment. backpropagation 넘나 어려운데.. 저만 그런가요..? 수업 시간에 다른 거 하시는 분들은.. 이미 다 알고 계신건가요..? 내가 진짜 기초가 부실하긴 한가보다..ㅠ 이거.. 그냥 "어 그래 chain rule이지" 막연하게 이해하고, torch autograd를 당연하게 쓰는 거랑,손으로 직접 계산해보고 실제 구현하는 거는 완전 어나더 레벨인뎅.. assignment1은 눈누난나 '재밌다~' 하며 했고.. (broadcasting해서 vectorize하는 거는 도저히 머리 속에 그려지지가 않아서, 대충 dimension 감으로 때려맞추다가 얻어 걸린 걸로 해결했지만 ㅎㅎ 소 뒷걸음질치다가 개구리 잡음). assignment2는 꼬박 하루 온종..
-
11. Propensity ScoreCausality/2 2025. 3. 26. 07:31
https://matheusfacure.github.io/python-causality-handbook/11-Propensity-Score.htmlThe Psychology of GrowthThe field of positive psychology studies what human behaviours lead to a great life. You can think of it as the intersection between self help books with the academic rigor of statistics. One of the famous findings of positive psychology is the Growth Mindset. The idea is that people can hav..