问题描述
我已经阅读了关于 qnorm()
的文档,但无法真正理解它的作用.能不能详细回答一下qnorm()
是做什么的?
I have read the documentation on qnorm()
but could not really understand what it does. Can you please answer in detail what qnorm()
does?
注意-请原谅我问这么简单的问题.我是 R 的初学者.
note-Please excuse me for asking such a simple question. I am a beginner at R.
推荐答案
qnorm()
函数旨在找到边界值,P(X 中的 A代码>,给定概率 P.
The function qnorm()
aims to find the boundary value, A in P(X < A)
, given the probability P.
例如,假设您要查找均值为 70 且标准差为 3 的正态分布的第 85 个百分位数.然后您要求:
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
来自 https://cran.r-project.org/web/packages/tigerstats/vignettes/qnorm.html
这篇关于R 中 qnorm() 的函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!