ftest: F statistic

View source: R/test.R

ftestR 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".


micsr documentation built on May 29, 2024, 7:32 a.m.