In this Answer, we look at how a Probability Density Function (PDF) works. We learn about continuous and discrete variables, and their connection with PDFs. Then, we run an example to gain a better understanding of the concepts explored.
We use PDFs to find the probability of a variable occurring within a range of values. The densities appear on the
A continuous variable has a specific value that presents accuracy, and not oneness or a stand-alone status. We can't count it, but just measure it. It's similar to a scale for values that have decimal points and a degree of precision.
For example, the heights of students in a class are continuous variables. Heights can have values, such as 5.4, 5.5, 5.9, 6.1, and 6.5 ft. We can't count these variables, but need instruments to measure them.
To counter a continuous variable, we have the discrete variable. We can count and present this variable, and don't need any instruments.
An example of discrete variables would be the number of students whose heights we have to measure. This means that discrete is represented in integers and uses something known as the
A PDF is a function that takes a variable and then tells its probability:
Here,
For discrete variables, however, we use an addition function because it is about counting. Hence, we use the PMF:
Here,
Let's demonstrate this concept through the example below.
Let's suppose we have to find a car with a specific turning radius.
Let's first make a density graph of some turning radius values between 34 and 35.
Now, let's find the probability of a car with a turning radius between 34.4 and 34.5:
So, we can write the probability as follows:
Once we calculate the area shaded in red, we see the probability of a car having a turning radius between 34.4 and 34.5.
Let's suppose that the function is as follows:
Note: This function may not represent the curve line above in the graph.
So, if we find 34.4 and 34.5 in this range, we have to take the integral as follows:
Once we perform the integration result, we get the following:
Let's denote the
We get the answer as follows:
So, the probability that a car has a turning radius between 34.4 and 34.5 is
Free Resources