ols线性回归_普通最小二乘[OLS]方法使用于机器学习的简单线性回归变得容易

ols线性回归

Hello Everyone!

大家好!

I am super excited to be writing another article after a long time since my previous article was published.

自从上一篇文章发表很长时间以来,我很高兴能写另一篇文章。

A Simple Linear Regression [SLR] is basically this formula:

简单线性回归[SLR]基本上是以下公式:

which is spelled as y equals b zero plus b one times x one. I am sure you have seen this formula in your high school which was a part of drawing a line or sloped line in a x-y axis. Let’s move a step ahead and understand what each of these variables or coefficients mean in detail.

拼写为y等于b零加b乘以x一。 我确定您在高中时就已经看到了这个公式,这是在xy轴上绘制直线或倾斜线的一部分。 让我们前进一步,详细了解这些变量或系数的含义。

Image for post

What does y signify in the equation?

y在方程式中代表什么?

根据上式, y是因变量(DV),它是试图解释某些内容的变量,例如: (From the above equation, y is the dependent variable (DV), It is a variable which is trying to explain something, For Example:)

Hypothetically speaking Salary of an employee depends on the years of experience. In this case y that is the salary of an employee would be the dependent variable, since it is dependent on the years of experience.

假设地说,雇员的工资取决于经验的年限。 在这种情况下,作为雇员薪水的y将是因变量,因为它取决于经验的年限。

or let’s take another example where the marks scored by the student depends upon the number of hours spent for studying, again in this case y that is the marks scored would be the dependent variable, since it is dependent on the number of hours spent studying for the exam.

还是让我们再举一个例子,其中由学生取得的标志取决于花费在这种情况下Ÿ学习,再次小时数是进球将因变量的标记,因为它是依赖于所花时间为留学人数考试。

What does x i.e (x1) signify in the equation?

x ie(x1)在方程式中代表什么?

根据上述相同的方程,x是自变量(IV),在这里,在简单线性回归的情况下,我们只有一个自变量,即x1。 (From the same equation mentioned above, x is the independent variable (IV), here in case of Simple Linear Regression, we have only one independent variable i.e x1.)

This is the variable that is causing the dependent variable to change. From the example mentioned above the years of experience and number of hours spent studying are the independent variables.

这是导致因变量更改的变量。 从上面提到的例子中,多年的经验和学习时间是自变量。

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值