# Trying to Do a Levene's Test in Excel?

## QI Macros can do it for you!

### Levene's Test of Variance using QI Macros:

- Select your data.
- Click on QI Macros menu > Statistical Tools > F & t Tests > Levenes Test.
- QI Macros will do the math and analysis for you.

### Go Deeper: Levene's Test for Non-normal Data and More Than Two Data Samples

**Levene's Test** compares two or more independent sets of test data. It helps determine if the variances are the same or different from each other. The Levene's Test is like the f test. However, the Levene's test is robust enough for non-normal data and handles more than two columns of data. QI Macros uses Median (Brown-Forsythe modification) instead of the Mean for calculations.

**Note:**Excel does not do a Levene's Test; QI Macros adds this functionality.

### Levene's Test Example

If you're producing rubber made with two different recipes, you might want to know if the variances in tensile strengths are the same or different (Juran's QC Handbook 4th pg 23.74):

Conduct a test and enter the data into Excel.

Click and drag over the data to select it and click on QI Macros Menu, Statistical Tools, f and t Tests and then Levene's test for variance:

QI Macros will perform the calculations and interpret the results for you.

### Interpreting the Levene's Test Results Manually

- The null hypothesis (H0) - variances are the same (variances are not different)
- The alternate hypothesis (Ha) - variances are different

Hypothesis Test |
Compare |
Result |

p value Method | p value < a | Reject the null hypothesis |

p value Method | p value > a | Cannot Reject the null hypothesis (Accept the null hypothesis) |

Since Levene's p value > a ( 0.337> 0.05), we cannot reject the null hypothesis (accept the null hypothesis) that the variances are equal.

While an F test works well on two-samples of normal data, it isn't robust enough to handle non-normal data or more than two samples. (Notice that Levene's p value differs from F Test's two-tailed value of 0.305; however both cause acceptance of null hypothesis.)

### Levene's Test - ten sample example

Now, consider the following example of ten batches of gear diameters:

Again the p-value 0.099 > 0.05, so we cannot reject the null hypothesis (accept the null hypothesis). Variances are the same from a batch to batch.

#### Stop Struggling with Levenes Tests!

Start creating your Levenes Tests in just minutes.

##### Download a free 30-day trial. Get Levenes Tests now!

### Why Choose QI Macros Statistical Software for Excel?

### Easy to Use

- Works Right in Excel
- Interprets p-values for You
- Accurate No-Worry Results
- Free Training Anytime

### Proven and Trusted

- 100,000 Users in 80 Countries
- Celebrating 20th Anniversary
- Five Star CNET Rating - Virus Free

### Affordable

- Only
**$349 USD**

Quantity Discounts Available - No annual fees
- Free Technical Support