f_test_custom
performs an overall significance F-test on a regression.
It is used along with .lm.fit
to get the F-statistic as
this is about 10 times faster than extracting it from a regression using
lm
.
f_test_custom(dep_var, indep_vars, model_res, const = TRUE)
A numeric vector or a matrix with one column representing the dependent variable.
A matrix representing the independent variables.
A numeric vector representing the regression's residuals.
A logical indicating whether the constant term should be restricted too.
f_test_custom
returns a list containing the F-statistic and
the numerator's degrees of freedom.
vcov_custom
f_bounds_sim
t_bounds_sim
independent