Consider the simple linear model:
$\vec Y=\beta_0+\beta_1 \vec X +\vec \varepsilon$
When I have read up on discussions about the different statistical tests that can be run on the model's slope coefficient $\beta_1$, I have exclusively seen the following null hypothesis / alternative hypothesis set up:
\begin{align} &H_0: \beta_1 =0 \\&H_a:\beta_1 \neq 0 \end{align}
With this particular test, there is then a $t$ statistic whose formula is given as $\beta_1$ divided by the standard error of $\beta_1$.
My question is what if I was instead interested in the following null hypothesis:
\begin{align} &H_0: \beta_1 \leq0 \\&H_a:\beta_1 \gt0 \end{align}
How exactly would I carry this out?
Is it possible to simply construct confidence intervals around $\beta_1$ (at a particular significance level) and if my resulting interval $(\beta_1-\delta,\beta_1+\delta)$ is strictly positive, I can then conclude that $\beta_1$ must be a positive number (as opposed to simply a non-zero number, which is what the prior hypothesis test would have provided us with)?