I don't understand why the pnorm lower.tail = F
and lower.tail = T
give me the same value:
> val
[1] 5100000
> mean
[1] 5e+06
> sd
[1] 40000
> pnorm(val,mean,sd,lower.tail=F)
[1] 0.9937903
> pnorm(val,mean,sd,lower.tail = T)
[1] 0.9937903
> 1 - pnorm(val,mean,sd,lower.tail=F)
[1] 0.006209665
>
I would expect the 1 - pnorm(val,mean,sd,lower.tail=F)
to be the same as lower.tail = T
. And why does lower.tail = T
and lower.tail = F
return the same value... Probably I'm just missing something
UPDATE I just restarted R studio and the problem seems to be solved now. But the most interesting is what could have caused this?