Predicting the difference or the quotient?
up vote
0
down vote
favorite
For a time series forecasting problem, I noticed some people tried to predict the difference or the quotient. For instance, in trading, we can try to predict the price difference P_{t-1} - P_t or the price quotient P_{t-1}/P_t. So we get a more stationary problem. With a recurrent neural network for a regression problem, trying to predict the price difference can be a real pain if the price does not change sufficiently fast because it will predict mostly zero at each step.
Questions :
- What are the advantages and inconveniences of using the difference or the quotient instead of the whole quantity?
- What can a nice tool to get rid of the repetitive zeros in a problem like trying to predict the price movement?
neural-network deep-learning time-series lstm
New contributor
add a comment |
up vote
0
down vote
favorite
For a time series forecasting problem, I noticed some people tried to predict the difference or the quotient. For instance, in trading, we can try to predict the price difference P_{t-1} - P_t or the price quotient P_{t-1}/P_t. So we get a more stationary problem. With a recurrent neural network for a regression problem, trying to predict the price difference can be a real pain if the price does not change sufficiently fast because it will predict mostly zero at each step.
Questions :
- What are the advantages and inconveniences of using the difference or the quotient instead of the whole quantity?
- What can a nice tool to get rid of the repetitive zeros in a problem like trying to predict the price movement?
neural-network deep-learning time-series lstm
New contributor
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
For a time series forecasting problem, I noticed some people tried to predict the difference or the quotient. For instance, in trading, we can try to predict the price difference P_{t-1} - P_t or the price quotient P_{t-1}/P_t. So we get a more stationary problem. With a recurrent neural network for a regression problem, trying to predict the price difference can be a real pain if the price does not change sufficiently fast because it will predict mostly zero at each step.
Questions :
- What are the advantages and inconveniences of using the difference or the quotient instead of the whole quantity?
- What can a nice tool to get rid of the repetitive zeros in a problem like trying to predict the price movement?
neural-network deep-learning time-series lstm
New contributor
For a time series forecasting problem, I noticed some people tried to predict the difference or the quotient. For instance, in trading, we can try to predict the price difference P_{t-1} - P_t or the price quotient P_{t-1}/P_t. So we get a more stationary problem. With a recurrent neural network for a regression problem, trying to predict the price difference can be a real pain if the price does not change sufficiently fast because it will predict mostly zero at each step.
Questions :
- What are the advantages and inconveniences of using the difference or the quotient instead of the whole quantity?
- What can a nice tool to get rid of the repetitive zeros in a problem like trying to predict the price movement?
neural-network deep-learning time-series lstm
neural-network deep-learning time-series lstm
New contributor
New contributor
New contributor
asked Nov 5 at 2:12
user1050421
1072
1072
New contributor
New contributor
add a comment |
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
- If the assumption is that the price is stationary (*Pt=Cte), then predict the whole quantity.
- If the assumption is that the price increase ()is stationary (Pt= Pt-1+Cte), then predict the absolute difference Pt-Pt-1. (Note: thie is the ARIMA model with a degree of differencing=1)
- If the assumption is that the price growth (in percentage) is stationary (Pt=Pt-1 +Cte * Pt-1), then predict the relative difference Pt/Pt-1.
- If the price changes rarely (i.e. the absolute or relative difference is most often zero), then try to predict the time interval between tow changes rather than the price itself.
Can you add more details to your answer?
– user1050421
Nov 5 at 14:42
With pleasure. Can you please add the first 5-6 lines of data and a graph of the full range (units do not matter).
– AlainD
2 days ago
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
- If the assumption is that the price is stationary (*Pt=Cte), then predict the whole quantity.
- If the assumption is that the price increase ()is stationary (Pt= Pt-1+Cte), then predict the absolute difference Pt-Pt-1. (Note: thie is the ARIMA model with a degree of differencing=1)
- If the assumption is that the price growth (in percentage) is stationary (Pt=Pt-1 +Cte * Pt-1), then predict the relative difference Pt/Pt-1.
- If the price changes rarely (i.e. the absolute or relative difference is most often zero), then try to predict the time interval between tow changes rather than the price itself.
Can you add more details to your answer?
– user1050421
Nov 5 at 14:42
With pleasure. Can you please add the first 5-6 lines of data and a graph of the full range (units do not matter).
– AlainD
2 days ago
add a comment |
up vote
0
down vote
- If the assumption is that the price is stationary (*Pt=Cte), then predict the whole quantity.
- If the assumption is that the price increase ()is stationary (Pt= Pt-1+Cte), then predict the absolute difference Pt-Pt-1. (Note: thie is the ARIMA model with a degree of differencing=1)
- If the assumption is that the price growth (in percentage) is stationary (Pt=Pt-1 +Cte * Pt-1), then predict the relative difference Pt/Pt-1.
- If the price changes rarely (i.e. the absolute or relative difference is most often zero), then try to predict the time interval between tow changes rather than the price itself.
Can you add more details to your answer?
– user1050421
Nov 5 at 14:42
With pleasure. Can you please add the first 5-6 lines of data and a graph of the full range (units do not matter).
– AlainD
2 days ago
add a comment |
up vote
0
down vote
up vote
0
down vote
- If the assumption is that the price is stationary (*Pt=Cte), then predict the whole quantity.
- If the assumption is that the price increase ()is stationary (Pt= Pt-1+Cte), then predict the absolute difference Pt-Pt-1. (Note: thie is the ARIMA model with a degree of differencing=1)
- If the assumption is that the price growth (in percentage) is stationary (Pt=Pt-1 +Cte * Pt-1), then predict the relative difference Pt/Pt-1.
- If the price changes rarely (i.e. the absolute or relative difference is most often zero), then try to predict the time interval between tow changes rather than the price itself.
- If the assumption is that the price is stationary (*Pt=Cte), then predict the whole quantity.
- If the assumption is that the price increase ()is stationary (Pt= Pt-1+Cte), then predict the absolute difference Pt-Pt-1. (Note: thie is the ARIMA model with a degree of differencing=1)
- If the assumption is that the price growth (in percentage) is stationary (Pt=Pt-1 +Cte * Pt-1), then predict the relative difference Pt/Pt-1.
- If the price changes rarely (i.e. the absolute or relative difference is most often zero), then try to predict the time interval between tow changes rather than the price itself.
answered Nov 5 at 14:17
AlainD
4,02431026
4,02431026
Can you add more details to your answer?
– user1050421
Nov 5 at 14:42
With pleasure. Can you please add the first 5-6 lines of data and a graph of the full range (units do not matter).
– AlainD
2 days ago
add a comment |
Can you add more details to your answer?
– user1050421
Nov 5 at 14:42
With pleasure. Can you please add the first 5-6 lines of data and a graph of the full range (units do not matter).
– AlainD
2 days ago
Can you add more details to your answer?
– user1050421
Nov 5 at 14:42
Can you add more details to your answer?
– user1050421
Nov 5 at 14:42
With pleasure. Can you please add the first 5-6 lines of data and a graph of the full range (units do not matter).
– AlainD
2 days ago
With pleasure. Can you please add the first 5-6 lines of data and a graph of the full range (units do not matter).
– AlainD
2 days ago
add a comment |
user1050421 is a new contributor. Be nice, and check out our Code of Conduct.
user1050421 is a new contributor. Be nice, and check out our Code of Conduct.
user1050421 is a new contributor. Be nice, and check out our Code of Conduct.
user1050421 is a new contributor. Be nice, and check out our Code of Conduct.
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53147451%2fpredicting-the-difference-or-the-quotient%23new-answer', 'question_page');
}
);
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password