All posts filed under: Main

More SOTU Scaling

Leave a comment
Main

A couple of days ago the Monkey Cage featured Ben Lauderdale’s one-dimensional scaling model of US State of the Union addresses. In this post, I replicate the analysis with a closely related model, ask what the scaled dimension actually means, and consider what things would look like if we added another one. The technical details are all at the bottom of the post if you want to try this at home.

Call them what you will

comments 8
Main

I’ve been playing around with the R package texreg for creating combined regression tables for multiple models. It’s not the only package to do that – see here for a review – but it’s often handy to be able to generate both ascii art, latex, and html versions of the same table using almost identical syntax. Also, the ascii art creating screenreg function allows me to bypass the pdf construction cycle I previously described here. The […]

Damaged and can’t be opened

Leave a comment
Main

Perhaps you tried to open some application or mount some DMG on your Mac and encountered the following alarming message “[Application] is damaged and can’t be opened. You should move it to the trash.” Perhaps it is indeed damaged. But more likely it is just not signed by its developer or not made available from the AppStore, depending on how tight your security preferences are set. A less misleading message would certainly be nice. If […]

Which political science journals will have a data policy?

comments 5
Main

Making available replication materials for the research you do is A Good Thing. It’s also work, and it’s quite easy to never get around to. Certainly I claim no special virtue in this department so I am always happy when there’s an institutional stick to prod my better nature in the right direction. One such institutional prod comes from academic journals and their data policies.  If you have to give them your replication data before you […]

R to Latex packages: Coverage

comments 9
Main

There are now quite a few R packages to turn cross-tables and fitted models into nicely formatted latex. In a previous post I showed how to use one of them to display regression tables on the fly. In this post I summarise what types of R object each of the major packages can deal with. Unsurprisingly, there’s quite some variation…

Tools for making a paper

comments 21
Main

Since it seems to be the fashion, here’s a post about how I make my academic papers. Actually, who am I trying to kid? This is also about how I make slides, letters, memos and “Back in 10 minutes” signs to pin on the door. Nevertheless it’s for making academic papers that I’m going to recommend this particular set of tools. I use the word make deliberately because I’m thinking of ‘academic paper’ broadly, as […]

Quantifying the international search for meaning

comments 4
Main

Inspired by Preis et al.’s article Quantifying the advantage of looking forward, recently published in Scientific Reports (one of Nature publishing group’s journals), I wondered if similar big-data web-based research methods might address a question even bigger than how much different countries wonder about next year. How about the meaning of life. Who is searching for clarification about the meaning of life? And how is that related to the more obvious life task of getting […]

No more ascii-art

Main

At least fourfive R packages will turn your regression models into pretty latex tables: texreg, xtable, apsrtable, memisc, and stargazer.  This is very nice if you happen to be a latex document or its final reader, but it’s not so great if you’re making those models to start with. What if you wanted to see these as you were working on them? In particular what if you wanted to see all your models lined up […]