-1
$\begingroup$

So … I'd like to know which IQ score (sd=15) corresponds to a given percentile.

The straigtforward way in R is to ask

quantile(rnorm(sample,100,15),percentile,0)

Where percentile is between 0 and 100 and sample is a very large number. Occasionally, not large enough for sufficient accuracy.

Does R have a more accurate algorithm? I've googled, and found math that's over my head to the extent that I can't turn it into R code.

Any and all hints and suggestions appreciated.

Thank you.

$\endgroup$

closed as off-topic by Peter Flom Jul 14 '18 at 12:07

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "This question appears to be off-topic because EITHER it is not about statistics, machine learning, data analysis, data mining, or data visualization, OR it focuses on programming, debugging, or performing routine operations within a statistical computing platform. If the latter, you could try the support links we maintain." – Peter Flom
If this question can be reworded to fit the rules in the help center, please edit the question.

3
$\begingroup$

qnorm is your friend.

For example 50th and 90th percentiles:

qnorm(.5,100,15)
[1] 100

qnorm(.9,100,15)
[1] 119,2233
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.