Recall & Review
beginner
What is a Probability Density Function (PDF)?
A PDF shows how likely it is to find a value near a specific point in a continuous distribution. The area under the PDF curve between two points gives the probability of the value falling in that range.
Click to reveal answer
beginner
What does the Cumulative Distribution Function (CDF) represent?
The CDF gives the probability that a random variable is less than or equal to a certain value. It is the area under the PDF curve from the smallest value up to that point.
Click to reveal answer
intermediate
How do you calculate the PDF and CDF using scipy for a normal distribution?
Use scipy.stats.norm. For PDF: norm.pdf(x, loc=mean, scale=std). For CDF: norm.cdf(x, loc=mean, scale=std). Replace x with the value, mean and std with distribution parameters.
Click to reveal answer
beginner
Why is the area under the PDF curve always equal to 1?
Because the total probability of all possible outcomes must be 1. The PDF curve represents how this total probability is spread over values.
Click to reveal answer
intermediate
What is the relationship between PDF and CDF?
The CDF is the integral (sum) of the PDF from the lowest value up to a point. The PDF is the derivative (rate of change) of the CDF.
Click to reveal answer
What does the CDF value at x represent?
✗ Incorrect
The CDF gives the probability that the variable is less than or equal to x.
Which scipy function calculates the PDF of a normal distribution?
✗ Incorrect
norm.pdf() calculates the probability density function values.
What is the total area under a PDF curve?
✗ Incorrect
The total area under the PDF curve is always 1, representing total probability.
If PDF is the derivative of CDF, what is CDF in terms of PDF?
✗ Incorrect
CDF is the integral (area under curve) of the PDF.
Which of these is true for a continuous random variable?
✗ Incorrect
For continuous variables, probability at an exact point is zero; probabilities come from intervals.
Explain the difference between Probability Density Function (PDF) and Cumulative Distribution Function (CDF).
Think about how probability is spread and accumulated.
You got /4 concepts.
Describe how to use scipy to find PDF and CDF values for a normal distribution at a given point.
Recall the function names and parameters.
You got /4 concepts.