# Direct way to test hypothesis?

The standard procedure for the hypothesis testing is that we state the null hypothesis and the alternative, and then we see if we can reject the null hypothesis.

Then, if we can reject the null hypothesis, we accept the alternative.

In my class, the professor explained the similarity between this argument and the proof by contradiction.

Now I got the question: in mathematics, we can prove theorems directly, not just by contradiction.

So, is there a way to “directly” test the validity of a hypothesis?

I am pretty sure this has been asked elsewhere, but I could not find the duplicate.

• In my opinion, Bayesian testing could do the job. You first define the priors over the hypotheses, then update them using the data, and finally, accept the hypothesis with the greater posterior. You should, however, be aware that the Bayesian probability is one's degree of belief, not a long-term frequency as in the standard hypothesis testing. Dec 26, 2021 at 6:07
• Likelihoods would allow you to assess the evidential support for all of the possible hypotheses in a statistical model. The ratio of likelihoods gives you the relative support, and it is possible to make inferences directly from the likelihoods. If you want probability-based inferences then you need to use Bayesian processing of the likelihoods. Dec 26, 2021 at 6:23