Time-series forecasting Announcing the arrival of Valued Associate #679: Cesar Manara Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern) 2019 Moderator Election Q&A - Questionnaire 2019 Community Moderator Election ResultsRecurrent neural network producing same predictionsTime Resolution Changes in Time Series ForecastingTrying to use TensorFlow to predict financial time series datatime series forecasting - sliding window methodTime series forecasting using multiple time series as training dataML Algorithm for anomaly detection in paired time-seriesCan Reinforcement learning be applied for time series forecasting?Is there an R tutorial of using LSTM for multivariate time series forecasting?Need help understanding time series approach used for predicting earthquake arrival?
Recursive calls to a function - why is the address of the parameter passed to it lowering with each call?
How to produce a PS1 prompt in bash or ksh93 similar to tcsh
Can I ask an author to send me his ebook?
Will the Antimagic Field spell cause elementals not summoned by magic to dissipate?
Is Vivien of the Wilds + Wilderness Reclamation a competitive combo?
Has a Nobel Peace laureate ever been accused of war crimes?
How is an IPA symbol that lacks a name (e.g. ɲ) called?
How to mute a string and play another at the same time
Why does my GNOME settings mention "Moto C Plus"?
How to keep bees out of canned beverages?
Why does BitLocker not use RSA?
Why doesn't the university give past final exams' answers?
What were wait-states, and why was it only an issue for PCs?
What kind of equipment or other technology is necessary to photograph sprites (atmospheric phenomenon)
Lights are flickering on and off after accidentally bumping into light switch
Assertions In A Mock Callout Test
Im stuck and having trouble with ¬P ∨ Q Prove: P → Q
Why did Europeans not widely domesticate foxes?
Can this water damage be explained by lack of gutters and grading issues?
Knights and Knaves question
"Destructive force" carried by a B-52?
Weaponising the Grasp-at-a-Distance spell
What helicopter has the most rotor blades?
When speaking, how do you change your mind mid-sentence?
Time-series forecasting
Announcing the arrival of Valued Associate #679: Cesar Manara
Planned maintenance scheduled April 23, 2019 at 23:30 UTC (7:30pm US/Eastern)
2019 Moderator Election Q&A - Questionnaire
2019 Community Moderator Election ResultsRecurrent neural network producing same predictionsTime Resolution Changes in Time Series ForecastingTrying to use TensorFlow to predict financial time series datatime series forecasting - sliding window methodTime series forecasting using multiple time series as training dataML Algorithm for anomaly detection in paired time-seriesCan Reinforcement learning be applied for time series forecasting?Is there an R tutorial of using LSTM for multivariate time series forecasting?Need help understanding time series approach used for predicting earthquake arrival?
$begingroup$
Here is the data:
l <- data.frame(date = c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24))
k <- data.frame(cost = c(25,20,18,15,5,0,0,0,10,15,30,40,45,34,26,20,10,7,4,4,15,34,57,62))
m <- cbind(l,k)
ggplot(m, aes(m$date,m$cost)) + geom_line()
This is the graph I get:
What is a good prediction model? I think I can use polynomial regression if I subset the max and min values. see image below for better understanding. (Red for max, blue for min, lines were created using paint to explain a point)
Another way, I don't know what it is called, but I think they use it to predict weather, Not sure what the formula to obtain the blue line below would look like. (Look at graph below for better understanding)
What would be an appropriate formula to get the blue fitted line and predict the points highlighted in red??
r time-series forecasting
$endgroup$
add a comment |
$begingroup$
Here is the data:
l <- data.frame(date = c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24))
k <- data.frame(cost = c(25,20,18,15,5,0,0,0,10,15,30,40,45,34,26,20,10,7,4,4,15,34,57,62))
m <- cbind(l,k)
ggplot(m, aes(m$date,m$cost)) + geom_line()
This is the graph I get:
What is a good prediction model? I think I can use polynomial regression if I subset the max and min values. see image below for better understanding. (Red for max, blue for min, lines were created using paint to explain a point)
Another way, I don't know what it is called, but I think they use it to predict weather, Not sure what the formula to obtain the blue line below would look like. (Look at graph below for better understanding)
What would be an appropriate formula to get the blue fitted line and predict the points highlighted in red??
r time-series forecasting
$endgroup$
add a comment |
$begingroup$
Here is the data:
l <- data.frame(date = c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24))
k <- data.frame(cost = c(25,20,18,15,5,0,0,0,10,15,30,40,45,34,26,20,10,7,4,4,15,34,57,62))
m <- cbind(l,k)
ggplot(m, aes(m$date,m$cost)) + geom_line()
This is the graph I get:
What is a good prediction model? I think I can use polynomial regression if I subset the max and min values. see image below for better understanding. (Red for max, blue for min, lines were created using paint to explain a point)
Another way, I don't know what it is called, but I think they use it to predict weather, Not sure what the formula to obtain the blue line below would look like. (Look at graph below for better understanding)
What would be an appropriate formula to get the blue fitted line and predict the points highlighted in red??
r time-series forecasting
$endgroup$
Here is the data:
l <- data.frame(date = c(1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24))
k <- data.frame(cost = c(25,20,18,15,5,0,0,0,10,15,30,40,45,34,26,20,10,7,4,4,15,34,57,62))
m <- cbind(l,k)
ggplot(m, aes(m$date,m$cost)) + geom_line()
This is the graph I get:
What is a good prediction model? I think I can use polynomial regression if I subset the max and min values. see image below for better understanding. (Red for max, blue for min, lines were created using paint to explain a point)
Another way, I don't know what it is called, but I think they use it to predict weather, Not sure what the formula to obtain the blue line below would look like. (Look at graph below for better understanding)
What would be an appropriate formula to get the blue fitted line and predict the points highlighted in red??
r time-series forecasting
r time-series forecasting
edited Apr 4 at 19:28
oW_♦
3,411933
3,411933
asked Apr 4 at 19:17
FirstSlackFirstSlack
1016
1016
add a comment |
add a comment |
0
active
oldest
votes
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "557"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48629%2ftime-series-forecasting%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
0
active
oldest
votes
0
active
oldest
votes
active
oldest
votes
active
oldest
votes
Thanks for contributing an answer to Data Science Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
Use MathJax to format equations. MathJax reference.
To learn more, see our tips on writing great answers.
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
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fdatascience.stackexchange.com%2fquestions%2f48629%2ftime-series-forecasting%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
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
Required, but never shown
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
Required, but never shown
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
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown