So suppose after a simpple OLS regression we want to know what the chance(P-value) is that the Beta coefficient is 0 . First we assume that many random processes caused the errors ($\epsilon\!_i$), meaning that the residual is normally distributed white noise with mean of μ and standard deviation of σ.
How can we deduct the shape and standard deviation of the beta coefficient's probability distribution using this information. IE. How does the second formula presented below (also equaling the standard deviation of the errors) arise from this fact?
How does increasing the sample size affect the confidence that the beta coefficient is 0, when the population mean and variance are known (that is Z distribution is used)?
Here are the relevant mathematical formulas:
Simple regression:
$X=Y+\epsilon\!_i$
B's standard error(=standard deviation of B): $\sqrt[2]{\dfrac{\sum_{1}^{n}(\epsilon\!_i)^2}{N}}$ = $\sqrt[2]{\dfrac{\sum_{1}^{n}(Y_i-Ý_i)^2}{N}}$
Z-value =$B/S(B)$ = $B$$\sqrt[2]{\dfrac{N}{\sum_{1}^{n}(Y_i-Ý_i)^2}}$
If $(Y-Ý)$ is constant the standard error won't change as a result of increasing N and thus the p-value won't change either. Is this reasoning correct?