# Compute the expected value of the minimum for a random sample of size 10
# from a standard normal distribution:
evNormOrdStatsScalar(r = 1, n = 10)
#[1] -1.538753
#----------
# Compute the expected values of all of the order statistics for a random sample
# of size 10 from a standard normal distribution:
evNormOrdStats(10)
#[1] -1.5387527 -1.0013570 -0.6560591 -0.3757647 -0.1226888
#[6] 0.1226888 0.3757647 0.6560591 1.0013570 1.5387527
# Compare the above with Blom (1958) scores:
evNormOrdStats(10, approx = TRUE)
#[1] -1.5466353 -1.0004905 -0.6554235 -0.3754618 -0.1225808
#[6] 0.1225808 0.3754618 0.6554235 1.0004905 1.5466353
Run the code above in your browser using DataLab