Blog Archives

Regression with Python, pandas and StatsModels

September 14, 2014
By
Regression with Python, pandas and StatsModels

I was at Boston Data-Con 2014 this morning, which was a great event.  The organizer, John Verostek, seems to have created this three-day event single-handedly, so I am hugely impressed.Imran Malek started the day with a very nice iPython tutorial....

Read more »

New study: vaccines prevent disease and death

August 29, 2014
By
New study: vaccines prevent disease and death

According to an exciting new study, childhood vaccines are almost miraculously effective at preventing suffering and death due to infectious disease.Sadly, that is not actually a headline, because it doesn't generate clicks.  What does generate cl...

Read more »

An exercise in hypothesis testing

August 22, 2014
By
An exercise in hypothesis testing

I've just turned in the manuscript for the second edition of Think Stats.  If you're dying to get your hands on a copy, you can pre-order one here.Most of the book is about computational methods, but in the last chapter I break out some analytic m...

Read more »

More likely to be killed by a terrorist

July 18, 2014
By
More likely to be killed by a terrorist

I am working on the second edition of Think Stats, adding chapters on some topics that didn't make it into the first edition, including survival analysis.  Here is the draft of the new chapter; this post contains some of the highlights.Survival an...

Read more »

Bayesian solution to the Lincoln index problem

July 10, 2014
By
Bayesian solution to the Lincoln index problem

Last year my occasional correspondent John D. Cook wrote an excellent blog post about the Lincoln index, which is a way to estimate the number of errors in a document (or program) by comparing results from two independent testers.  Here's his pres...

Read more »

Yet another power-law tail, explained

June 4, 2014
By
Yet another power-law tail, explained

At the next Boston Python user group meeting, participants will present their solutions to a series of puzzles, posted here.  One of the puzzles lends itself to a solution that uses Python iterators, which is something I was planning to get more f...

Read more »

Implementing PMFs in Python

May 8, 2014
By
Implementing PMFs in Python

Last year I gave a keynote talk at PyCon Taiwan called "Python Epistemology," and I wrote this blog article about it.  The video is here, but unfortunately the sound quality is poor.  In the talk, I demonstrate the use of a Counter, one ...

Read more »

Bayes’s theorem and logistic regression

April 28, 2014
By
Bayes’s theorem and logistic regression

This week's post has more math than most, so I wrote in it LaTeX and translated it to HTML using HeVeA. Some of the formulas are not as pretty as they could be. If you prefer, you can read this article in PDF. Abstract: My two favorite topics in probability and statistics are Bayes’s theorem and logistic regression. Because there are similarities between them, I have always assumed that there…

Read more »

Inferring participation rates in service projects

April 21, 2014
By
Inferring participation rates in service projects

About a week ago I taught my tutorial, Bayesian Statistics Made Simple, at PyCon 2014 in Montreal.  My slides, the video, and all the code, are on this site.  The turnout was great.  We had a room full of enthusiastic Pythonistas who are...

Read more »

Think X, Y and Z: What’s in the pipeline?

April 12, 2014
By
Think X, Y and Z: What’s in the pipeline?

Greetings from PyCon 2014 in Montreal!  I did a book signing yesterday at the O'Reilly Media booth.  I had the pleasure of working side by side with David Beazley, who was signing copies of The Python Cookbook, now updated for Python 3 and, I...

Read more »


Subscribe

Email:

  Subscribe