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 [tex]p(x)[/tex] is the density, then the distribution function is
[tex]
P(x) = P(X \le x) = \int_{-\infty}^x p(t) \, dt[/tex]
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 [tex]m(x)[/tex] is the mass function, then for each value of the random variable
[tex]
m(a) = P(X = a)[/tex]
A discrete distribution also has distribution function. If [tex]t[/tex] is a real number,
[tex]
M(t) = P(X \le t) = \sum_{x_i \le t} m(x_i)[/tex]
where I mean the sum extends over all values that are [tex]\le t[/tex].
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 [tex]\le 1[/tex]
4) a discrete random variable also has a distribution function
does this help?