如何在它们之间似乎没有相关性时找到一个变量对另一个变量的影响?

huangapple go评论61阅读模式
英文:

How to find the impact of one variable on the other when there seems to no correlation between them?

问题

我们能否预测一个物品的销售增长百分比,以前一年的折扣变化(正数或负数)作为预测变量。这两者似乎没有相关性。如何使用机器学习来解决这个问题?

英文:

can we predict growth percentage in sales of an item given the change in discount(positive or negative number) from the previous year as a predictor variable. There seems to be no correlation between these. How to solve this problem using machine learning?

答案1

得分: 0

你正在错误的轨道上提出这个问题。

相关性属于统计学的知识范畴,请检查皮尔逊相关系数/斯皮尔曼相关系数,以找到折扣变化和销售增长之间的相关性。

在机器学习中,我们很少比较两个百分比数据,而是比较实际销售/折扣数值。可以通过线性回归应用简单的机器学习(大多数机器学习用于多维数据,而您的情况是单一列到单一输出的一对一数据)。请参考在线相关信息,并使用Excel或Python代码进行解决。

英文:

You are on the wrong track to ask this question.

Correlation is on the knowledge side of Statistics, Please check Pearson’s correlation of coefficient / Spearman’s correlation of coefficient in order to find the correlation between the discount changes and the sales groth correlation.

In Machine Learning, we seldom compare two percentage data, instead, we compare the actual sales/discount value. A simple ML can be applied by Linear regression (most ML is used in multi-dimension, as your case is one-x one-y data (single column to single output). Please refer to related information online and solved with excel or python code.

huangapple
  • 本文由 发表于 2023年2月8日 13:10:39
  • 转载请务必保留本文链接:https://go.coder-hub.com/75381580.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定