Take the 2-minute tour ×
Mathematics Stack Exchange is a question and answer site for people studying math at any level and professionals in related fields. It's 100% free, no registration required.

Say you have pdf, $f(x)$ for $x$ in $[a,b]$: $a < x < b$

How do you find the CDF, $P(X < x)$?

share|improve this question
1  
$F_X(x) = \int_{-\infty}^x f_X(t)\,dt$. –  V. C. Apr 10 at 13:22
    
but what are the limits here? are you integrating between negative infinity and b? –  Dom Apr 10 at 13:23
    
For $x$ between $a$ an $b$, the cumulative distribution function $F(x)$ is given by $F(x)=\int_a^x f(t)\,dt$. Also, $F(x)=0$ if $x\le a$ and $f(x)=1$ if $x\ge b$. –  André Nicolas Apr 10 at 13:23
    
$$\Pr[X\le x]=F_X(x)=\int_a^x f(t)\ dt,$$ where $t$ is just a dummy variable. –  Tunk-Fey Apr 10 at 13:23
    
@Dom I'm integrating between negative infinity and $x$. If $f_X(x)=0$ for $x\not\in(a,b)$, then $F_X(x) = \int_a^x f_X(t)\,dt$ for $x\le b$ as others have already mentioned. $F_X(x)=1$ for $x\ge b$. –  V. C. Apr 10 at 13:25

1 Answer 1

up vote 3 down vote accepted

By definition, $$P(X<x) = \int_{-\infty}^xf(t)dt$$

In your case, of course, you have $f(t)=0$ for $t<a$, meaning that $$P(X<x)=\int_a^xf(t)dt$$ if $x\geq a$ (and, obviously, $0$ if $x<a)$

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.