powered by
Create dummy variables for high-frequency intraday seasonality.
hfDummy(int = 1, Fopen = 10, Tend = 10, days = 1, pooled = 1, skipmin = 0)
length of time interval in minutes.
number of dummies/intervals from the market open.
number of dummies/intervals to the market close.
number of trading days in the data.
a logical value indicating whether the data are pooled.
the number of minites omitted from the opening.
x=hfDummy(5,Fopen=4,Tend=4,days=2,skipmin=15)
Run the code above in your browser using DataLab