GATE / CS ARCHIVE

GATE CSE 2012 / QUESTION 21

CDF of a two-point distribution

Discrete Mathematics · Probability & Random Variables · Full GATE CSE 2012 paper

GATE 2012, Q21 1 mark · MCQ
Report issue

Probability & Random Variables

Question 21, GATE 2012: Consider a random variable X that takes values +1 and −1 with probability 0.5 each. The values of
        the cumulative distribution function F(x) at x = −1 and +1 are
        (A) 0 and 0.5           (B) 0 and 1              (C) 0.5 and 1           (D) 0.25 and 0.75
Tap to enlarge
Your answer
Answer & solution

Official answer: C

The cumulative distribution is F(x)=P(X≤x). At x=−1 it includes the mass at −1, giving 0.5. At x=+1 it includes both possible outcomes, giving 1. The requested pair is (0.5, 1), C.

Check: The full CDF is 0 for x<−1, 1/2 for −1≤x<1, and 1 for x≥1. CDFs include the probability mass at their argument; using P(X<x) instead would produce incorrect endpoint values.

Original paper, page 4 · Answer key