New paper out: http://journals.plos.org/plosone/article?id=10.1371/journal.pone.0131834
Category Archives: Uncategorized
Injury Epidemiology of Baghdad
Comments Off on Injury Epidemiology of Baghdad
Filed under Uncategorized
Cool idea: JoVE
Here is a super-cool approach to making science more reproducible: the journal of visualized experiments http://www.jove.com/
Here is an example: http://www.jove.com/video/2065/combining-behavioral-endocrinology-experimental-economics
Comments Off on Cool idea: JoVE
Filed under Uncategorized
Medium data in Python: loading a 10G .dta file
Here is a little recipe I cooked from today, a way to load a large Stata file into Python that you can cancel and still get something to play around with. I put it in an old StackOverflow question, so can somebody upvote it for me?
Comments Off on Medium data in Python: loading a 10G .dta file
Filed under Uncategorized
A bit confusing: zooming and tooltips in mpld3
Here is an answer to a question about zooming and tooltips in mpld3: http://stackoverflow.com/questions/31122064/tooltips-disappear-after-zoom-in-out-when-using-matplotlib-mpld3/31843371#31843371
I like the animation I made to answer it, but it is also something worth considering changing, because this interface *is* a bit confusing.
Comments Off on A bit confusing: zooming and tooltips in mpld3
Filed under Uncategorized
Faster, clearer code with Python Pandas
Today I learned about DataFrame.query and DataFrame.eval, which I first saw when I was looking over some students’ shoulders during code review last quarter. Very cool way to make things faster to run and to read: https://gist.github.com/aflaxman/f40ecd3c3eb33f5ab8d2
Comments Off on Faster, clearer code with Python Pandas
Filed under Uncategorized
Some Python libraries to watch
http://ioam.github.io/holoviews/Tutorials/Introduction with led me to https://ioam.github.io/param/ which could be useful for lots of scientific computation.
Comments Off on Some Python libraries to watch
Filed under Uncategorized
Here is a careful recap of the journalistic coverage of Iraq mortality estimation
> Some scientists think that’s what’s really needed: for journalists to simply learn more about statistics in order to better weigh the validity of new studies as they report on them.
Comments Off on Here is a careful recap of the journalistic coverage of Iraq mortality estimation
Filed under Uncategorized
How do we stop data errors?
On my mind, due to some careful checking of results prior to submissions. Nothing substantive changed, but the numbers have to be right.
Correction
Data Errors in Results Section
JAMA. 2015;314(1):86 doi:10.1001/jama.2015.6076
Data Errors in Table 2
JAMA. 2015;314(1):86 doi:10.1001/jama.2015.6072
Data Errors in Table 3 and in Text
JAMA. 2015;314(1):86 doi:10.1001/jama.2015.6074
Incorrect Data in Table 4
JAMA. 2015;314(1):86 doi:10.1001/jama.2015.5464
Filed under Uncategorized
ADVI in PyMC3
I don’t know how to use it and I don’t know if it works yet, but I’m watching the demos grow: https://github.com/pymc-devs/pymc3/blob/2250386c826e8744e13654188074dd69dad829de/pymc3/examples/advi.ipynb https://github.com/pymc-devs/pymc3/blob/01312efb319f45ec81824f7eccfea69e7b5a7ba1/pymc3/examples/GLM-hierarchical-ADVI.ipynb
I think I want some
Comments Off on ADVI in PyMC3
Filed under Uncategorized
Uncertainty quantification by clinicians
I continue to be drawn to articles in JAMA Oncology about how we wrestle with uncertain information in life-and-death decision making:
http://oncology.jamanetwork.com/article.aspx?articleID=2398178
http://oncology.jamanetwork.com/article.aspx?articleID=2398176
Comments Off on Uncertainty quantification by clinicians
Filed under Uncategorized