So he decided to try analysis in js, allowing users to input their own data and get graphics for all the parameters they might be interested in. And not just with any old simple analysis, Bååth programmed an MCMC Bayesian version of a t-test. The code is part of the web page, and this is then interpreted and run inside your browser – even on a smartphone!
I ran the default setup, burn-in of 20,000 iterations and then saving results from 20,000 more, and that took 34 seconds – on a Samsung S3! Pretty impressive.
So, a new paradigm of interactivity could be opening up through your web browser. Once upon a time, we could only zoom into maps or select from a series of graphs. Then, we had graphics dynamically changed by our filtering and selection of data. What’s next? Perhaps we will actually be fine-tuning the analysis and looking at the results instantly, without requiring any software.