Author: Will

Configuring Azure and RStudio for text analysis

comments 2
Main

I just finished teaching Computer-Assisted Content Analysis at the IQMR summer school at Syracuse. With three lecture and three labs the problem every year is getting the right R packages onto people’s machines. In particular, anything that involves compilation – and when you’re using quanteda, readtext, and stm, that’s lots of things – is going to be trouble. Over the years, R and the various operating systems it has to live in have got a […]

How to run a course (if you’re me)

comment 1
Main

Last summer, I and my trusty henchpeople from the Department of Politics ran an intensive six week summer course for incoming freshmen on data science (‘POL245’, for locals). This post sketches out how I think course infrastructure should work, and provides some practical details of how we arranged things.  Most of our structures worked pretty well. Some didn’t, so I also try to say what we’ll do differently next time. Some of this is, inevitably, […]

Packaging the TheyWorkForYou API

comments 3
Main

TheyWorkForYou is a great website for keeping up with British politics and one of the many fine things mySociety does to make democracy in the UK more transparent. There’s also an API, accessible via http and wrapped up for a few languages. However, R is not amongst them, so I wrote twfy. You can install it from CRAN. It was my first proper API package and a bit of a learning experience. If you want […]

No, Bayesians don’t think all parameters are random

Leave a comment
Main

Pretty regularly – usually in the middle of one of those interminable fixed-vs-random effects discussions – someone will pipe up that “Of course, for Bayesians this random vs fixed effect distinction makes no sense because all parameters are random”. To the extent it can be made to make sense, the claim is false. It’s also unhelpful because it’s pretty much guaranteed to confuse and put-off people who have better things to do than pay attention […]

Voting and vaccinating

Leave a comment
Main

Some people think it isn’t rational to vote. Usually the argument is as follows: the probability of being pivotal, that is: the probability that your vote will ‘decide’ the winner, shrinks rapidly as the number of voters increases. So if you vote in the hope of determining an outcome, then the probability of that happening is small enough for it not to be worthwhile trying. Let’s leave aside the virtues of this argument and consider […]

Premises

Leave a comment
Main

A: You know I like the idea of using logic and logical deduction to understand how thinking should be done. This idea that beliefs are, or at least should be, the conclusions of deductive arguments is very clear and elegant. But I do worry… B: You worry?  Tell me about your worries.

What’s so great about real names?

Leave a comment
Main

A little while back a New York Times article discusses the consequences for college admission of saying undiplomatic things in social media. Apparently colleges monitor, or at least check up on, the social media presence of their potential applicants to see whether they’re the right kind of person for the school. Inevitably, students scrub, curate, or simply hide their account in response. Leaving aside the possible rights and wrongs of this behaviour, we might ask: how […]