Comparing two samples
In the following, we are given two samples, which can come either from the same or from different distributions, and we want to test whether these samples have the same statistical properties.
Comparing means
Test with samples with identical means:
>>> import scipy.stats as stats
>>> rvs1 = stats.norm.rvs(loc=5, scale=