# NOT RUN {
# Pareto random sample
X <- rpareto(500, shape=2)
# Censoring variable
Y <- rpareto(500, shape=1)
# Observed sample
Z <- pmin(X,Y)
# Censoring indicator
censored <- (X>Y)
# Right boundary
U <- Z
U[censored] <- Inf
# Pareto QQ-plot adapted for interval censoring
icParetoQQ(Z, U, censored)
# Pareto QQ-plot adapted for right censoring
cParetoQQ(Z, censored)
# }
Run the code above in your browser using DataLab