A/B Testing With Limited Data
elem.com
elem.com
However I would not recommend holding your breath too eagerly for the next one. According to a back of the envelope calculation, the opportunity cost on each article has been about $4k for me. I think I know what I want to write, then I begin adding things, removing things, play around with extra simulations, decide to change subtle details, etc. I think I know what I want to write for the next one as well, but I said that the last two times. Therefore I should assume that the same thing will happen the next time.
I want to do this series. So it will happen eventually. But I can't afford to pump them out quickly.
I'm sorry to hear that you feel the opportunity cost pain so severely. It might not be worth it to you in the larger scheme of things, but I think you could definitely package up and sell an expanded version of this series that spends more time elaborating the value proposition and provides some simplified decision processes for various common situations. More Fisher than Jaynes.
This subject is particularly hard, because I'm trying to require as little background as possible, on a topic that normally requires much more.
The value of further published material might be improved by this kind of publication as well.
Out of curiosity, is that rough guess with or without the value of everything you're learning in the second sentence?
So no, I'm not valuing my increase in knowledge. And am not valuing the publicity that these articles have received. (Though the fact that I have people ready to pay me for my time suggests that I don't need marketing at the moment.) It is a look at where my bank account stands right now relative to where it would have stood if I had not chosen to write these articles.
In particular the choice of a Bayesian prior is as arbitrary as anything that I've done so far. And how you do it hides some important implicit assumptions. That said, a Bayesian framework does have substantial conceptual advantages over the frequentist approaches that I've used so far.
The Bayesian approach is indeed quite simple and understandable.
http://blog.custora.com/2012/05/a-bayesian-approach-to-ab-te...
And if you have actual data/projections about future visitors, it is less ad hoc.
However the prior actually matters. For instance when you look at what Nate Silver did, most of the mathematical horsepower went to determining a really good prior to use based on historical data. And armed with that he both can and does make inferences. (Which he's willing to publish.)
That said, the Bayesian approach is conceptually so much better that Bayesian with a questionable prior can be better than a frequentist approach.
Finally the fact that a Bayesian approach needs a somewhat arbitrary planning horizon does not particularly bother me. Financial theory tells us that businesses really should apply a discounting factor to future projected income, and when you apply an exponentially decaying discounting factor, the weighted number of future visitors generally comes out to a finite number. And yes, there are a lot of arbitrary factors in how you get to that number. But you can generally do it in a reasonable enough way to be way less sloppy in your A/B test than every other part of the business is. Heck - you can just say that your planning horizon is 1 year, and use the expected number of visitors in that time as a cutoff.
Anyways I'd like to eventually get into this kind of issue with this series. But whether I can, I don't know. It certainly will be hard if I keep on trying to pitch it to the level of mathematical background that I've been aiming for so far.
I don't know anyone who runs an experiment until they find "significance". That's comparable to only reporting outliers. What if the variable you are testing is simply not causal? That's why you pick the sample size before running the experiment, based on the minimum causal effect you want to detect.
The main point of this article is to give people a sense of what a more organized "giving up" curve could look like. And also to give them some much more concrete information about what their potential for serious error is.
My only advice:
body { font-family: Georgia, serif; line-height: 1.5; margin: 0 auto; max-width: 640px; }
But if you want a longer presentation about how to do A/B testing, with various gotchas, development considerations, and so on, http://elem.com/~btilly/effective-ab-testing/ is a tutorial that I did at OSCON a few years ago. (Be warned, it is long and divided into sections. Different sections are aimed at different people in a business.)