import pandas as pd from sklearn import linear_model import matplotlib.pyplot as plt import statsmodels.api as sm Stock_Market = { 'Year' : [ 2017 , 2017 , 2017 , 2017 , 2017 , 2017 , 2017 , 2017 , 2017 , 2017 , 2017 , 2017 , 2016 , 2016 , 2016 , 2016 , 2016 , 2016 , 2016 , 2016 , 2016 , 2016 , 2016 , 2016 ], 'Month' : [ 12 , 11 , 10 , 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 , 12 , 11 , 10 , 9 , 8 , 7 , 6 , 5 , 4 , 3 , 2 , 1 ], 'Interest_Rate' : [ 2.75 , 2.5 , 2.5 , 2.5 , 2.5 , 2.5 , 2.5 , 2.25 , 2.25 , 2.25 , 2 , 2 , 2 , 1.75 , 1.75 , 1.75 , 1.75 , 1.75 , 1.75 , 1.75 , 1.75 , 1.75 , 1.75 , 1.75 ], 'Unemployment_Rate' : [ 5.3 , 5.3 , 5.3 , 5.3 , 5.4 , 5.6 , 5.5 , 5.5 , 5.5 , 5.6 , 5.7 , 5.9 , 6 , 5.9 , 5.8 , 6.1 , 6.2 , 6.1 , 6.1 , 6.1 , 5.9 , 6.2 , 6.2 , 6.1 ], '...
Comments
Post a Comment