primary function of statistical analysis