Creates a QQplot for threshold data against the exponential distribution or the generalized Pareto distribution.
qplot(data, xi = 0, trim = NA, threshold = NA, line = TRUE,
labels = TRUE, …)
data vector
the xi value of a generalized Pareto distribution
value at which data are to be right-truncated
value at which data are to be left-truncated
whether or not a straight line is to be added
whether or not the axes are to be labelled
other graphics parameters
If xi is zero the reference distribution is the exponential; if xi is non-zero the reference distribution is the generalized Pareto with that value of xi. In the case of the exponential, the plot is interpreted as follows. Concave departures from a straight line are a sign of heavy-tailed behaviour. Convex departures show thin-tailed behaviour.
# NOT RUN {
data(danish)
# }
# NOT RUN {
qplot(danish)
# }
# NOT RUN {
# QQplot of heavy-tailed Danish fire insurance data
# }
Run the code above in your browser using DataLab