| IntradayEventStudyTask | R Documentation |
Extension of EventStudyTask for intraday (high-frequency)
event studies. Supports POSIXct timestamps and time-based windows
specified in minutes or hours.
Date column contains POSIXct timestamps instead of date strings
Event windows specified as time offsets (e.g., "-30min", "+60min")
Handles trading session boundaries
EventStudyTask -> IntradayEventStudyTask
.indexThe time column name (POSIXct).
.targetThe price column name.
.request_file_columnsRequired columns for intraday requests.
IntradayEventStudyTask$new()Create a new IntradayEventStudyTask.
IntradayEventStudyTask$new( firm_stock_data_tbl, reference_tbl, request_tbl, factor_tbl = NULL )
firm_stock_data_tblDataframe with firm intraday data.
Must contain columns: symbol, timestamp (POSIXct),
and price.
reference_tblDataframe with reference market intraday data.
request_tblRequest dataframe with event_timestamp
(POSIXct), and window specifications in minutes.
factor_tblOptional factor data.
IntradayEventStudyTask$print()Print summary.
IntradayEventStudyTask$print(...)
IntradayEventStudyTask$clone()The objects of this class are cloneable with this method.
IntradayEventStudyTask$clone(deep = FALSE)
deepWhether to make a deep clone.
Other eventstudy-tasks:
PanelEventStudyTask,
SyntheticControlTask,
estimate_panel_event_study(),
estimate_synthetic_control(),
nonparametric_intraday_test(),
plot_panel_event_study(),
plot_synthetic_control(),
prepare_intraday_event_study(),
sc_placebo_test()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.