Accendo Reliability

Your Reliability Engineering Professional Development Site

  • Home
  • About
    • Contributors
  • Reliability.fm
    • Speaking Of Reliability
    • Rooted in Reliability: The Plant Performance Podcast
    • Quality during Design
    • Way of the Quality Warrior
    • Critical Talks
    • Dare to Know
    • Maintenance Disrupted
    • Metal Conversations
    • The Leadership Connection
    • Practical Reliability Podcast
    • Reliability Matters
    • Reliability it Matters
    • Maintenance Mavericks Podcast
    • Women in Maintenance
    • Accendo Reliability Webinar Series
  • Articles
    • CRE Preparation Notes
    • on Leadership & Career
      • Advanced Engineering Culture
      • 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 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
      • ReliabilityXperience
      • RCM Blitz®
      • 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
      • Metals Engineering and Product Reliability
      • Musings on Reliability and Maintenance Topics
      • Product Validation
      • Reliability Engineering Insights
      • Reliability in Emerging Technology
    • 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
      • Integral Concepts
      • Learning from Failures
      • Progress in Field Reliability?
      • R for Engineering
      • Reliability Engineering Using Python
      • Reliability Reflections
      • Testing 1 2 3
      • The Manufacturing Academy
  • eBooks
  • Resources
    • Accendo Authors
    • FMEA Resources
    • Feed Forward Publications
    • Openings
    • Books
    • Webinars
    • Journals
    • Higher Education
    • Podcasts
  • Courses
    • 14 Ways to Acquire Reliability Engineering Knowledge
    • Reliability Analysis Methods online course
    • Measurement System Assessment
    • SPC-Process Capability Course
    • Design of Experiments
    • Foundations of RCM online course
    • Quality during Design Journey
    • Reliability Engineering Statistics
    • Quality Engineering Statistics
    • An Introduction to Reliability Engineering
    • Reliability Engineering for Heavy Industry
    • An Introduction to Quality Engineering
    • Process Capability Analysis course
    • Root Cause Analysis and the 8D Corrective Action Process course
    • Return on Investment online course
    • CRE Preparation Online Course
    • Quondam Courses
  • Webinars
    • Upcoming Live Events
  • Calendar
    • Call for Papers Listing
    • Upcoming Webinars
    • Webinar Calendar
  • Login
    • Member Home

by Fred Schenkelberg 2 Comments

Chi-Square Test of Independence

Chi-Square Test of Independence

The chi-square ( $- \chi^2 -$) test provides a means to determine independence between two or more variables. In this case, it works for count data.

Contingency table or row and column (r x c) analysis are other common names for this analysis. It is useful when comparing results from different treatments or processes.

Procedure

There is a six-step procedure for this analysis:

  1. Determine the observed frequencies (O) for the various conditions under comparison. For example, the number of people with specific attributes (position in the organization, for example) and their opinions on the state of the reliability program. Layout the values in a table.
  2. Assuming no differences exist among the attributes (conditions under scrutiny) calculate the expected frequencies (E). The expected value therefore for each condition (cell in table)  becomes the(  row total x column total ) divided by the grand total.
  3. Compare the observed and expected frequencies using the following calculation for each condition:

$$ \large\displaystyle \frac{{{\left( O-E \right)}^{2}}}{E}$$

  1. Sum all the conditions to determine the Χ2 Statistic.

$$ \large\displaystyle {{\chi }^{2}}=\sum\limits_{i,j}{\left[ \frac{{{\left( {{O}_{ij}}-{{E}_{ij}} \right)}^{2}}}{{{E}_{ij}}} \right]}$$

where Oij and Eij are the observed and expected number of measurements falling in the cell for the ith row and nth column.

  1. Determine the critical value using the $- \chi^2 -$ table or probability calculation. The degree of freedom is the number of rows minus 1 times the number of columns minus one.
  2. Compare the test statistic to the critical value and determine if a convincing difference exists at a specific confidence level.

Problem

A bicycle manufacturer wants to determine if managers and factory staff have the same opinion of the current reliability program. They did a survey and asked everyone if they considered the current reliability program good or poor.

As part of the survey data analysis, we wanted to determine if the opinions were related to position in the organization (manager or staff). The observed results are below.

Position
Staff Manager
Good 27 5 32
Poor 3 5 8
Totals 30 10 40

Is there any convincing difference in the test stations (use 95% confidence).

Solution

Null Hypothesis: H0: The two variables, position and opinion, are independent.

Alternative hypothesis: The two variables are dependent.

Step 1. The observations are in the table above.

Step 2. The expected values are in the table below.

Position
Staff Manager
Good 24 8 32
Poor 6 2 8
Totals 30 10 40

Step 3. Compare the observed and expected frequencies.

The following table has the results of the ( O – E )2 / E

Position
Staff Manager
Good 0.375 1.125
Poor 1.5 4.5

Step 4. Total the expected vs observed values.

The tally is the $- \chi^2 -$ statistic

Χ2 = 0.375 + 1.125 + 1.5 + 4.5 = 7.5

Step 5. Determine the critical value.

The degrees of freedom = (rows -1)(columns – 1) = (  2 -1 )( 2 – 1 ) = 1.

Using a $- \chi^2 -$ table or calculation we find there is only a 5% chance that the calculated value will exceed 3.841.

Step 6. Compare the test statistic and critical value.

Since the calculated value, 7.5, is greater than the critical value, 3.841, there is convincing evidence the opinions depend on the person’s position.


Related:

Hypothesis Tests for Variance Case II (article)

Contingency Coefficient (article)

Hypothesis Tests for Variance Case I (article)

 

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

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.

« Reliability Testing
An Industry of MTBF Use »

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" ]

[/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