Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Function of qnorm() in R

I have read the documentation on qnorm() but could not really understand what it does. Can you please answer in detail what qnorm() does?

note-Please excuse me for asking such a simple question. I am a beginner at R.

like image 710
timeschange Avatar asked May 18 '16 13:05

timeschange


1 Answers

The function qnorm() aims to find the boundary value, A in P(X < A), given the probability P.

For example, suppose you want to find the 85th percentile of a normal distribution whose mean is 70 and whose standard deviation is 3. Then you ask for:

qnorm(0.85,mean=70,sd=3)
[1] 73.1093

From https://cran.r-project.org/web/packages/tigerstats/vignettes/qnorm.html

like image 87
tomp Avatar answered Sep 28 '22 06:09

tomp