calculates position-dependent threshold values about the mean according to a beta distribution with parameters k and (n + 1 - k), where k is the position and n is the total number of positions. These beta distributions represent probability per position for sort order statistics for a uniform distribution. This function returns a two-column matrix defining the
upper and lower variances of the scaled quantile residual for the target threshold
Usage
getTarget(Ns, target)
Value
bounds
a two dimensional matrix defining the upper and lower
variance boundaries for the requested target.
Arguments
Ns
number of samples
target
target confidence threshold
Author
Jenny Farmer, Donald Jacobs
Details
plotTarget is intended for use with plot.PDFe density estimation objects for plotting scaled quantile residuals, but can be called as a stand-alone user method as well.
References
Farmer, J. and D. Jacobs (2018). "High throughput nonparametric probability density estimation." PLoS One 13(5): e0196937.