SandT(object, points = c("p", "H"), a = 0, naive = FALSE)"Renouv" or
"Rendata".points is set to "p", the $p$-points formula is
used with the selected value of a. This formula is used to
compute the survival from which the rTRUE, naive plotting positions are used to
display MAX or OTS data. These can be defined only
when a main sample exists in object as a x.OT element.
For each x, in the same order of the values. For instance,
group[10] gives the group form which x[10] was
extracted, and the name of this group is groupNames[group[10]].x and containing the
corresponding estimation of the survival value and of the return
period.T.thresh[i] for a threshold
thresh[i] results from a simple computation: divide the sum of
the durations for blocks with thresholds >= thresh[i] by the
number of events for these blocks.points = "H" the estimated values of the survival
returned in S and those for the return period T no
longer verify T=1/S/lambda, where lambda is the
estimated rate. In this case, the values in T should be used in
the return level plot, while the values in S should be used in
the PP-plot.MAX or
OTS), the computation is an adaptation Hirsch and Stedinger
(1987) for the Marked Process (MP) context. The original method is
devoted to block maxima and interpolates the survival values at the
thresholds which are computed first. For MP, the interpolation is
done for the inverse return periods, and the survival values are
deduced from those of the inverse return periods.Nelson's formula provides unbiased estimates for the values of the cumulative hazard $H(x)$ at the order statistics, and thus can be used to estimate the log-return periods as required on the return level plot.
ppoints and Hpoints functions.## use an object with class "Rendata"
ST1 <- SandT(object = Garonne)
## basic return level plot
plot(ST1$T, ST1$x, col = ST1$group, log = "x")
## use an object with class "Renouv"
fit <- Renouv(x = Garonne, plot = FALSE)
ST2 <- SandT(object = fit)
plot(ST2$T, ST2$x, col = ST2$group, log = "x")Run the code above in your browser using DataLab