CDF given as:

$$ F(x)= \begin{cases} \dfrac{1}{4}&\text{ if }& 0\leq x<\dfrac{1}{4}\\ \dfrac{1}{2}&\text{ if }&\dfrac{1}{4}\leq x<\dfrac{1}{2}\\ \dfrac{3}{4}&\text{ if }&\dfrac{1}{2}\leq x<\dfrac{3}{4}\\ \dfrac{x+3}{5}&\text{ if }&\dfrac{3}{4}\leq x<2\\ 1 &\text{ if }& x\geq2. \end{cases}$$

Then I tried to calculate PDF as given below: $$ f(x)= \begin{cases} \dfrac{1}{4}&\text{ if }& 0\leq x<\dfrac{1}{4}\\ \dfrac{1}{4}&\text{ if }&\dfrac{1}{4}\leq x<\dfrac{1}{2}\\ \dfrac{1}{4}&\text{ if }&\dfrac{1}{2}\leq x<\dfrac{3}{4}\\ \dfrac{1}{5}&\text{ if }&\dfrac{3}{4}\leq x<2\\ \end{cases}$$

I am having problem in last segment of PDF. Please someone tell me. Will it be zero? And how am I suppose to find cdf as $1$ out of it?

  • 1
    $\begingroup$ Something is wrong in the second line ... $\endgroup$ – Isham Jan 22 '18 at 5:01
  • 1
    $\begingroup$ @Isham Yes thank you edited that out. $\endgroup$ – user459687 Jan 22 '18 at 5:03
  • $\begingroup$ From the given CDF, you see the function are piecewisely constants for $x < 3/4$, with jumps of magnitude $1/4$ on $0, 1/4, 1/2$ respectively, therefore it just has 3 discrete point mass and no such pdf exist on that interval. On $(3/4, 2)$, the CDF is a linear function so it is just a continuous uniform distribution over that region. Note there are no more jumps on $3/4$ or $2$. $\endgroup$ – BGM Jan 22 '18 at 6:06
  • 1
    $\begingroup$ I edited the post. Please consider the changes. $\endgroup$ – zoli Jan 22 '18 at 7:44
  • 1
    $\begingroup$ Hard to answer this latter comment. The Community is expecting more care, For example, it turned out that you did not understand how to calculate the pdf. Yet, your question was not like "I was told the the pdf is the derivative of the cdf. But here, there is not derivative. Pls. help me understand what is going on with this pdf?" (With all due respect...) $\endgroup$ – zoli Jan 22 '18 at 8:15

There is no pdf. The distribution is a mixture of a continuous part and that of a discrete part.

The discrete part is $\frac14,\frac14,\frac14$ at $0$, $\frac14$, $\frac12$, respectively. The continuous part is

$$g(x)=\begin{cases}\frac15&\text{ if }&\frac34<x<2\\0&\text{ otherwise.}\end{cases}$$

The following figure depicts this distribution:

enter image description here

  • $\begingroup$ Thank you. You are sensible here i guess. $\endgroup$ – user459687 Jan 22 '18 at 8:04
  • $\begingroup$ Please, take a look again. The current version is better. $\endgroup$ – zoli Jan 22 '18 at 8:05
  • $\begingroup$ Sorry but the PDF is nowhere equal to $\frac45$. Or are you alluding to a conditional density (which would be a bad idea)? (Also, please note that "the probability that the distribution is continuous" can only be zero in the context, since the distribution is not continuous...) $\endgroup$ – Did Jan 22 '18 at 8:28
  • $\begingroup$ @Did Sir you really have to give me an answer for this .prntscr.com/i3t6a4 This was the original question. I solved this and got correct answer. But just find me the pmf for discrete case and pdf for continuous case out of this CDF. $\endgroup$ – user459687 Jan 22 '18 at 8:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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