View source: R/crit_val_bounds_sim.R
f_test_custom | R Documentation |
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)
dep_var |
A numeric vector or a matrix with one column representing the dependent variable. |
indep_vars |
A matrix representing the independent variables. |
model_res |
A numeric vector representing the regression's residuals. |
const |
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.
Kleanthis Natsiopoulos, klnatsio@gmail.com
vcov_custom
f_bounds_sim
t_bounds_sim
independent
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.