I want to calculate the probabilities $P\{X < 0.5\}$ and $P\{X \leq 0.5\}$. $X$ is standard normally distributed. From what I have learned
- density function $\text{df}(x)$ I can get $P(X = x)$ and
- cumulative distribution function $\text{cdf}(x)$ I can get $P(X \leq x)$
Now for $P\{X < 0.5\}$, does it make sense to calculate using $P\{X < 0.5\} = \text{cdf}(x) - \text{df}(x)$?
I'm confused because when I do this in R, I get a $\text{df}(x) = 0.6914625$ and $\text{cdf}(x) = 0.3520653$. 0.3520653 appears huge to me considering that it's only the probability of X being exactly 0.5? Also, in a lot of examples I have seen $P\{X < y\}$ is calculated with $\text{cdf}(y)$ only.
Do I understand something wrong there?