Re: [R] z and p

From: Peter Dalgaard <p.dalgaard_at_biostat.ku.dk>
Date: Wed 16 Mar 2005 - 06:18:19 EST

Adrian Dusa <adi@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@biostat.ku.dk)             FAX: (+45) 35327907

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Wed Mar 16 06:29:36 2005

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:30:48 EST