Jan Zilinsky

Political Science & Economics

All Stories Page 1 of 20  

Conferences, 2019

This year I gave or will give talks at these venuesEconomics Science Association meeting (January), Abu Dhabi.Division of Social Sciences / Winter Experimental Social Sciences Institute...

Popular TV personalities in 2006

The Cooperative Congressional Election Study (CCES) survey asked respondents to rate various personalities, so you could run some models to see whether people's cultural tastes are...

A good proposal from Kamala Harris (and a lazy justification)

Harris and others want to put an end to electronic (paperless) voting for federal offices:My colleagues and I have just introduced a bill to require...

Degrees and courses in Data Science

A year ago, I saw this announcement in the Harvard Yard:Observed in the habitat earlier today: pic.twitter.com/PCMUJOXQcE— Jan Zilinsky (@janzilinsky) August...

Demonstrating the Frisch–Waugh–Lovell theorem with Stata

How would you display bivariate relationships in a multivariate context? Use the FWL theorem to partial out non-essential effects....

How Democrats, Republicans, and Independents view 16 groups

Here are thermometer ratings from the 2017 VOTER Survey, broken down by party ID. A static version of this chart was posted here. if("undefined"==typeof...

Choosing colors for charts: examples and references

After ColorBrewer, now a very popular helper, what's next? Using these two tools, I stored several colors I want to use in my charts made in...

Out of sample predictions from OLS regressions: a K-folds tutorial in R

Evaluating predictions out of sample, OOS. Splitting datasets into training and test, holdout data using R....

What bothered voters about Hillary Clinton?

Some Democrats were put off by Clinton-related controversies in the months before the 2016 election....

How America voted in 2016: A generational divide?

Half of young Americans are either conservative or moderate. But many ideological moderates voted for Clinton in 2016....

Young people across Europe desire free and fair elections

Young Europeans want free and fair elections no less than middle-aged or older citizens. The following calculations of country-cohort averages show that young people -- in...

Pre-processing text data with tm, quanteda & tidytext packages

Suppose you start with some sentences / passages / documents, and you want to pre-process the corpus before generating a document-term matrix (DTM, or DFM). This post will...

Page 1 of 20