O'Reilly logo

Statistics for Process Control Engineers by Myke King

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

5Probability Density Function

The probability density function (PDF) is a mathematical function that represents the distribution of a dataset. For example, if we were to throw a pair of unbiased six‐sided dice 36 times, we would expect (on average) the distribution of the total score to be that shown by Figure 5.1. This shows the frequency distribution. To convert it to a probability distribution we divide each frequency by the total number of throws. For example, a total score of 5 would be expected to occur four times in 36 throws and so has a probability of 4/36 (about 0.111 or 11.1%). Figure 5.2 shows the resulting probability distribution.

Total score vs. frequency displaying circle plots at (1,0), (2,1), (3,2), (4,3), (5,4), (6,5), (7,6), (8,5), (9,4), (10,3), (11,2), (12,1), and (13,0), illustrating the expected frequency of total score from 2 dice.

Figure 5.1 Expected frequency of total score from two dice

Total score vs. probability displaying vertical lines with solid circle at the tip forming an inverted "V" formation, illustrating the expected distribution.

Figure 5.2 Expected distribution

Throwing dice generates a discrete distribution; in this case the result is restricted to integer values. Probability should not be plotted as continuous line. The probability of a non‐integer result is zero. But we can develop an equation for the line. In this case, if x is the total scored, the probability of scoring x is

Because x is discrete this function is known as the probability mass function (PMF). If the distribution were continuous ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required