Development of the theoretical basis for statistical hypothesis testing with calculation of sample data sets