View source: R/regarima_spec.R
set_tradingdays | R Documentation |
Set Trading-Days Specification
set_tradingdays( x, option = c(NA, "TradingDays", "WorkingDays", "TD3", "TD3c", "TD4", "None", "UserDefined"), uservariable = NA, stocktd = NA, test = c(NA, "None", "Remove", "Add", "Separate_T", "Joint_F"), autoadjust = NA, coef = NA, coef.type = c(NA, "Fixed", "Estimated"), automatic = c(NA, "Unused", "FTest", "WaldTest"), pftd = NA, leapyear = c(NA, "LeapYear", "LengthOfPeriod", "None"), leapyear.coef = NA, leapyear.coef.type = c(NA, "Fixed", "Estimated") )
x |
the specification. |
option |
to specify the set of trading days regression variables:
|
uservariable |
a vector of characters to specify the name of user-defined calendar regressors.
When specified, automatically set |
stocktd |
a numeric indicating the day of the month when inventories and other stock are reported
(to denote the last day of the month, set the variable to 31).
When specified, automatically set |
test |
defines the pre-tests for the significance of the trading day regression variables
based on the AICC statistics: (REGARIMA/X-13 specific)
(TRAMO specific)
|
autoadjust |
a logical indicating if the program corrects automatically for the leap year effect. It is available when the transformation function is set to Auto. |
coef |
vector of coefficients for the tranding-days regressors. |
coef.type, leapyear.coef.type |
vector defining if the coefficients are fixed or estimated. |
automatic |
(TRAMO SPECIFIC) defines whether the calendar effects should be added to the model manually ( |
pftd |
(TRAMO SPECIFIC) |
leapyear |
a |
leapyear.coef |
coefficient of the leapyear regressor. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.