getTarget | R Documentation |
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
getTarget(Ns, target)
Ns |
number of samples |
target |
target confidence threshold |
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.
bounds |
a two dimensional matrix defining the upper and lower variance boundaries for the requested target. |
Jenny Farmer, Donald Jacobs
Farmer, J. and D. Jacobs (2018). "High throughput nonparametric probability density estimation." PLoS One 13(5): e0196937.
plot.PDFe
#returns boundaries of position-dependent variance calculated for 100 data samples
# for a threshold of 40%
getTarget(100, 40)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.