[R] z and p
Peter Dalgaard
p.dalgaard at biostat.ku.dk
Tue Mar 15 20:18:19 CET 2005
Adrian Dusa <adi at roda.ro> writes:
> Dear useRs,
>
> I use pnorm to calculate the area under the normal curve to the left of z.
> Now, is there a function which provides the z value given a certain area?
> I wrote a function which finds it in about 20 iterations, but it seems to me
> not the best solution; I'm just curios if there is an already built function.
Yes, qnorm.
--
O__ ---- Peter Dalgaard Blegdamsvej 3
c/ /'_ --- Dept. of Biostatistics 2200 Cph. N
(*) \(*) -- University of Copenhagen Denmark Ph: (+45) 35327918
~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk) FAX: (+45) 35327907
More information about the R-help
mailing list