> pnorm(37:39,lower.tail=FALSE)
> [1] 5.725571e-300 0.00e+00 0.00e+00
>
> This is just a limitation of double precision floating-point arithmetic
> ...
>
> curve(pnorm(x,lower.tail=FALSE),from=30,to=40,log="y")
> .Machine$double.xmin
But note
curve(pnorm(x,lower.tail=FALSE, log=T),fr
Dimitris Rizopoulos-4 wrote:
>
> in this case you need to use the 'lower.tail' argument, e.g.,
>
> pnorm(8:15, lower.tail = FALSE)
>
>
> Bhoom Suktitipat wrote:
>> Hello R-Help,
>>
>> I ran some analysis and were hit with some low Z-score. I tried to
>> convert
>> it to a p-value, however,
in this case you need to use the 'lower.tail' argument, e.g.,
pnorm(8:15, lower.tail = FALSE)
I hope it helps.
Best,
Dimitris
Bhoom Suktitipat wrote:
Hello R-Help,
I ran some analysis and were hit with some low Z-score. I tried to convert
it to a p-value, however, it seems like the ceiling
?options look at scipen
On Wed, Apr 8, 2009 at 2:38 PM, Bhoom Suktitipat wrote:
> Hello R-Help,
>
> I ran some analysis and were hit with some low Z-score. I tried to convert
> it to a p-value, however, it seems like the ceiling is around 1e-16.
>
>> 1-pnorm(8)
> [1] 6.661338e-16
>> 1-pnorm(9)
>
Hello R-Help,
I ran some analysis and were hit with some low Z-score. I tried to convert
it to a p-value, however, it seems like the ceiling is around 1e-16.
> 1-pnorm(8)
[1] 6.661338e-16
> 1-pnorm(9)
[1] 0
Do you have any suggestion how I can display a very low p-value in the form
of scientific
5 matches
Mail list logo