powered by
qqhyperb produces a hyperbolic Q-Q plot of the values in y.
qqhyperb
y
pphyperb produces a hyperbolic P-P (percent-percent) or probability plot of the values in y.
pphyperb
Graphical parameters may be given as arguments to qqhyperb, and pphyperb.
qqhyperb(y, mu = 0, delta = 1, alpha = 1, beta = 0, param = c(mu, delta, alpha, beta), main = "Hyperbolic Q-Q Plot", xlab = "Theoretical Quantiles", ylab = "Sample Quantiles", plot.it = TRUE, line = TRUE, …)pphyperb(y, mu = 0, delta = 1, alpha = 1, beta = 0, param = c(mu, delta, alpha, beta), main = "Hyperbolic P-P Plot", xlab = "Uniform Quantiles", ylab = "Probability-integral-transformed Data", plot.it = TRUE, line = TRUE, …)
pphyperb(y, mu = 0, delta = 1, alpha = 1, beta = 0, param = c(mu, delta, alpha, beta), main = "Hyperbolic P-P Plot", xlab = "Uniform Quantiles", ylab = "Probability-integral-transformed Data", plot.it = TRUE, line = TRUE, …)
The data sample.
\(\mu\) is the location parameter. By default this is set to 0.
\(\delta\) is the scale parameter of the distribution. A default value of 1 has been set.
\(\alpha\) is the tail parameter, with a default value of 1.
\(\beta\) is the skewness parameter, by default this is 0.
Parameters of the hyperbolic distribution.
Plot labels.
Logical. Should the result be plotted?
Add line through origin with unit slope.
Further graphical parameters.
For qqhyperb and pphyperb, a list with components:
The x coordinates of the points that are to be plotted.
The y coordinates of the points that are to be plotted.
Wilk, M. B. and Gnanadesikan, R. (1968) Probability plotting methods for the analysis of data. Biometrika. 55, 1--17.
ppoints, dhyperb, hyperbFit
ppoints
dhyperb
hyperbFit
# NOT RUN { par(mfrow = c(1, 2)) param <- c(2, 2, 2, 1.5) y <- rhyperb(200, param = param) qqhyperb(y, param = param, line = FALSE) abline(0, 1, col = 2) pphyperb(y, param = param) # }
Run the code above in your browser using DataLab