Description Usage Arguments Value Author(s)
View source: R/regression_analysis.R
Write all regression procedure in this file
1 2 | regression_analysis(df, model, cluster = NULL, event_plot = FALSE,
xlab = NULL, ylab = NULL)
|
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 |
A list of regression result (and an event plot if specified)
Jiacheng He
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.