regression_analysis: Run regression

Description Usage Arguments Value Author(s)

View source: R/regression_analysis.R

Description

Write all regression procedure in this file

Usage

1
2
regression_analysis(df, model, cluster = NULL, event_plot = FALSE,
  xlab = NULL, ylab = NULL)

Arguments

df

The data frame that contains the regression variables

model

The regression model

cluster

Whether to cluster the standard error. A character of the cluster variable name

event_plot

Whether to generate the event study plot

xlab

The xlabel of the event plot

ylab

The ylabel of the event plot

Value

A list of regression result (and an event plot if specified)

Author(s)

Jiacheng He


JiachengHe/MSP documentation built on May 17, 2019, 6:20 p.m.