Mode and median of a discrete random variable - Exercise

37 Views Asked by At

I've the random variable $X=(0,25,25,50,100)$. Is it correct to say that:

$$ mode = 25 $$

and

$$ median = 25 $$

because $P(X \leq 25) = 2/5 = 0.4$ ?