Questions tagged [cumulative-distribution-function]

Cumulative distribution function. While the PDF gives the probability density of each value of a random variable, the CDF (often denoted $F(x)$) gives the probability that the random variable will be less than or equal to a specified value.

The cumulative distribution function of a random variable gives the probability of that variable taking on a value less than or equal to any given value. The cdf of a distribution is the integral of the pdf of that distribution: $$ F(x)=Pr(X\le x)=\int_{-\infty}^{x}f(\xi)d\xi $$ (If the random variable is discrete, this simplifies to a sum.)

In applied statistics, cdfs are important in comparing distributions, playing a role in plots (e.g., pp-plots), and hypothesis tests (e.g., the Kolmogorov-Smirnov test).

698 questions
54
votes
10 answers

Why is the sum of two random variables a convolution?

For long time I did not understand why the "sum" of two random variables is their convolution, whereas a mixture density function sum of $f(x)$ and $g(x)$ is $p\,f(x)+(1-p)g(x)$; the arithmetic sum and not their convolution. The exact phrase "the…
47
votes
3 answers

Are CDFs more fundamental than PDFs?

My stat prof basically said, if given one of the following three, you can find the other two: Cumulative distribution function Moment Generating Function Probability Density Function But my econometrics professor said CDFs are more fundamental…
42
votes
3 answers

Help me understand the quantile (inverse CDF) function

I am reading about the quantile function, but it is not clear to me. Could you provide a more intuitive explanation than the one provided below? Since the cdf $F$ is a monotonically increasing function, it has an inverse; let us denote this by…
37
votes
4 answers

Intuitive explanation of Kolmogorov Smirnov Test

What is the cleanest, easiest way to explain someone the concept of Kolmogorov Smirnov Test? What does it intuitively mean? It's a concept that I have difficulty in articulating - especially when explaining to someone. Can someone please explain it…
28
votes
3 answers

Gaussian Ratio Distribution: Derivatives wrt underlying $\mu$'s and $\sigma^2$s

I'm working with two independent normal distributions $X$ and $Y$, with means $\mu_x$ and $\mu_y$ and variances $\sigma^2_x$ and $\sigma^2_y$. I'm interested in the distribution of their ratio $Z=X/Y$. Neither $X$ nor $Y$ has a mean of zero, so $Z$…
26
votes
2 answers

How to find/estimate probability density function from density function in R

Suppose that I have a variable like X with unknown distribution. In Mathematica, by using SmoothKernelDensity function we can have an estimated density function.This estimated density function can be used alongside with PDF function to calculate…
Amin
  • 459
  • 1
  • 4
  • 13
24
votes
5 answers

Empirical CDF vs CDF

I'm learning about the Empirical Cumulative Distribution Function. But I still don't understand Why is it called 'Empirical'? Is there any difference between Empirical CDF and CDF?
24
votes
3 answers

Finding the PDF given the CDF

How can I find the PDF (probability density function) of a distribution given the CDF (cumulative distribution function)?
24
votes
3 answers

Why is the CDF of a sample uniformly distributed

I read here that given a sample $ X_1,X_2,...,X_n $ from a continuous distribution with cdf $ F_X $, the sample corresponding to $ U_i = F_X(X_i) $ follows a standard uniform distribution. I have verified this using qualitative simulations in…
23
votes
4 answers

How to calculate cumulative distribution in R?

I need to calculate the cumulative distribution function of a data sample. Is there something similar to hist() in R that measure the cumulative density function? I have tries ecdf() but i can't understand the logic.
emanuele
  • 2,008
  • 3
  • 21
  • 34
22
votes
3 answers

Why does a Cumulative Distribution Function (CDF) uniquely define a distribution?

I have always been told a CDF is unique however a PDF/PMF is not unique, why is that ? Can you give an example where a PDF/PMF is not unique ?
19
votes
3 answers

Do the pdf and the pmf and the cdf contain the same information?

Do the pdf and the pmf and the cdf contain the same information? For me the pdf gives the whole probability to a certain point(basically the area under the probability). The pmf give the probability of a certain point. The cdf give the probability…
17
votes
4 answers

Which to believe: Kolmogorov-Smirnov test or Q-Q plot?

I'm trying to determine if my dataset of continuous data follows a gamma distribution with parameters shape $=$ 1.7 and rate $=$ 0.000063. The problem is when I use R to create a Q-Q plot of my dataset $x$ against the theoretical distribution gamma…
16
votes
1 answer

How are the Error Function and Standard Normal distribution function related?

If the Standard Normal PDF is $$f(x) = \frac{1}{\sqrt{2\pi}} e^{-x^2/2}$$ and the CDF is $$F(x) = \frac{1}{\sqrt{2\pi}} \int_{-\infty}^x e^{-x^2/2}\mathrm{d}x\,,$$ how does this turn into an error function of $z$?
TH4454
  • 301
  • 1
  • 4
  • 14
15
votes
3 answers

CDF raised to a power?

If $F_Z$ is a CDF, it looks like $F_Z(z)^\alpha$ ($\alpha \gt 0$) is a CDF as well. Q: Is this a standard result? Q: Is there a good way to find a function $g$ with $X \equiv g(Z)$ s.t. $F_X(x) = F_Z(z)^\alpha$, where $ x \equiv g(z)$ Basically, I…
1
2 3
46 47