♥导入tushare

基于tushare的股票评级

♥获取基本面板数据

 

运营能力

基于tushare的股票评级

盈利能力

基于tushare的股票评级

 

成长能力

基于tushare的股票评级

负债能力

基于tushare的股票评级

♥将表进行合并

基于tushare的股票评级

♥采用线性回归预测

我们将net_profits(净利率)作为预测变量也就是我们最希望得到的值,

在经过多次试验后发现它与icratio(利息支付倍数)相关度最高,R值=0.972

 

基于tushare的股票评级

基于tushare的股票评级

于是通过线性回归预测股票的净利率

画图结果如下

基于tushare的股票评级

基于tushare的股票评级

相关文章:

  • 2021-12-10
  • 2022-03-08
  • 2021-10-14
  • 2022-01-18
  • 2022-02-14
  • 2021-12-05
  • 2022-01-02
  • 2021-06-23
猜你喜欢
  • 2021-06-14
  • 2021-12-19
  • 2022-12-23
  • 2021-04-25
  • 2021-12-27
  • 2021-11-01
  • 2021-07-17
相关资源
相似解决方案