In the context of jointly testing J linear restrictions, I am reviewing the distribution of the F-statistic, which is F(J, n-k). Below, R is a full row rank Jxk matrix, q is a Jx1 vector, and the null hypothesis tested is $H_0:R\beta-q=0$. We assume that residuals are homoskedastic and that they are conditionally normal.
I have that
$$F=(Rb-q)'[R(X'X)^{-1}R']^{-1}(Rb-q)/Js^2 \\=(Rb-q)'[R(X'X)^{-1}R']^{-1}(Rb-q)/J\sigma^2/(s^2/\sigma^2)$$ and this should be $\sim{F(J, n-k)}$
It should follow from the distributional result that, given two independent random scalars $x_1\sim{\chi^2(p_1)}$ and $x_2\sim{\chi^2(p_2)}$, it holds that
$$(x_1/p_1)/(x_2/p_2)\sim{F(p_1,p_2)}$$
In our case, we have that: $$x_1=(Rb-q)'{R(X'X)^{-1}R'(Rb-q)/\sigma^{2}}$$ $$p_1=J$$ $$x_2=s^2/\sigma^2$$ and then $p_2$ should be $n-k$. But here $x_2$ is not divided by $n-k$.
My intuition:
since we know that $(n-k)(s^2/\sigma^2)\sim{\chi^2(n-k)}$, it holds that $$s^2/\sigma^2\sim{\chi^2}(1)$$
In this way, $p_2$ would be just 1, when again it should be $n-k$. Can soebody shed some light on this?