You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It could be good to be able to use reg_td() with user-defined calendar. Currently, the trading-days regressors and the covariance structure are built inside Java, however they could be directly provided in R (the covariance structure could for example be built using the generateVar function). I don't think it is possible to do this with the other functions.
The text was updated successfully, but these errors were encountered:
Internally, the code inside reg_td generates the regression variables and the covariance of the innovations, if the coefficients are variable (multivariate random walk). Generating the regression variables can be easily done with the routines provided in rjd3toolkit, included in the case of calendars with holidays.
So, the most flexible solution would be to generate covariance matrices based on different specifications and to use the "reg" method. Of course, a solution hiding all the details can also be provided (a "reg_calendartd" function).
Considering that different covariance matrices could be used, I will add both solutions in the next rjd3sts package.
It could be good to be able to use
reg_td()
with user-defined calendar. Currently, the trading-days regressors and the covariance structure are built inside Java, however they could be directly provided in R (the covariance structure could for example be built using thegenerateVar
function). I don't think it is possible to do this with the other functions.The text was updated successfully, but these errors were encountered: