private boolean testHypothesis() {
        if (hypothesis == Hypothesis.LESS_THAN
                && testStatistic < criticalRegion) {
            return true;
        }
        else if (hypothesis == Hypothesis.GREATER_THAN
                && testStatistic > criticalRegion) {
            return true;
        }
        else if (hypothesis == Hypothesis.NOT_EQUAL
                && (testStatistic < lowerRegion ||
                        testStatistic > upperRegion)) {
            return true;
        }
        else
            conclusion = "Test statistic is NOT within the critical region \n"
                    + "Do NOT reject the null hypothesis";
        return false;
    }