I've done loads of hypothesis tests for the mean where the null hypothesis is of the form $H_{0}=a$. Now I've come across one where the hypotheses are like
$H_{0}{\leq}a$ and $H_{1}>a$.
How does this affect the test statistic and critical value calculation?
Thanks
If you have a one-sided test (i.e. you have a direction, say greater than, for the inequality for the alternate hypothesis) then the null hypothesis $H_0: X = a$ is equivalent to the null hypothesis $H_0: X \leq a$. So the test remains the same.