Description Usage Arguments Value Author(s) Examples
When you know a certain area under a normal density curve, this function returns the x-axis values of the boundary of that area.
1 |
area |
The known percentile |
region |
A character string. Default is "below". Other possible values are "between" (when known area is symmetric around the mean two numbers), "below", "above", and "outside" (when known area is outside a region symmetric around the mean) |
mean |
Mean of the distribution |
sd |
Standard deviation of the distribution |
graph |
Will produce graph of the area |
Numerical value of the percentile, and a vector when there are two bounds.
Homer White hwhite0@georgetowncollege.edu
1 2 3 4 5 6 7 8 9 10 11 | #80th percentile of a normal distribution with mean=70 and sd=4:
qnormGC(0.80,region="below",mean=70,sd=4)
#Return value x so that P(X > x) = 0.10 (same as the 90th percentile)
qnormGC(0.10,region="above",mean=70,sd=4)
#This gives the multiplier for 95%-confidence intervals based on the z-statistic
qnormGC(0.95,region="between")
#This gives critical values for a two-sided z-test with alpha = 0.01:
qnormGC(0.01,region="outside")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.