4.5 C
London
Thursday, December 19, 2024
HomeSoftware TutorialsGoogle SheetsHow to Perform a Normality Test in Google Sheets

How to Perform a Normality Test in Google Sheets

Related stories

Learn About Opening an Automobile Repair Shop in India

Starting a car repair shop is quite a good...

Unlocking the Power: Embracing the Benefits of Tax-Free Investing

  Unlocking the Power: Embracing the Benefits of Tax-Free Investing For...

Income Splitting in Canada for 2023

  Income Splitting in Canada for 2023 The federal government’s expanded...

Can I Deduct Home Office Expenses on my Tax Return 2023?

Can I Deduct Home Office Expenses on my Tax...

Canadian Tax – Personal Tax Deadline 2022

  Canadian Tax – Personal Tax Deadline 2022 Resources and Tools...

Many statistical tests make the assumption that the values in a dataset are normally distributed.

One of the easiest ways to test this assumption is to perform a Jarque-Bera test, which is a goodness-of-fit test that determines whether or not sample data have skewness and kurtosis that matches a normal distribution.

This test uses the following hypotheses:

  • H0: The data is normally distributed.
  • HA: The data is not normally distributed.

The test statistic JB is defined as:

JB  =(n/6) * (S2 + (C2/4))

where:

  • n: the number of observations in the sample
  • S: the sample skewness
  • C: the sample kurtosis

Under the null hypothesis of normality, JB ~ X2(2).

If the p-value that corresponds to the test statistic is less than some significance level (e.g. α = .05), then we can reject the null hypothesis and conclude that the data is not normally distributed.

This tutorial provides a step-by-step example of how to perform a Jarque-Bera test for a given dataset in Google Sheets.

Step 1: Enter the Data

First, let’s create a fake dataset with 15 values:

Step 2: Calculate the Test Statistic

Next, we will calculate the JB test statistic.

Column E shows the formulas used:

The test statistic turns out to be 1.0175.

Step 3: Calculate the P-Value

Under the null hypothesis of normality, the test statistic JB follows a Chi-Square distribution with 2 degrees of freedom.

So, to find the p-value for the test we will use the following formula:

=CHISQ.DIST.RT(JB test statistic, 2)

The following screenshot shows how to use this formula in practice:

normality test in Google Sheets

The p-value of the test is 0.601244.

Recall that this Jarque-Bera normality test uses the following hypotheses:

  • H0: The data is normally distributed.
  • HA: The data is not normally distributed.

Since this p-value is not less than 0.05, we fail to reject the null hypothesis.

This means we don’t have sufficient evidence to say that the dataset is not normally distributed.

In other words, we can assume that the data is normally distributed.

Additional Resources

The following tutorials explain how to perform other common tasks in Google Sheets:

How to Perform t-Tests in Google Sheets
How to Perform F-Tests in Google Sheets
How to Calculate Confidence Intervals in Google Sheets

Subscribe

- Never miss a story with notifications

- Gain full access to our premium content

- Browse free from up to 5 devices at once

Latest stories