The Python and Matlab scripts can downloaded from here:
Interactive tutorial files, designed to illustrate basic concepts.
Running the code opens up an interactive figure window.
When you click on a figure to add new points,
the statistical tests shown in the figure change accordingly.
The code has lots of comments in it, which attempt to explain the
concepts as explicitly as possible. No prior knowledge of Python or
statistics is assumed….