Part-discrete part-continuous distributions
Studying this course? Keep your progress in one place.
Key facts
- A mixed distribution has a point mass (often at ) plus a pdf over an interval.
- Point masses plus add to , so .
- ; at , strict and non-strict inequalities differ.
- The point mass at adds nothing to .
- If exceeds the target probability, the median or quartile is .
Mixed distributions
A variable with positive probability at a single value, such as , and a pdf elsewhere.
Some random variables are neither purely discrete nor purely continuous: a waiting time that is exactly when there is no queue, rainfall that is on dry days, an insurance claim that is when none is made.
These are part discrete, part continuous. A single value (often ) is a point mass, for example , and the remaining probability is spread over an interval with a pdf .
| Discrete | Continuous | Mixed | |
|---|---|---|---|
| Takes | Separate values | Any value in an interval | Point mass plus an interval |
| Probability comes from | Each value | Area under the pdf | Both added |
Discrete
- Takes:
- Separate values
- Probability comes from:
- Each value
Continuous
- Takes:
- Any value in an interval
- Probability comes from:
- Area under the pdf
Mixed
- Takes:
- Point mass plus an interval
- Probability comes from:
- Both added
A rainfall variable is exactly 0 on dry days and spread continuously on wet days. Which describes it?
Total probability is 1
The point masses and the area under must total , so the integral of is .
The point masses and the area under must add to 1:
So the integral of is and not .
To find an unknown constant, integrate over its range and set the result equal to minus the point mass.
- Continuous part
Worked example
and on . Find .
- 1
The continuous part must carry .
- 2
.
- 3
Set .
and on . What is ?
Finding probabilities
Split each probability into a discrete part and a continuous part.
Split every probability into a discrete part and a continuous part:
For an interval that does not include the point mass, such as with , use only the integral.
Strict and non-strict inequalities now differ at : but . Elsewhere .
With : and .
With and on , what is ?
Mean, median and quartiles
The point mass at adds nothing to the mean; the median is if the point mass exceeds .
The mean is .
A point mass at adds , so here .
A median or quartile satisfies , or . If is bigger than that probability, the value is . Otherwise solve and reject roots outside the range.
If , the median and lower quartile are both .
- Median or quartile
- If targetvalue is
Worked example
and on (total ). Find , and .
- 1
.
- 2
.
- 3
.
. What is the median?
Try an exam question
A random variable has and, for , probability density function , where is a constant. Find and .
[4 marks]
- [1]The continuous part has total probability .
- [1], so .
- [1].
- [1].
That's the notes covered.
Carry on to the next subtopic.
Try a question
Find the value of .
1 mark, marked against the mark scheme
Find the value of .
1 mark, marked against the mark scheme