@denislimaealves @PogrebnyakE@Al_Grigor def groups(xs):
cur = xs[0]
res = [xs[0]]
for x in xs[1:]:
if x == cur:
res.append(x)
else:
yield res
cur = x
res = [x]
yield res
def counts(xs):
return [(g[0], len(g)) for g in groups(xs)]
@jasonwides @DinaPomeranz Virus is easier to relate to - many similar historic events, people know or can learn about, also it occurs more often. Clear impact on human life. Climate change - slow, hard to imagine of magnitude and no historic example, so harder to catch same attention compared to a flu.
Reminder that I keep a list of free CS-related textbooks shared openly by their authors https://t.co/Ln3ADHanXq (recently added more ML and computational linguistics books) Suggestions welcome.
Overfitting is probably the most important concept that is missing from mainstream econometrics classes. Caltech prof Yaser Abu-Mostafa has an incredible intro lecture to overfitting here from his ML course: https://t.co/M2627vFAeN
@lnsongxf has starred 344 @Github resources on computational economics, mainly macro (DSGE / MATLAB, Dynace, C++, solvers), but also of general interest (eg time series).
Recommended as a good aggle to a sparse universe of economics on @Github.
https://t.co/EsOhzd8cLO
This is a very nice overview of the different (regression-based) "Machine Learning" techniques that are now becoming popular in econometrics/economics.
https://t.co/m0P6YatmKN
For the next month or so, I plan to mention an Econometrics paper that I really enjoy reading. I will try to do this every Monday.
The first paper of this series is by @asheshrambachan and @jondr44, "An Honest Approach to Parallel Trends"
Link here: https://t.co/OFVid0HNgJ