Description
Extract the F statistic that all the parameters except the
intercept are zero. Currently implemented only for models fitted by lm or ivreg::ivreg.
Usage
ftest(x, ...)# S3 method for lm
ftest(x, ...)
# S3 method for ivreg
ftest(x, ..., covariate = NULL)
Value
an object of class "htest".
Arguments
- x
a fitted object
- ...
further arguments
- covariate
the covariate for which the test should be performed for the ivreg method