qqnorm(x)
plot(qnorm(seq(80)/81),sort(x))
Finding that the plots produced by the commands above are slightly different from each other, I tried this:
qqnorm(qnorm(seq(80)/81))
I got a slightly less than perfect line. I'd have tried regressing the result of qnorm(seq(80)/81) on the variable that was plotted on the $x$-axis and plotting residuals against the predictor, expecting to see some graceful curve, but for the fact that I don't know what to use as the predictor. Possibly such a residual plot would reveal more than just the graceful S-shaped thing I'd anticipate.
So my question is this: if the thing on the $x$-axis in the plot produced by qqnorm is not what I get from qnorm(seq(80)/81) (and what I did shows that indeed it is not), then what is it?
ppoints, as referenced in that forqqnorm. – Scortchi - Reinstate Monica Aug 02 '15 at 21:52ppoints. They're not quite expected quantiles, but the use of a=3/8 for n<10 is a good approximation suggested by Blom(1958); I am not sure why the function changes to a=1/2 above that but it only makes visually noticeable difference at the two extreme points and for n past about 30 or so not even then. – Glen_b Aug 03 '15 at 00:35