Could someone please explain the logic of the reasoning behind why we reject the $H_0$ if the $\alpha$ exceeds the $p$ value
What I understand is that $\alpha$ is the probability of making a type 1 error if $H_0$ is true.
$p$ value is the likelihood of getting a value more to the right or left of your test stat if the $H_0$ is true (probability of getting a test stat that favors $H_a$ more)
So if $\alpha>p$ value means we reject $H_0$
Then it must mean that if the probability of making an error while $H_0$ is true is larger than the probability of getting a value more the to the right of your test statistic then reject $H_0$. How does that logic add up? Could someone explain the reason behind the why we reject $H_0$?
Thank you