Returns the statistics, pvalues and the actual number of bootstrap
            samples.

def get_ts_stats_significance(self, x, ts, stat_ts_func, null_ts_func, B=1000, permute_fast=False, label_ts=''):
        """ Returns the statistics, pvalues and the actual number of bootstrap
            samples. """
        stats_ts, pvals, nums = ts_stats_significance(
            ts, stat_ts_func, null_ts_func, B=B, permute_fast=permute_fast)
        return stats_ts, pvals, nums