How to calculate F-statistic given only coefficient, standard errors and confidence intervals in R My output is a table of coefficients, together with standard errors and 90 % confidence intervals, nothing else. I miss the degrees of freedom but I do have the number of observations.
How can I calculate a F-statistic testing if some of these coefficients are mutually zero in R?

I think it cannot be done without making assumptions. You be the judge of whether or not these assumptions are reasonable.
Your $F$-statistic is a function of the number of parameters in the model ($p$), the total number of observations ($n$), the sum of squared residuals for your model ($SSRes_{model}$), and the sum of squared residuals for a model that always predicts $\bar y$ ($SSRes_{null}$), the last of which is proportional to the variance of $y$. Thus, you need to figure out each of those four quantities. The sample size is given, so you know $n$. You can count the number of parameters in the model, so you can determine $p$. For the $SSRes_{model}$, lets look at the equation for the standard error of a slope coefficient $\hat\beta_j$.
$$
SE(\hat\beta_j)=\sqrt{\dfrac{
SSRes_{model}/(n-p)
}{
(n-1)var(X_j)
}\times VIF
}
$$
You know the sample size $n$ and number of parameters $p$. However:

*

*Without knowing how the features are related to each other, you have no idea what the variance inflation factor ($VIF$) is, so you have no way of saying if the confidence intervals are wide because of multicollinearity. Remember, wide confidence intervals that include zero do not preclude a significant joint $F$-test. If you assume independent features, then $VIF=1$, and you can proceed.


*Without knowing the feature variance, you also don’t know if the confidence intervals are wide because of the feature variance or because of the residual variance. If you make an assumption that the features have been standardized to have variance equal to one, then you can do the algebra to solve for $SSRes_{model}$, since you can get the standard error from the $90\%$ confidence interval.
Finally, you do not know the marginal variance of $y$. If you assume $y$ to have been standardized to have a variance equal to one, however, then you do, and you can determine $SSRes_{null}$.
In summary, you can do it under the following assumptions.

*

*$VIF=1$ (or some other known/assumed quantity)


*Standardized features (or at least one feature with known variance)


*Standardized $y$ (or some other way of knowing $var(y)$)
