tidy.ivreg: Tidiers for 'ivreg' objects

Description Usage Arguments Details Value

View source: R/ivreg.R

Description

Tidiers for ivreg objects returned by the

Usage

1
2
3
4
5
tidy.ivreg(x, conf.int = FALSE, conf.level = 0.95, quick = FALSE, ...)

augment.ivreg(x, data = stats::model.frame(x), newdata = NULL, ...)

glance.ivreg(x, df = NULL, diagnostics = FALSE, ...)

Arguments

x

ivreg object

conf.int

whether to include a confidence interval

conf.level

confidence level of the interval, used only if conf.int=TRUE

quick

whether to compute a smaller and faster version, containing only the term and estimate columns.

...

Extra arguments

data

Original data, defaults to the extracting it from the model

newdata

If provided, performs predictions on the new data

df

the degrees of freedom to be used. See summary.ivreg.

diagnostics

If TRUE, carry out diagnostic tests for the instrumental-variable regression. See summary.ivreg.

Details

These methods tidy the coefficients of an instrumental variable model produced by the AER function ivreg into a summary, augment the original data with information on the fitted values and residuals, and construct a one-row glance of the model's statistics.

Value

All tidying methods return a data.frame without rownames. The structure depends on the method chosen.


jrnold/rubbish documentation built on May 20, 2019, 2:05 a.m.