An ipython notebook to diff ipython notebooks

Here is something I needed recently that other people have been tweeting about needing, too: http://nbviewer.ipython.org/5649571

This could also a place to collect other ways to do it.

Comments Off on An ipython notebook to diff ipython notebooks

Filed under software engineering

Journal Club: Improving the Measurement of Maternal Mortality

This week in journal club we will read Improving the Measurement of Maternal Mortality: The Sisterhood Method Revisited by Merdad et al. A method I am quite fond of.

Comments Off on Journal Club: Improving the Measurement of Maternal Mortality

Filed under global health

Replication, replication

A colleague forwarded me this RFP specifically for replication of controversial impact evaluations. It includes a recent journal club article (by other IHME colleagues) on the candidate study list. Cool!

I’ve also made it really easy for someone to replicate the results in one recent paper I was involved in, on hepatitis C virus seroprevalence. Well, easy if you manage to get dismod installed… making that really easy is still on my to-do list.

Comments Off on Replication, replication

Filed under global health

Contest results

I mentioned in February a couple of contests that caught my eye, and the Whale Detection one turned out to be quite interesting. Now it has completed, and the prediction quality (AUC, if I recall correctly) has been raised from .72 to .98. Very cool.

Some links:

Comments Off on Contest results

Filed under machine learning

Journal Club: Incorporating Loss to Follow-up in Estimates of Survival

The week journal club will read Incorporating Loss to Follow-up in Estimates of Survival Among HIV-Infected Individuals in Sub-Saharan Africa Enrolled in Antiretroviral Therapy Programs by Vergut et al.

Comments Off on Journal Club: Incorporating Loss to Follow-up in Estimates of Survival

Filed under global health

Journal club: Effects of Newhints home-visits intervention

This week’s paper Effect of the Newhints home-visits intervention on neonatal mortality rate and care practices in Ghana: a cluster randomised controlled trial, by Kirkwood et al. Cluster randomized trials and meta-analysis, a good combination to put new results in the context of the old.

meta-analysis

Comments Off on Journal club: Effects of Newhints home-visits intervention

Filed under global health

hello, world of statistical graphics in IPython notebook

A few months ago, I had great success invoking the internet to come up with the “hello, world” of statistical graphics.

There are some exciting new developments in javascript-based plotting, and this graphic is just the thing to compare them. D3js has conquered the world in recent years, and is something that my colleagues are starting to think they need to know. Meanwhile, one of the d3js instigators has unveiled the next in his series of revolutions in data visualization, Vega. This is still in development, but may be more appropriate than d3js for routine plots. And it was very soon after the Vega specification and runtime appeared that a python package for it was also released.

Here is an IPython notebook comparing all of these options. The notebook doesn’t save javascript in a way that redisplays, but if you put it in your own notebook server and execute all the cells you should see something like this:

vincent_vega

p.s. google vincent vega to learn the pop culture joke behind this strangely named python package.

2 Comments

Filed under software engineering

Journal Club: Secret Paper

This week in journal club we are reading something that I’m not going to name, because it says “do not cite or distribute without permission” on the top of the paper. This secret paper sounds interesting, maybe I can tell you about it some day.

Comments Off on Journal Club: Secret Paper

Filed under global health

Methods debates

An interesting exchange has been going on regarding the GBD 2010 estimates of deaths due to HIV, published as part of our GBD work last December, along with mortality estimates for 234 other causes of death. The UNAIDS reference group comment, and my colleagues respond.

Comments Off on Methods debates

Filed under global health

ML in Python: Naive Bayes the hard way

A recent question on the PyMC mailing list inspired me to make a really inefficient version of the Naive Bayes classifier. Enjoy.

Comments Off on ML in Python: Naive Bayes the hard way

Filed under machine learning