Reg: Regression

Description Usage Arguments Value Examples

View source: R/Reg.R

Description

Reg performs a variety of regressions within a single function (only OLS is supported at the moment). Standard test are automatically performed. Multiple types of standard error calculations are available.

Usage

1
Reg(y, ..., data = NULL, time = NULL, test = TRUE)

Arguments

data

object that contains data in formula

form

regression formula, e.g. y~x1+x2

Value

'RegM' object containing regression information, including coefficients, se, tests, and others

Examples

1
2
3
GDPgap <- fred('gap')
cycU <- fred('cyclical')
Reg(GDPgap, cycU) # Okun's Law

cmann3/recon documentation built on May 13, 2019, 8:23 p.m.