scale parameters. If we have both shape/scale and q/kappa parameters, the latter over-ride.
n
number of points at which to evaluate the function over the domain
or number of sample points.
lwd
line width.
xmin
minimum x-value (left-censoring threshold).
...
further arguments to be passed to curve or plot,
except xlim for test.tsal.LR.distribution.
reps
number of replicates.
method
estimation method, see tsal.fit.
Details
plot.tsal.quantile.transform check the accuracy of quantile/inverse quantile transformations
For all parameter values and all x, qtsal(ptsal(x)) should = x.
This function displays the relative error in the transformation, which is due
to numerical imprecision. This indicates roughly how far off random variates
generated by the transformation method will be.
If everything is going according to plan, the curve plotted should oscillate
extremely rapidly between positive and negative limits which, while growing,
stay quite small in absolute terms, e.g., on the order of 1e-5 when
x is on the order of 1e9.
plot.tsal.LR.distribution
checks likelihood ratio estimation accuracy :
2*[(Likelihood at estimated parameters) - (likelihood at true parameters)]
should have a chi square distribution with 2 degrees of freedom, at least
asymptotically for large samples.
Value
plot.tsal.quantile.transform plots the relative error in the transformation.
plot.tsal.LR.distribution plots the likelihood ratio against a
chi-square distribution and returns the result of Kolmgorov-Smirnov
test against theoretical distribution.
Author(s)
Cosma Shalizi (original R code),
Christophe Dutang (R packaging)