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 / Poisson Distribution Calculation

by Fred Schenkelberg 2 Comments

Poisson Distribution Calculation

Poisson Distribution Calculation

Let’s say the results of software testing averaged three defects per 10,000 lines of code. The criteria for release is 90% probability of 5 or fewer defects per 10k lines.

If this product ready for release?

The Poisson distribution is appropriate here as it is useful for modeling defects per unit, count per area, or arrivals per hour. If the data, in this case, the defect count per lines of code to be modeled by the Poisson distribution, the probability of an occurrence (defect in this case) has to be proportional to the interval (lines of code in this case). Also, the number of occurrences (defects) per interval must be independent (more on statistical independence in another post).

The Poisson distribution is like the Exponential distribution in it has only one parameter.  The mean and variance terms are equal. The probability density function represents the probability of exactly x occurrences in an interval having an average of μ occurrences.

$$ \large\displaystyle f(x)=\frac{{{e}^{-\mu }}{{\mu }^{x}}}{x!}$$

The cumulative distribution function is the sum of the probability density function.

$$ \large\displaystyle F(x)=\sum\limits_{i=0}^{x}{\frac{{{e}^{-\mu }}{{\mu }^{i}}}{i!}}$$

Some references may have a table for the cumulative distribution and helps to avoid many calculations for each term in the summation.

Back to the example problem above. We need to calculate the probability of exactly 0, 1, 2, 3, 4 and 5 defects per 10k lines of code, then add those together to get the probability of 5 or fewer defects per 10k lines.

First, we need the estimate of μ which is given as three defects per 10k lines. Now, we can start the calculations.

Defects, x f(x)
0 0.0498
1 0.1494
2 0.2240
3 0.2240
4 0.1680
5 0.1008

Summing the f(x) column we find 0.916. Which means given the test results showing an average defect rate of 3 per 10k lines of code, there is a 91.6% probability of actually having 5 or fewer defects per 10k lines of code.

The product meets the criteria for release.


Related:

The Poisson Distribution (article)

The Exponential Distribution (article)

OC Curve with Binomial Method (article)

 

Filed Under: Articles, CRE Preparation Notes, Probability and Statistics for Reliability Tagged With: Statistics distributions and functions

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.

« Calculating Lognormal Distribution Parameters
Hypergeometric Distribution »

Comments

  1. Tim Adams says

    August 14, 2012 at 6:26 AM

    Some may find it helpful if after first sentence in fourth paragraph (The Poisson distribution is like the Exponential distribution in it has only one parameter.) this was added, “In particular, the Exponential distribution is a special case of the Poisson distribution when x = 0.”

    Reply

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