9709 · 6.3
Continuous random variables — FAQ
Frequently asked questions for 9709 Continuous random variables. Direct answers first, then deeper explanation — then practise with marking.
Why is the probability of a continuous random variable taking a single value, P(X=c), equal to zero?
Because probability is represented by the area under the PDF curve. The area of a region with zero width (at a single point 'c') is zero. Think of it as integrating from c to c: .
What is the difference between a PDF, f(x), and a CDF, F(x)?
The PDF, , is the 'density' function; its value is not a probability, but the area under it is. The CDF, , is a cumulative probability function; its value at is the actual probability . The PDF is the derivative of the CDF.
My variance calculation gave a negative number. What did I do wrong?
Variance can never be negative. If you get a negative answer, you have made a calculation error. The most common mistakes are: (1) an error in the integration of , or (2) forgetting to square in the formula . The worked example above shows how to spot and correct this.
How do I define the CDF for a piecewise PDF?
You need to define for all real numbers. It will be 0 for less than the lower bound of the PDF's range. It will be 1 for greater than the upper bound. In between, you integrate the PDF from the lower bound up to a variable . If the PDF has multiple pieces, the CDF will also have multiple corresponding pieces.