Function of qnorm() in R

前端 未结 2 1771
野的像风
野的像风 2021-01-13 09:58

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

n

2条回答
  •  借酒劲吻你
    2021-01-13 10:31

    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

提交回复
热议问题