cParetoQQ(data, censored, plot =TRUE, main ="Pareto QQ-plot",...)
Arguments
data: Vector of n observations.
censored: A logical vector of length n indicating if an observation is censored.
plot: Logical indicating if the quantiles should be plotted in a Pareto QQ-plot, default is TRUE.
main: Title for the plot, default is "Pareto QQ-plot".
...: Additional arguments for the plot function, see plot for more details.
Details
The Pareto QQ-plot adapted for right censoring is given by
(−log(1−Fkm(Zj,n)),logZj,n)
for j=1,…,n−1,
with Zi,n the i-th order statistic of the data and Fkm the Kaplan-Meier estimator for the CDF. Hence, it has the same empirical quantiles as an ordinary Pareto QQ-plot but replaces the theoretical quantiles −log(1−j/(n+1)) by −log(1−Fkm(Zj,n)).
This QQ-plot is only suitable for right censored data, use icParetoQQ for interval censored data.
Returns
A list with following components: - pqq.the: Vector of the theoretical quantiles, see Details.
pqq.emp: Vector of the empirical quantiles from the log-transformed data.
References
Beirlant, J., Guillou, A., Dierckx, G. and Fils-Villetard, A. (2007). "Estimation of the Extreme Value Index and Extreme Quantiles Under Random Censoring." Extremes, 10, 151--174.