[R] z and p

Liaw, Andy andy_liaw at merck.com
Tue Mar 15 20:11:57 CET 2005


Yes, it's called qnorm().

Andy

> From: Adrian Dusa
> 
> 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.
> 
> Regards,
> Adrian
> 
> -- 
> Adrian Dusa
> Romanian Social Data Archive
> Bd. Schitu Magureanu nr.1
> Tel./Fax: +40 21 3126618 \
>               +40 21 3120210 / int.101
> 
> 
> -- 
> This message was scanned for spam and viruses by BitDefender.
> For more information please visit http://linux.bitdefender.com/
> 
> ______________________________________________
> R-help at 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
> 
> 
>




More information about the R-help mailing list