
Note: To find the p-values for the coefficients, the r-squared value of the model, and other metrics for a multiple linear regression model in Excel, you should use the Regression function from the Data Analysis ToolPak. Using these values, we can write the equation for this multiple regression model:

Example 2: Find Equation for Multiple Linear Regression Note: To find the p-values for the coefficients, the r-squared value of the model, and other metrics, you should use the Regression function from the Data Analysis ToolPak.

Using these values, we can write the equation for this simple regression model:

Example 1: Find Equation for Simple Linear Regression
#DIFFERENT WAYS TO SHOW SIMPLE LINEAR REGRESSION EQUATION HOW TO#
The following examples show how to use this function to find a regression equation for a simple linear regression model and a multiple linear regression model. known_x’s: One or more columns of values for the predictor variables.The Scatter plot shows how much one variable affects another. known_y’s: A column of values for the response variable As the simple linear regression equation explains a correlation between 2 variables (one.This function uses the following basic syntax: LINEST(known_y's, known_x's) You can use the LINEST function to quickly find a regression equation in Excel.
