![excel linear regression function intercept excel linear regression function intercept](https://media.cheggcdn.com/media/d72/d72abb15-2914-484f-9f96-5a295f452f6b/phppDBrxu.png)
In the case of multiple linear regression, we can select more columns of independent variables (like if we wish to see the impact of BMI as well on medical expenses). Select the Input Y range and Input X range (medical expenses and age, respectively). Click on ‘Data Analysis’ in the ‘Data’ tab.This will add ‘Data Analysis’ tools to the ‘Data’ tab. Select ‘Excel Add-Ins’ in the ‘Manage’ box, and click on ‘Go.’.Method #2 – Analysis ToolPak Add-In MethodĪnalysis ToolPak is sometimes not enabled by default, and we need to do it manually. If the graph gets plotted in reverse order, then either switch the axes in a chart or swap the columns in the dataset. Note: In this type of regression graph, the dependent variable should always be on the y-axis and independent on the x-axis.
![excel linear regression function intercept excel linear regression function intercept](https://xxlbi.com/wp-content/uploads/2017/09/Simple_linear_regression.png)
We can improvise the chart as per our requirements, like adding axes titles, changing the scale, color and line type.
#Excel linear regression function intercept download
You can download this Linear Regression Excel Template here – Linear Regression Excel Template Method #1 – Scatter Chart with a Trendline