Truncation odds
Estimates of truncation odds of the truncated probability mass under the untruncated distribution using truncated MLE.
trDTMLE(data, gamma, tau, plot = FALSE, add = FALSE, main = "Estimates of DT", ...)
data
: Vector of observations.gamma
: Vector of estimates for the EVI obtained from trMLE
.tau
: Vector of estimates for the obtained from trMLE
.plot
: Logical indicating if the estimates of should be plotted as a function of , default is FALSE
.add
: Logical indicating if the estimates of should be added to an existing plot, default is FALSE
.main
: Title for the plot, default is "Estimates of DT"
....
: Additional arguments for the plot
function, see plot
for more details.The truncation odds is defined as
with the upper truncation point and the CDF of the untruncated distribution (e.g. GPD).
We estimate this truncation odds as
with .
See Beirlant et al. (2017) for more details.
A list with following components: - k: Vector of the values of the tail parameter .
Beirlant, J., Fraga Alves, M. I. and Reynkens, T. (2017). "Fitting Tails Affected by Truncation". Electronic Journal of Statistics, 11(1), 2026--2065.
Tom Reynkens.
trMLE
, trEndpointMLE
, trProbMLE
, trQuantMLE
, trTestMLE
, trDT
# Sample from GPD truncated at 99% quantile gamma <- 0.5 sigma <- 1.5 X <- rtgpd(n=250, gamma=gamma, sigma=sigma, endpoint=qgpd(0.99, gamma=gamma, sigma=sigma)) # Truncated ML estimator trmle <- trMLE(X, plot=TRUE, ylim=c(0,2)) dtmle <- trDTMLE(X, gamma=trmle$gamma, tau=trmle$tau, plot=TRUE, ylim=c(0,0.05))