Smart Systems for Home

Plain how-to guides for smart home, security and home Wi-Fi

Normal Probability Plot in Excel: Step-by-Step Guide

· 5 min read · Home Tech

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

A normal probability plot (or Q-Q plot) in Excel allows you to determine if a dataset follows a normal distribution by plotting your observed data against the theoretical quantiles of a normal distribution. If the data is normally distributed, the resulting plot will appear as a straight line. Because Excel does not have a built-in "Normal Probability Plot" chart type, you must manually calculate the ranks and theoretical quantiles before generating a Scatter Plot.

What You'll Need

  • Microsoft Excel installed on your computer.
  • A set of numerical data (your sample) organized in a single column.
  • Basic familiarity with Excel formulas.

Step-by-Step

  1. Enter Your Data: Input your raw data into a single column (e.g., Column A). Let's assume you have 20 data points in cells A2 through A21.
  2. Sort the Data: Highlight your data, go to the Data tab, and click Sort A to Z. The data must be in ascending order for the probability plot to work.
  3. Assign Ranks: In the column next to your data (Column B), create a rank for each data point. In cell B2, type 1, in B3 type 2, and drag the fill handle down to B21 so you have a sequence from 1 to 20.
  4. Calculate Cumulative Probability: In Column C, calculate the plotting position (the cumulative probability). In cell C2, enter the formula: =(B2-0.5)/COUNT($A$2:$A$21). Drag this formula down to C21. This formula centers the data points to avoid issues at the extreme ends (0 and 1) of the distribution.
  5. Calculate Theoretical Quantiles: In Column D, use the NORM.S.INV function to find the Z-score for each probability. In cell D2, enter: =NORM.S.INV(C2). Drag this formula down to D21. These values represent where the data should fall if it were perfectly normal.
  6. Create the Scatter Plot:
    • Highlight the data in Column D (Theoretical Quantiles) and Column A (Sorted Data).
    • Go to the Insert tab.
    • Click the Scatter chart icon and select Scatter with Straight Markers (or just Scatter).
  7. Format the Chart:
    • The X-axis should be the Theoretical Quantiles (Column D) and the Y-axis should be your Observed Data (Column A). If they are swapped, right-click the chart, choose Select Data, and edit the series to switch the X and Y values.
    • Add axis titles via the Chart Design tab > Add Chart Element > Axis Titles. Label the X-axis as "Theoretical Quantiles" and the Y-axis as "Observed Values."
  8. Add a Trendline: Right-click any data point on the chart and select Add Trendline. Choose Linear. If the data points closely follow this line, your data is approximately normally distributed.

Common Mistakes

  • Forgetting to Sort: The most common error is skipping the sorting step. If the data is not sorted from smallest to largest, the ranks will not correspond to the cumulative probability, and the plot will look like a random cloud of points.
  • Incorrect Range References: When using the COUNT function in the probability formula, failing to use absolute references (the $ signs, e.g., $A$2:$A$21) will cause the range to shift as you drag the formula down, leading to incorrect calculations.
  • Swapping X and Y Axes: Putting the observed data on the X-axis and the theoretical quantiles on the Y-axis is a common mistake. While the shape remains similar, the standard convention for a Q-Q plot is Theoretical Quantiles on the X-axis.

Tips

  • Use Tables: Convert your data range into an official Excel Table (Ctrl+T). This makes your formulas dynamic, so if you add more data points later, the ranks and quantiles will update automatically.
  • Check R-Squared: When adding the trendline, check the box for Display Equation on chart and Display R-squared value on chart. An R-squared value very close to 1.0 indicates a very strong fit to the normal distribution.
  • Visual Inspection: Look for "S-curves" or "C-curves." An S-shape suggests the distribution has heavier or lighter tails than a normal distribution (kurtosis), while a C-shape suggests skewness.

Troubleshooting

If the chart does not look like a line or the formulas return errors, try these steps:

  • #NUM! Error: This usually happens if the value inside NORM.S.INV is exactly 0 or 1. Ensure you used the (Rank - 0.5) / N formula rather than Rank / N, as the subtraction of 0.5 prevents the probability from hitting the boundaries.
  • Points are scattered randomly: Double-check that your data in Column A is sorted in ascending order. If it isn't, the plot cannot be interpreted.
  • Chart is empty or distorted: Check your "Select Data" settings. Ensure the X-values are mapped to the NORM.S.INV column and Y-values are mapped to the sorted data column.

Frequently Asked Questions

What is the difference between a histogram and a normal probability plot?

A histogram shows the frequency distribution of data, allowing you to visually estimate the shape. A probability plot is more precise for testing normality because it compares your data directly against a theoretical mathematical model.

Do I need a specific Excel add-in for this?

No. While some statistical add-ins can automate this, you can create a fully accurate normal probability plot using only standard Excel functions like NORM.S.INV and Scatter charts.

Can I use this for very small datasets?

Yes, but be cautious. With very few data points (e.g., less than 10), it is difficult to determine if a deviation from the line is a significant lack of normality or just random sampling noise.

What does it mean if my plot is a straight line but tilted?

The slope of the line represents the standard deviation of your data. A straight line, regardless of the angle, indicates that the data is normally distributed; the angle simply tells you how spread out the data is.

Is NORM.S.INV the same as NORM.INV?

No. NORM.S.INV is for the Standard Normal Distribution (mean of 0, standard deviation of 1). NORM.INV requires you to specify the mean and standard deviation of your specific dataset. For a probability plot, NORM.S.INV is used to create the theoretical baseline.