|
On 21 Mar, 08:40, "Viktoria " <viktori...@yahoo.com> wrote:
> Hi! I already know how to get the cdf of a known distribution like a normal or poisson, but what if I'm only interested in the cdf of a set of data points whose histogram I already have. Is there a command that would compute it?
Technically - no. The PDF of the process that generated the data
is usually not known, so there is no way you can compute the CDF.
However, if you accept the claim that the histogram is an estimator
for the PDF, you can use the histogram to come up with an estimate
for the CDF. This can be one in several ways:
- Brute force, non-parametric as a cumulative sum
- By parameter estimation: Postulate a distrbution
type for the PDF (Gaussian, Rayleigh, Poisson, ...)
and use the histogram to estimate the parameters for
the PDF. Then insert the parameters in the corresponding
analytic expression for the CDF.
Rune
|