Description Usage Arguments Value
Performs an event study of a variable around the occurence of a certain episode. Mean/median value before and after. CAUTION: build dummies before.
1 2 | run_event.study(data, variable_of_interest, n_before, n_after,
type = c("mean", "median"), level = 0.9)
|
data |
Dataframe object. |
variable_of_interest |
Character string. Name of indicator to track. |
n_before |
Numeric (negative). Periods before the event. |
n_after |
Numeric (positive). Periods after the event. |
type |
Character. Summary static to track: default is "mean". |
level |
Numeric. Default is 0.90. |
List with two elements - graph and dataframe on which latter based upon.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.