stock_td | R Documentation |
Allows to generate a specific regressor for correcting trading days effects in Stock series.
stock_td(frequency, start, length, s, w = 31)
frequency |
Frequency of the series, number of periods per year (12,4,3,2..) |
start , length |
First date (array with the first year and the first period)
(for instance |
s |
time series used to get the dates for the trading days variables. If supplied the
parameters |
w |
indicates day of the month when inventories and other stocks are reported. (to denote the last day of the month enter 31). |
The regressor will have the value -1 if the w-th day is a Sunday, 1 if it is a Monday as 0 otherwise.
Time series (object of class c("ts","mts","matrix")
).
More information on calendar correction in JDemetra+ online documentation: https://jdemetra-new-documentation.netlify.app/a-calendar-correction
calendar_td
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.