Federico Vegetti

random political research things

blog

This is a blog that I started as I made this site in 2017, and haven't updated since. I wanted to take it down but I occasionally get emails asking about the weighting procedure in R (even though the code doesn't run anymore cause the packages on which it was based changed, but it seems the explanation is still useful to some) so I figured I'll leave it here. The other post is about music and it won't hurt :)

Eight good albums of 2017

Music lovers know that we live in the age of abundance. Every year, tons of very good records keep pouring out of the internet, and while many people resort to algorithms to navigate this sea, for many others there is always a constant feeling that you are missing something. Truth is, too much abundance is cognitively demanding, and our cognitive resources are still scarce. Personally, I find comfort in exchanging music suggestions with friends. I like to trust others’ judgment, and I like to search for the good into something that someone else said it’s good. Empathy is a good way to make up for uncertainty. That’s why I like amateur end-of-year lists: they are like a bunch of recommendations from a friend who likes music.

Read More

Weighting the CUPESSE data

This post describes the procedure used to produce post-stratification and country population weights for the CUPESSE data. It provides a short description of the weights available in the dataset, and it describes in detail the procedure used to compute them. Weights have been generated using R version 3.3.2 and the survey package version 3.31-5. Other packages used to write this post are knitr, plyr, and ggplot2.

Read More