hassman said:
So a discrete random variable does not have a probability density function, right? How is it called then? Probability mass function?
I'm not sure we're on the same thought here.
a) An exponential distribution is continuous, and it has a density and cumulative distribution function. it is possible for the density to have a maximum that is larger than one, as long as
it still integrates to one. the density function values are not probabilities - those come from the distribution function. If p(x) is the density, then the distribution function is
<br />
P(x) = P(X \le x) = \int_{-\infty}^x p(t) \, dt<br />
b) A discrete distribution has a mass function (the discrete analog of a density). the individual values of the mass function are probabilities; each one of them must be smaller than one, and the sum of all values of the mass function has to equal one. If m(x) is the mass function, then for each value of the random variable
<br />
m(a) = P(X = a)<br />
A discrete distribution also has distribution function. If t is a real number,
<br />
M(t) = P(X \le t) = \sum_{x_i \le t} m(x_i)<br />
where I mean the sum extends over all values that are \le t.
Primary differences:
1) the density for a continuous random variable doesn't give probability directly - the distribution function does that
2) the density for a continuous random variable can be larger than one, as long as it integrates to one
3) the mass function for a discrete random variable does give probability for individual values, and must always be \le 1
4) a discrete random variable also has a distribution function
does this help?