| RollingWindowModel | R Documentation |
Event study model with time-varying parameters estimated via a rolling OLS window over the estimation period. The last rolling window's parameters are used for event-window prediction. This captures parameter instability that is common in financial return data.
ModelBase -> RollingWindowModel
model_nameName of the model.
window_sizeRolling window size. Default 60.
min_obsMinimum observations required. Default 30.
RollingWindowModel$new()Create a new RollingWindowModel.
RollingWindowModel$new(window_size = 60L, min_obs = 30L)
window_sizeSize of the rolling window.
min_obsMinimum valid (complete-pair) observations
required inside each individual rolling sub-window for that
sub-window to be fit. Distinct from validate_task()'s
min_estimation_obs, which is a whole-estimation-window
advisory threshold checked once per event, not per sub-window.
RollingWindowModel$fit()Fit the rolling window model on the estimation window.
RollingWindowModel$fit(data_tbl)
data_tblData frame or tibble with firm_returns, index_returns, estimation_window, event_window columns.
RollingWindowModel$abnormal_returns()Calculate abnormal returns using the last rolling window parameters.
RollingWindowModel$abnormal_returns(data_tbl)
data_tblData frame or tibble.
RollingWindowModel$clone()The objects of this class are cloneable with this method.
RollingWindowModel$clone(deep = FALSE)
deepWhether to make a deep clone.
Other eventstudy-models:
BHARModel,
Carhart4FactorModel,
ComparisonPeriodMeanAdjustedModel,
DCCGARCHModel,
FamaFrench3FactorModel,
FamaFrench5FactorModel,
GARCHModel,
LinearFactorModel,
LogReturn,
MarketAdjustedModel,
MarketModel,
ModelBase,
ReturnCalculation,
SimpleReturn,
VolatilityModel,
VolumeModel
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.