Jan Zilinsky

 

Jan Zilinsky's Stories Page 1 of 25  

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...

Trust in the EU climbing up in Slovakia

The EU is more popular in Slovakia than a cursory look at political debates would make you believe....

Working more efficiently with RStudio

For most of social science work Stata is all we "need". But it costs money, it's not friendly if you need to show model...

Voting patterns in 2016: Partisanship

Most partisans - Democrats and Republicans - voted for the candidate their own party nominated....

Page 1 of 25