View source: R/GreenwoodUtils.R
| pGreenwood1 | R Documentation |
Probability that the Greenwood's statistic is smaller than one.
pGreenwood1(n)
n |
Sample size. |
The probability was computed by using the approximation of the
quantile function of the Greenwood's statistic returned by
qStat. The result is found by interpolating the
distribution function for x = 1.
Probability that the Greenwood's statistic is smaller than one. For a
random sample of an exponential distribution with size n, this
is the probability that the coefficient of variation is less than one,
or the probability that the ML estimate of the GPD shape parameter
\xi is negative.
Yves Deville
n <- 8:500
plot(n, pGreenwood1(n), type = "l", col = "orangered", lwd = 2,
log ="x", ylim =c(0.5, 0.7), main = "slow convergence to 0.5")
grid() ; abline(h = 0.5, col = "SpringGreen")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.