stata_reg: stata_reg

Description Usage Arguments Value Examples

View source: R/chapter5_functions.R

Description

Produces result summaries of a fitted model.

Usage

1
stata_reg(y, x)

Arguments

y
  • y variable

x
  • x variale

Value

list of result summary of a fitted linear model

Examples

1
2
3
4
5
6
7
stata_reg(caschool$testscr, caschool$avginc)
stata_reg(mtcars$cyl, mtcars$mpg)

## Not run: 
stata_reg(testscr, avginc)

## End(Not run)

danicamiguel/emetricsrsw documentation built on Dec. 25, 2019, 5:12 a.m.