A residual plot is a type of plot that displays the fitted values against the residual values for a regression model. This type of plot is often used to assess whether or not a linear regression model is appropriate for a given dataset and to check for heteroscedasticity of residuals.

Since Excel doesn’t have any built-in solutions to offer, you will have to plot it yourself. That’s why we developed the Chart Creator Add-in, a tool that allows you to build advanced Excel charts in just a few clicks. In this step-by-step tutorial, you will learn how to create a normal distribution bell curve in Excel from the ground up. Can anyone tell me how to create z chart in excel, if it is not possible in excel which application i should use to create z chart. Urgent help needed. Andy Pope, Microsoft MVP - Excel. Excel is a spreadsheet application that can render data calculated using 2D charts. The term 2D graph I mean the coordinate system x, y. Visualization of spatial data coordinates x, y, z using a 3D graph does not allow even the latest version (written in 2016).

How to Find Z Score in Excel – Microsoft Excel includes a large number of statistical formulas, including one that can calculate a Z-score (standard score) directly. You can also calculate Z-scores with a formula. Step 1: Enter the data. Type the data values for which you want to calculate the default Z-scores in a single column.

This tutorial explains how to create a residual plot for a simple linear regression model in Excel.

How to Create a Residual Plot in Excel

Use the following steps to create a residual plot in Excel:

Step 1: Enter the data values in the first two columns. For example, enter the values for the predictor variable in A2:A13 and the values for the response variable in B2:B13.

Step 2: Create a scatterplot. Highlight the values in cells A2:B13. Then, navigate to the INSERT tab along the top ribbon. Click on the first option for Scatter within the Charts area.

The following chart will appear:

Step 3: Display trend line equation on the scatterplot. Click “Add Chart Elements” from the DESIGN tab, then “Trendline”, and then “More Trendline Option. Leave “Linear” selected and check “Display Equation on Chart.” Close the “Format Trendline” panel.

The trend line equation will now be displayed on the scatterplot:

Step 4: Calculate the predicted values. Enter the trendline equation in cell C2, replacing “x” with “A1” like so:

Then, click cell C2 and double-click the small “Fill Handle” at the bottom right of the cell. This will copy the formula in cell C2 to the rest of the cells in the column:

Step 5: Calculate the residuals. Enter B2-C2 in cell D2. Then, click cell D2 and double-click the small “Fill Handle” at the bottom right of the cell. This will copy the formula in cell D2 to the rest of the cells in the column:

Step 6: Create the residual plot. Highlight cells A2:A13. Hold the “Ctrl” key and highlight cells D2:D13. Then, navigate to the INSERT tab along the top ribbon. Click on the first option for Scatter within the Charts area. The following chart will appear:

This is the residual plot. The x-axis displays the fitted values and the y-axis displays the residuals.

Feel free to modify the title, axes, and gridlines to make the plot look more visually appealing:

A bell curve (also known as normal distribution curve) is a way to plot and analyze data that looks like a bell curve.

In the bell curve, the highest point is the one that has the highest probability of occurring, and the probability of occurrences goes down on either side of the curve.

It is often used during employee performance appraisals or during evaluation in exams (ever heard – “You will be graded on the curve?”).

Now before I jump in on how to create a bell curve in Excel, let’s get a better understanding of the concept by taking an example.

Understanding the Bell Curve

Suppose you work in a team of 100 members and your manager tells you that your performance will be relative to others and will be evaluated on the bell curve.

This means that even if your team is the best team ever and you’re all superheroes, only a handful of you would get the top rating, most of the people in your team would get an average rating, and a handful will get the lowest rating.

Image Source: EmpxTrack

But why do we need the bell curve?

Fair question!

Suppose you have a class of 100 students that appear for an exam. According to your grading system, anyone who gets above 80 out of 100 gets an A grade. But since you set a really easy paper, everyone scored above 80 and got the A grade.

Now there is nothing wrong in this kind of grading system. However, using it, you can not differentiate between someone who got 81 and someone who got 95 (as both would get the A grade).

To keep the comparison fair and keep the competitive spirit alive, a bell curve is often used to evaluate performances (at least that’s how it was when I was in college).

Excel

Using the bell curve approach, the marks of students are converted into percentiles that are then compared with each other.

Students getting higher marks are on the right side of the curve and students getting low marks are on the left of the curve (with most of the students being in the middle around mean score).

Now to understand bell curve, you need to know about two metrics:

  • Mean – the average value of all the data points
  • Standard Deviation – it shows how much the dataset deviates from the mean of the dataset. For example, suppose you have a group of 50 people, and you are recording their weight (in kgs). In this dataset, the average weight is 60 kg, and the standard deviation is 4 kg. It means that 68% of the people’s weight is within 1 standard deviation from the mean – which would be 56-64 kg. Similarly, 95% of the people are within 2 standard deviation – which would be 52-68 Kgs.

When you have a dataset that is normally distributed, your bell curve will follow the below rules:

  • The center of the bell curve is the mean of the data point (also the highest point in the bell curve).
  • 68.2% of the total data points lie in the range (Mean – Standard Deviation to Mean + Standard Deviation).
  • 95.5% of the total data points lie in the range (Mean – 2*Standard Deviation to Mean + 2*Standard Deviation)
  • 99.7% of the total data points lie in the range (Mean – 3*Standard Deviation to Mean + 3*Standard Deviation)

X Y Z Plot In Excel

Excel

Image Source: MIT News

Now let’s see how to create a bell curve in Excel.

Creating a Bell Curve in Excel

Let’s take an example of a class of students that have been scored in an exam.

Plot Z Score In Excel

The mean score of the class is 65 and the standard deviation is 10. (You can calculate the mean using the AVERAGE function in Excel and Standard Deviation using the STDEV.P function).

Here are the steps to create a bell curve for this dataset:

  • In cell A1 enter 35. This value can be calculated using Mean – 3* Standard Deviation (65-3*10).
  • In the cell below it enter 36 and create a series from 35 to 95 (where 95 is Mean + 3* Standard Deviation). You can do this quickly by using the autofill option, or use the fill handle and drag it down to fill the cells.
  • In the cell adjacent to 35, enter the formula: =NORM.DIST(A1,65,10,FALSE)
    • Note that here I have hardcoded the value of mean and standard deviation. You can also have these in cells and use the cell references in the formula.
  • Again use the fill handle to quickly copy and paste the formula for all the cells.
  • Select the data set and go to Insert tab.
  • Insert the ‘Scatter with Smooth Lines’ chart.
Plot

This will give you a bell curve in Excel.

Now you can change the chart title and adjust the axis if you need.

Note that when you have a low standard deviation, you get a packed slim bell curve, and when you have a high standard deviation, the bell curve is wide and covers more area on the chart.

This kind of bell curve can be used to identify where a data point lies in the chart. For example, in case a team is full of high performers, when evaluated on a curve, despite being a high performer, someone can get an average rating as he/she was in the middle of the curve.

Note: In this blog post, I have discussed the concept of a bell curve and how to create it in Excel. A statistician would be better suited to talk about the efficacy of the bell curve and limitations associated with it. I am more of an Excel guy and my involvement with Bell curve has been limited to the calculations I did when I worked as a Financial Analyst.

Hope you found this tutorial useful!

Let me know your thoughts in the comments section.

You May Also like the following Excel Tutorials:

  • How to Calculate Compound Interest in Excel + FREE Calculator.
  • Advanced Excel Charts.

Get 51 Excel Tips Ebook to skyrocket your productivity and get work done faster