baseline.dist: Generate Distance Samples to Build Baseline Distribution
Description
This function generates the samples of distance to build the baseline distribution for standard normal.
Usage
baseline.dist(n, iter)
Arguments
n
the number of residuals
iter
the number of distance samples to generate
Value
A $iter \times 3$ matrix for three types of distance: "Discrete Hellinger", "Smooth Hellinger" and "Kolmogorov".
Details
HellingerDist and KolmogorovDist functions in {distrEx} are used to compute the distances. See ?HellingerDist and ?KolmogorovDist for details about how the distances are computed.
## Not run: # # Time-consuming! Run once with large "iter" and # # save the results for future use# d.base <- baseline.dist(50, iter=100) ## End(Not run)