New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Autocorrelation #182
Comments
Hi! |
Hi! Thank you for your suggestion and your answer! In the plot preds and trues I obtain this kind of plot that I attach and I think an index market couldn't be predicted as well without another features. |
Thanks for your example. I think this may be caused by the period pattern of the input sequences. I am confused with the term index market, could you please give me more explanation on that? |
@laviniarossimori @zhouhaoyi Hello, can you ask a question. I am also currently working on the problem of univariate time prediction. The text structure of the data is similar to the file (btp.csv) you sent earlier. Which parameters in the code have you modified to enable univariate prediction? I modified args.features=='S', and used "Dataset_Custom", but there are still some problems, mse=nan in my test set. Looking forward to your advice and reply. |
Hi @gouzi1209 I'm not the author but your description suggests, that you have some |
@laviniarossimori did you predict on data shown to the model (iow training set)? If so it's highly possible to perfectly fit the data, as it was known and you gave sufficiently much time for training. It's not only the case of this particular model, but a general observation that may be made for many, probably even most, forecasting models. |
Yes of course. the target is the spread, it is the difference between the italian bond yield (BTP) and the german one(BUND). It is a way to understend how italian economy is going as compered to the german one is always stable. The spread can change at every hour for a lot of different reason, so we could never had a fixed period of time in the timeseries. |
Hi, thank you for your suggestion. I have almost ten years for the dataset and I use different years for the training set and the test set (like 6 years for the training and 4 for the test) |
Hi! I want to predict a government bond with a very high autocorrelation ( ACF close to one until a lag of 50). When I use your model I found a very similar pattern for trues and preds in the test phase but I think I shouldn't find it since it is impossible to predict using only the past value (it should be like a random walk) . It is a problem given by autocorrelation? Do you please have any advice to transform my target or another solution or suggestion? I try to use the difference from one day to another as the target but in this case, there are few high peaks that the model doesn't predict.
Thank you!
The text was updated successfully, but these errors were encountered: