-
Recent Posts
Twitter Updates
- Where do virus names like SARS and MRSA come from? wp.me/p1vcSX-CF 6 hours ago
- More on Food Truck Regulation wp.me/p1vcSX-CH 2 days ago
- The coming fight over net neutrality, and why you should care wp.me/p1vcSX-CL 5 days ago
Archives
- May 2013
- April 2013
- March 2013
- February 2013
- January 2013
- December 2012
- November 2012
- October 2012
- September 2012
- August 2012
- July 2012
- June 2012
- May 2012
- April 2012
- March 2012
- February 2012
- January 2012
- December 2011
- November 2011
- October 2011
- September 2011
- August 2011
- July 2011
- June 2011
- May 2011
- April 2011
Links
- A Fine Theorem
- Andrew Gelman
- Brendan Nyhan
- Cheap Talk
- Chris Blattman
- Flowing Data
- Kids Prefer Cheese
- Kieran Healy
- Marc F. Bellemare
- Marginal Revolution
- Modeled Behavior
- My Dataverse
- My Github
- Phil Arena
- Political Methodology
- Restricted Data blog
- The Monkey Cage
- Tunes for Bears
- Turing's Invisibile Hand
- WhyHat?
Meta
Tag Archives: Python
Python for Political Scientists, Spring 2013 Recap
This spring Josh Cutler‘s Python course was back by popular demand. (This time it was known as “Computational Political Economy” but I like the less formal title.) I participated this time around as a teaching assistant rather than student, and … Continue reading
The Political Economy of Scrabble: Currency, Innovation, and Norms
In Scrabble, there is a finite amount of resources (letter tiles) that players use to create value (points) for themselves. Similarly, in the real world matter cannot be created so much of human effort is rearranging the particles that exist into … Continue reading
Posted in Uncategorized
Tagged behavior, crime, culture, data, economics, education, entertainment, fun, game theory, games, how-to, humor, micro-institutions, micro-institutions everywhere, political economy, politics, programming, Python, rationality, rent seeking, technology
2 Comments
Simulating the NLDS: Can the Giants Win?
In Allen Downey’s new book, Think Bayes, he relates the “Boston Bruins” problem. The problem is to estimate the Bruins’ probability of winning the 2010-2011 NHL championship after two wins and two losses. I will briefly describe Downey’s approach, and … Continue reading
Posted in Uncategorized
Tagged baseball, data, fun, programming, Python, R, simulation, sports, statistics
Leave a comment
Wednesday Nerd Fun: Python for iOS
This one is short and sweet. Would you like to be able to write Python code on an iOS device? Now you can, with this app. I have spent some time playing around with the app this week, and it … Continue reading
Posted in Uncategorized
Tagged education, entertainment, fun, how-to, iOS, iPad, iPhone, nerd, online learning, programming, Python, python programming
Leave a comment
Getting Started with Prediction
From historians to financial analysts, researchers of all stripes are interested in prediction. Prediction asks the question, “given what I know so far, what do I expect will come next?” In the current political season, presidential election forecasts abound. This … Continue reading
Posted in Technical, Uncategorized
Tagged artificial intelligence, expectation, genetics, history, information technology, mathematics, politics, probability, programming, Python, regression, Ruby, statistics, technical
Leave a comment
Schelling’s Model of Segregation (Python)
Over the weekend I implemented a version of the agent-based model from Thomas Schelling’s 1971 paper in Python. Schelling’s story about segregation is simple: there are two colors of agents, happiness is based on whether two or more of your … Continue reading
Posted in Uncategorized
Tagged computational modeling, ethnicity, politics, programming, Python, T Schelling
Leave a comment
A Model of Conflict: Iwo Jima
This blog has discussed conflict statistics before, as well as some of the widely acknowledged problems with adapting “physics models” to the social sciences. To provide some context to that debate, I thought I would share an example that I … Continue reading
Posted in Uncategorized
Tagged computational modeling, conflict, graphs, international relations, politics, Python, statistics, violence, war, WWI
Leave a comment
Ethical Programming
Don’t let anyone tell you that as a programmer you don’t have to make moral or ethical decisions. Every time you decide that making users feel stupid is better than fixing your code, you’re making an ethical decision. – Joel … Continue reading
Posted in Uncategorized
Tagged data, ethical programming, ethical statistics, ethics, programming, projects, Python, R, research, technical
Leave a comment
PyCon 2012 Video Round-Up
The videos from PyCon 2012 are posted. Here are the ones I plan to watch, along with their summaries: Checking Mathematical Proofs Written in TeX ProofCheck is a set of Python scripts which parse and check mathematics written using TeX. Its … Continue reading
Posted in Uncategorized
Tagged Bayesian statistics, data, fun, GIS, how-to, LaTeX, mapping, nerd, Python, SQL, statistics, technical, TeX, web scraping
Leave a comment