Accendo Reliability

Your Reliability Engineering Professional Development Site

  • Home
  • About
    • Contributors
    • About Us
    • Colophon
    • Survey
  • Reliability.fm
  • Articles
    • CRE Preparation Notes
    • NoMTBF
    • on Leadership & Career
      • Advanced Engineering Culture
      • ASQR&R
      • Engineering Leadership
      • Managing in the 2000s
      • Product Development and Process Improvement
    • on Maintenance Reliability
      • Aasan Asset Management
      • AI & Predictive Maintenance
      • Asset Management in the Mining Industry
      • CMMS and Maintenance Management
      • CMMS and Reliability
      • Conscious Asset
      • EAM & CMMS
      • Everyday RCM
      • History of Maintenance Management
      • Life Cycle Asset Management
      • Maintenance and Reliability
      • Maintenance Management
      • Plant Maintenance
      • Process Plant Reliability Engineering
      • RCM Blitz®
      • ReliabilityXperience
      • Rob’s Reliability Project
      • The Intelligent Transformer Blog
      • The People Side of Maintenance
      • The Reliability Mindset
    • on Product Reliability
      • Accelerated Reliability
      • Achieving the Benefits of Reliability
      • Apex Ridge
      • Field Reliability Data Analysis
      • Metals Engineering and Product Reliability
      • Musings on Reliability and Maintenance Topics
      • Product Validation
      • Reliability by Design
      • Reliability Competence
      • Reliability Engineering Insights
      • Reliability in Emerging Technology
      • Reliability Knowledge
    • on Risk & Safety
      • CERM® Risk Insights
      • Equipment Risk and Reliability in Downhole Applications
      • Operational Risk Process Safety
    • on Systems Thinking
      • Communicating with FINESSE
      • The RCA
    • on Tools & Techniques
      • Big Data & Analytics
      • Experimental Design for NPD
      • Innovative Thinking in Reliability and Durability
      • Inside and Beyond HALT
      • Inside FMEA
      • Institute of Quality & Reliability
      • Integral Concepts
      • Learning from Failures
      • Progress in Field Reliability?
      • R for Engineering
      • Reliability Engineering Using Python
      • Reliability Reflections
      • Statistical Methods for Failure-Time Data
      • Testing 1 2 3
      • The Manufacturing Academy
  • eBooks
  • Resources
    • Accendo Authors
    • FMEA Resources
    • Glossary
    • Feed Forward Publications
    • Openings
    • Books
    • Webinar Sources
    • Podcasts
  • Courses
    • Your Courses
    • Live Courses
      • Introduction to Reliability Engineering & Accelerated Testings Course Landing Page
      • Advanced Accelerated Testing Course Landing Page
    • Integral Concepts Courses
      • Reliability Analysis Methods Course Landing Page
      • Applied Reliability Analysis Course Landing Page
      • Statistics, Hypothesis Testing, & Regression Modeling Course Landing Page
      • Measurement System Assessment Course Landing Page
      • SPC & Process Capability Course Landing Page
      • Design of Experiments Course Landing Page
    • The Manufacturing Academy Courses
      • An Introduction to Reliability Engineering
      • Reliability Engineering Statistics
      • An Introduction to Quality Engineering
      • Quality Engineering Statistics
      • FMEA in Practice
      • Process Capability Analysis course
      • Root Cause Analysis and the 8D Corrective Action Process course
      • Return on Investment online course
    • Industrial Metallurgist Courses
    • FMEA courses Powered by The Luminous Group
    • Foundations of RCM online course
    • Reliability Engineering for Heavy Industry
    • How to be an Online Student
    • Quondam Courses
  • Calendar
    • Call for Papers Listing
    • Upcoming Webinars
    • Webinar Calendar
  • Login
    • Member Home
  • Barringer Process Reliability Introduction Course Landing Page
  • Upcoming Live Events
You are here: Home / Articles / Levene’s Test

by Fred Schenkelberg 1 Comment

Levene’s Test

Levene’s Test

Here’s an overview of the non-parametric test to evaluate if a set of samples have the same variance. If the variances are equal they have homogeneity of variances.

Some statistical tests assume equal variances across samples, such as analysis of variance and many types of hypothesis tests. It is also assumed for statistical process control purposes to determine stability (often done with range (r chart) or standard deviation (s charts).

The Bartlett Test also is useful for tests of homogeneity of variance, yet does rely on the underlying distribution to be normally distributed. If there is evidence the data is normal, then the Bartlett Test has better performance.

The F test is another common method to determine if variances are equal and also relies on the data coming from a normal distribution.

Thus, if the data is not normally distributed, then Levene’s Test is the one to use.

The sample sizes do not need to be equal, which is convenient.

Test Process

  1. The null hypothesis is

$$ \large\displaystyle {{H}_{o}}:\sigma _{1}^{2}=\sigma _{2}^{2}=\ldots =\sigma _{k}^{2}$$

  1. The alternative hypothesis is

$$ \large\displaystyle {{H}_{a}}:\sigma _{1}^{2}\ne \sigma _{2}^{2}\ne \ldots \ne \sigma _{k}^{2}$$

For at least one pair (i,j).

  1. The Levene test statistic, W, is defined when there is a variable, Y, with sample of size N divided into k subgroups, where Ni is the sample size of the ith subgroup, then

$$ \large\displaystyle W=\frac{\left( N-k \right)}{\left( k-1 \right)}\frac{\sum\nolimits_{i=1}^{k}{{{N}_{i}}{{\left( {{{\bar{Z}}}_{i.}}-{{{\bar{Z}}}_{..}} \right)}^{2}}}}{\sum\nolimits_{i=1}^{k}{\sum\nolimits_{j=1}^{{{N}_{i}}}{{{N}_{i}}{{\left( {{{\bar{Z}}}_{ij}}-{{{\bar{Z}}}_{i.}} \right)}^{2}}}}}$$

Where the basis for the Zij term could be mean, median or trimmed mean as follows:

$$ \large\displaystyle {{Z}_{ij}}=\left| {{Y}_{ij}}-{{{\bar{Y}}}_{i.}} \right|$$

Where Ȳi. is the mean of the i-th subgroup.

$$ \large\displaystyle {{Z}_{ij}}=\left| {{Y}_{ij}}-{{{\tilde{Y}}}_{i.}} \right|$$

$- {{{\tilde{Y}}}_{i.}} -$ is the mean of the i-th subgroup.

$$ \large\displaystyle {{Z}_{ij}}=\left| {{Y}_{ij}}-\bar{Y}_{i.}^{‘} \right|$$

Where Ȳ’i. is the mean of the i-th subgroup.

$- {{{\bar{Z}}}_{i.}} -$ are the group means of the $- {{{Z}}_{ij}} -$ and $- {{{\bar{Z}}}_{..}} -$ is the overall mean of the $-  {{{Z}}_{ij}} -$.

The original paper by Levene used means. Later developments by Brown and Forsythe (1974) extended the test to use the median which is best when the underlying data followed a skewed distribution. The trimmed mean approach is best when the underlying data followed a heavy tail distribution (Cauchy). The mean approach is best when the data is symmetric and moderated-tailed.

Critical Region

Based on a significant of alpha if the test statistic, W, is greater than Fα,k-1,N-k  where Fα,k-1,N-k is the upper critical value of the F distribution with k-1 and N-k degrees of freedom at a significance level of α.


Related:

Hypothesis Test Selection (article)

Hypothesis Tests for Variance Case I (article)

Two samples variance hypothesis test (article)

 

Filed Under: Articles, CRE Preparation Notes, Probability and Statistics for Reliability Tagged With: Statistics non-parametric

About Fred Schenkelberg

I am the reliability expert at FMS Reliability, a reliability engineering and management consulting firm I founded in 2004. I left Hewlett Packard (HP)’s Reliability Team, where I helped create a culture of reliability across the corporation, to assist other organizations.

« Contingency Coefficient
Reliability Success Stories »

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

CRE Preparation Notes

Article by Fred Schenkelberg

Join Accendo

Join our members-only community for full access to exclusive eBooks, webinars, training, and more.

It’s free and only takes a minute.

Get Full Site Access

Not ready to join?
Stay current on new articles, podcasts, webinars, courses and more added to the Accendo Reliability website each week.
No membership required to subscribe.

[popup type="" link_text="Get Weekly Email Updates" link_class="button" ][display_form id=266][/popup]

  • CRE Preparation Notes
  • CRE Prep
  • Reliability Management
  • Probability and Statistics for Reliability
  • Reliability in Design and Development
  • Reliability Modeling and Predictions
  • Reliability Testing
  • Maintainability and Availability
  • Data Collection and Use

© 2025 FMS Reliability · Privacy Policy · Terms of Service · Cookies Policy