Non-Linear Regression in Excel

Excel Non-Linear Regression

Excel Non-Linear Regression is the model which is used widely in the statistics field where the dependent variables are modeled as non-linear functions of model variables and one or more independent variables.

The simple thing we need to remember is “linear regression in excel” fits straight linear line, and on the other hand, non-linear regression creates curves from the data sets.”

Non-Linear-Regression-in-Excel

You are free to use this image on your website, templates etc, Please provide us with an attribution linkHow to Provide Attribution?Article Link to be Hyperlinked
For eg:
Source: Non-Linear Regression in Excel (wallstreetmojo.com)

Examples of Non-Linear Regression in Excel

You can download this Non-Linear Regression Excel Template here – Non-Linear Regression Excel Template

Example #1

Let’s look at the linear chart first consider the below data.

Non-Linear Regression Excel Example 1

In the above data, we have two variables, “Sales” and “Adds.”

We need to understand which dependent variable is and which independent variable is.

In general, we all know “Adds” play a vital role in increasing the possibility of revenue generation. So, “Sales” is dependent on “Adds” this means “Sales” is a dependent variable, and “Adds” is an Independent variable.

The general rule is one of the variables is going to affect the other one. So, in this case, our independent variable “Adds” affecting our dependent variable, “Sales.”

For this data, let’s create a “Scatter” chart to see these numbers graphically. Follow the below steps to insert the excel chart.Insert The Excel Chart.In Excel, a graph or chart lets us visualize information we've gathered from our data. It allows us to visualize data in easy-to-understand pictorial ways. The following components are required to create charts or graphs in Excel: 1 - Numerical Data, 2 - Data Headings, and 3 - Data in Proper Order.read more

Follow the below steps to insert the excel chart.Insert The Excel Chart.In Excel, a graph or chart lets us visualize information we've gathered from our data. It allows us to visualize data in easy-to-understand pictorial ways. The following components are required to create charts or graphs in Excel: 1 - Numerical Data, 2 - Data Headings, and 3 - Data in Proper Order.read more

  1. Copy and paste the above data to the spreadsheet.

  2. Select the data.

  3. Go to the INSERT tab and insert a Scatter chart.

    Non-Linear Regression Excel Example 1-1

  4. Now we will have a chart like this. For this chart, we need to insert a linear line to see how linear these data points are.

    Non-Linear Regression Excel Example 1-2

  5. Select the chart to see two new tabs in the ribbon, “Design” and “Format.”

    Non-Linear Regression Excel Example 1-3

  6. Under the “Design” tab, go to “Add Chart Element.”

    Non-Linear Regression Excel Example 1-4

  7. Click on the drop-down list of “Add Chart Element” >> Trend line >> Linear.

    Non-Linear Regression Excel Example 1-5
    This will add a linear trend line to the chart, and it looks like this.

Non-Linear Regression Excel Example 1-6

From this chart, we can see a clear relationship between “Sales” and “Ads.” As the number of “Ads” increases, it invariably increases the “Sales” numbers as well, and it is proved right by our linear line in the chart. It just fits on the linear line.

Now, look at the example data of the same thing.

Non-Linear Regression Excel Example 1-7

If you insert the chart and trend line for this data set, we will get the below kind of chart.

Example 1-8

If you look at the linear line and dot of our data set, it seems to be not an exact relationship at all between the two sets of data points.

These kinds of data sets are called excel “Non-Linear Regression” data points.

Example #2

Now we will see another example of this excel non-linear regression data point. Consider the below data.

Example 2

Above is the data of Rain Fall and Crops Purchased data.

  • Now we need to see the relationship between rainfall and crops purchased. For this, create a scattered chart.
Example 2-1
  • Insert a linear line for the chart.
Example 2-3

As we can for the same set of rainfall, different crop quantities are purchased. For example, look at the rainfall at 20; in this rainfall range, crop purchased quantities are 4598, 3562, and 1184.

This may be due to the season as well. Rain could be the same amount, but due to different time frames, farers have purchased different quantities.

Things to Remember

  • Linear and Non-Linear are two different things from each other.
  • A strong statistical background is required to understand these things.
  • Understand what linear regression is before learned about non-linear.

Recommended Articles

This has been a guide to Non-Linear Regression in Excel. Here we discuss how to do non-linear regression in excel along with examples and downloadable excel template. You may learn more about excel from the following articles –

  • 35+ Courses
  • 120+ Hours
  • Full Lifetime Access
  • Certificate of Completion
LEARN MORE >>