| EventStudy-package | R Documentation |
Perform financial event study analysis in R. Implements the classical event study methodology (MacKinlay 1997) with multiple return models, parametric and non-parametric test statistics, and visualization tools.
MarketModel – OLS market model (single factor, optional HAC SEs)
MarketAdjustedModel – Market-adjusted returns
ComparisonPeriodMeanAdjustedModel – Mean-adjusted returns
FamaFrench3FactorModel – Fama-French 3-factor model
FamaFrench5FactorModel – Fama-French 5-factor model
Carhart4FactorModel – Carhart 4-factor model
GARCHModel – GARCH(1,1) model
RollingWindowModel – Rolling-window OLS (time-varying beta)
DCCGARCHModel – DCC-GARCH (time-varying beta)
BHARModel – Buy-and-hold abnormal returns
VolumeModel – Volume event study model
VolatilityModel – Volatility event study model
Single-event:
ARTTest – Abnormal return t-test
CARTTest – Cumulative abnormal return t-test
BHARTTest – BHAR t-test
Multi-event:
CSectTTest – Cross-sectional t-test
PatellZTest – Patell standardized residual test
SignTest – Sign test
GeneralizedSignTest – Generalized sign test (Cowan 1992)
RankTest – Rank test (Corrado 1989)
BMPTest – Boehmer, Musumeci & Poulsen (1991) test
KolariPynnonenTest – Kolari-Pynnoenen adjusted BMP test
CalendarTimePortfolioTest – Calendar-time portfolio test
adjust_p_values – Multiple testing corrections (BH, Bonferroni, etc.)
bootstrap_test – Wild bootstrap inference
HAC standard errors via use_hac = TRUE in model constructors
simulate_event_study – Monte Carlo power analysis
The standard workflow is:
Create an EventStudyTask with data
Define a ParameterSet with model and test choices
Run run_event_study(task, parameter_set) (or
the individual steps: prepare_event_study,
fit_model, calculate_statistics)
Extract results with get_ar(), get_car(),
get_aar(), or tidy.EventStudyTask
Export with export_results
Visualize with plot_event_study
Generate reports with generate_report
cross_sectional_regression – Explain CARs with firm characteristics
IntradayEventStudyTask – Intraday event studies
PanelEventStudyTask – Panel DiD event studies (TWFE,
Sun-Abraham, Callaway-Sant'Anna, de Chaisemartin-D'Haultfoeuille,
Borusyak-Jaravel-Spiess)
SyntheticControlTask – Synthetic control methods
download_stock_data, download_factor_data – Data helpers
Maintainer: Simon Mueller sm@data-zoo.de
Authors:
Simon Mueller sm@data-zoo.de
MacKinlay, A. C. (1997). Event Studies in Economics and Finance. Journal of Economic Literature, 35(1), 13–39.
Fama, E. F. and French, K. R. (1993). Common risk factors in the returns on stocks and bonds. Journal of Financial Economics, 33(1), 3–56.
Carhart, M. M. (1997). On persistence in mutual fund performance. The Journal of Finance, 52(1), 57–82.
Useful links:
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.