ftest {micsr}R Documentation

F statistic

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 class 'lm'
ftest(x, ...)

## S3 method for class 'ivreg'
ftest(x, ..., covariate = NULL)

Arguments

x

a fitted object

...

further arguments

covariate

the covariate for which the test should be performed for the ivreg method

Value

an object of class "htest".


[Package micsr version 0.1-1 Index]