打开数据集
python房价预测

关联数据,找到数据之间的相关性
合并数据,找到多个表的共同列–日期
python房价预测
将房价与失业率做线性分析,可以看到二者之间的相关性非常高
得到的线性方程为:housing_price_index= -8.3324 * total_unemployed + 313.3128
python房价预测
画出线性方程的图形
python房价预测
python房价预测
将多个变量进行分析
(1)模型得到的R-squared=0.98,说明相关性比较大,换句话说,就是这些自变量可以有效的影响Y的值; (2) 该模型得到的方程是

housing_price_index=-389.2234-0.1727total_unemployed+5.4326long_interest_rate +32.3750federal_funds_rate+0.7785consumer_price_index +0.0252*gross_domestic_product
python房价预测
python房价预测
python房价预测

相关文章:

  • 2021-11-13
  • 2021-12-28
  • 2022-01-07
  • 2022-01-22
  • 2021-10-14
  • 2021-07-30
  • 2021-12-25
猜你喜欢
  • 2021-12-28
  • 2021-07-01
  • 2021-08-17
  • 2021-05-26
  • 2022-12-23
  • 2022-12-23
  • 2021-07-08
相关资源
相似解决方案