setup for statistical tests