{"action":"closed","issue":{"url":"https://api.github.com/repos/camroach87/pr1c3_f0r3c457/issues/2","repository_url":"https://api.github.com/repos/camroach87/pr1c3_f0r3c457","labels_url":"https://api.github.com/repos/camroach87/pr1c3_f0r3c457/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/camroach87/pr1c3_f0r3c457/issues/2/comments","events_url":"https://api.github.com/repos/camroach87/pr1c3_f0r3c457/issues/2/events","html_url":"https://github.com/camroach87/pr1c3_f0r3c457/issues/2","id":138774683,"number":2,"title":"Linear regression","user":{"login":"camroach87","id":6792517,"avatar_url":"https://avatars.githubusercontent.com/u/6792517?v=3","gravatar_id":"","url":"https://api.github.com/users/camroach87","html_url":"https://github.com/camroach87","followers_url":"https://api.github.com/users/camroach87/followers","following_url":"https://api.github.com/users/camroach87/following{/other_user}","gists_url":"https://api.github.com/users/camroach87/gists{/gist_id}","starred_url":"https://api.github.com/users/camroach87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camroach87/subscriptions","organizations_url":"https://api.github.com/users/camroach87/orgs","repos_url":"https://api.github.com/users/camroach87/repos","events_url":"https://api.github.com/users/camroach87/events{/privacy}","received_events_url":"https://api.github.com/users/camroach87/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/camroach87/pr1c3_f0r3c457/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/camroach87/pr1c3_f0r3c457/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":{"login":"camroach87","id":6792517,"avatar_url":"https://avatars.githubusercontent.com/u/6792517?v=3","gravatar_id":"","url":"https://api.github.com/users/camroach87","html_url":"https://github.com/camroach87","followers_url":"https://api.github.com/users/camroach87/followers","following_url":"https://api.github.com/users/camroach87/following{/other_user}","gists_url":"https://api.github.com/users/camroach87/gists{/gist_id}","starred_url":"https://api.github.com/users/camroach87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/camroach87/subscriptions","organizations_url":"https://api.github.com/users/camroach87/orgs","repos_url":"https://api.github.com/users/camroach87/repos","events_url":"https://api.github.com/users/camroach87/events{/privacy}","received_events_url":"https://api.github.com/users/camroach87/received_events","type":"User","site_admin":false},"milestone":null,"comments":1,"created_at":"2016-03-06T09:32:30Z","updated_at":"2016-03-20T13:39:31Z","closed_at":"2016-03-20T13:39:31Z","body":"Atm the linear regression is very basic. Here's the todo list:\r\n\r\n- Check variables for significance. Some lags aren't needed.\r\n- Check if lags for previous day are useful. This is why statsmodels package should be used.\r\n- Need to add polynomial/splines for temperature.\r\n- Spline fitted across the year. Maybe only 3 or 4 knots.\r\n- Holiday variable. This might be better added as a weekend or sat/sunday variable to cut down on the number of driver variables. Need to check which day of week holidays are closest to using boxplots.\r\n- Categorical variables for day of week! Atm these are just being interpreted as continuous which is an error! Note, according to boxplots probably only need grouped weekdays, saturday and sunday.\r\n"}}