官术网_书友最值得收藏!

Stepwise regression

The examples we have seen so far all had one independent and one dependent variable. This is used to illustrate the basic concepts of regression analysis. However, real-world scenarios are more complex and there are multiple factors that affect the outcome. As an example, the salary of an employee depends on multiple factors, such as skill sets, the ability to learn new tools and technologies, years of experience, past projects worked on, ability to play multiple roles, and location. As you can imagine, some of the factors contribute more than others in defining the outcome (salary, in this case).

When we do regression analysis on a dataset that contains lots of factors, the model can be accurately built if we select the factors that are more significant than others. Stepwise regression is a method by which the choice or selection of independent variables is automated.

Consider the following regression function:

y= β0 + β1x1+ β2x2 + β3x3 + ... . + βnxn

There are n number of input variables, along with their weights or coefficients. The goal for stepwise regression is to shortlist the variables that are most important for building an accurate model. Stepwise regression can be done with two approaches, which will be covered in the following sections.

主站蜘蛛池模板: 仙居县| 杭州市| 镇赉县| 文山县| 灵台县| 台湾省| 庆城县| 济阳县| 泊头市| 临夏县| 祁东县| 石城县| 阳泉市| 蒲城县| 土默特左旗| 海晏县| 康保县| 安福县| 彭阳县| 湖南省| 横峰县| 兰州市| 乐昌市| 兴安盟| 观塘区| 民权县| 青冈县| 哈巴河县| 来宾市| 瑞丽市| 蛟河市| 满洲里市| 甘谷县| 东乌珠穆沁旗| 崇文区| 双城市| 武汉市| 景泰县| 天津市| 宁海县| 泰州市|