{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/prophet/issues/680","repository_url":"https://api.github.com/repos/facebook/prophet","labels_url":"https://api.github.com/repos/facebook/prophet/issues/680/labels{/name}","comments_url":"https://api.github.com/repos/facebook/prophet/issues/680/comments","events_url":"https://api.github.com/repos/facebook/prophet/issues/680/events","html_url":"https://github.com/facebook/prophet/issues/680","id":359642065,"node_id":"MDU6SXNzdWUzNTk2NDIwNjU=","number":680,"title":"Questions about negative values in weekly plot and missing dates in df","user":{"login":"Adelaic","id":43220084,"node_id":"MDQ6VXNlcjQzMjIwMDg0","avatar_url":"https://avatars0.githubusercontent.com/u/43220084?v=4","gravatar_id":"","url":"https://api.github.com/users/Adelaic","html_url":"https://github.com/Adelaic","followers_url":"https://api.github.com/users/Adelaic/followers","following_url":"https://api.github.com/users/Adelaic/following{/other_user}","gists_url":"https://api.github.com/users/Adelaic/gists{/gist_id}","starred_url":"https://api.github.com/users/Adelaic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Adelaic/subscriptions","organizations_url":"https://api.github.com/users/Adelaic/orgs","repos_url":"https://api.github.com/users/Adelaic/repos","events_url":"https://api.github.com/users/Adelaic/events{/privacy}","received_events_url":"https://api.github.com/users/Adelaic/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2018-09-12T20:34:50Z","updated_at":"2018-10-16T20:20:00Z","closed_at":"2018-10-16T20:20:00Z","author_association":"NONE","body":"Hello,\r\n\r\nI'm using Prophet in R to make forecast and catch seasonality for my project. I have some questions regarding to the plot I got from 'prophet_plot_components'. \r\n\r\nOn the weekly plot, there are a lot negative values which don't make sense to me. The data I used doesn't have any negative values and also shouldn't have negative values in reality. So I'm wondering what the y axis represents. Does it represent the value of 'y' in the data frame or represent any trend? Besides, I don't have any data on Saturdays and Sundays, but the plot gave me high values on weekends. I'm not sure why this happens, and I'm wondering if I should put in zeros for all the missing dates. \r\n\r\nI appreciate if anyone can answer my questions below or share any useful links of any information I missed.\r\n1. What are the y axis represent in the weekly and yearly plot? And why did negative numbers showed in my plot? Is there anyway to get rid of all the negatives?\r\n2. Since I don't have any data on weekends in my 'df', why are there large values on weekends in the weekly plot?\r\n3. My data is not continuous in my 'df', should I fill in all the missing dates and assign them as 0 instead of have nothing on those dates?\r\n\r\n![image](https://user-images.githubusercontent.com/43220084/45450491-6c252480-b6a6-11e8-9283-d7e6e0c1e095.png)\r\n"}}
{"actor":{"display_login":"bletham"}}