baseline.dist: Generate Distance Samples to Build Baseline Distribution

Description Usage Arguments Details Value Author(s) See Also Examples

View source: R/checkingTRC.R

Description

This function generates the samples of distance to build the baseline distribution for standard normal.

Usage

1
baseline.dist(n, iter)

Arguments

n

the number of residuals

iter

the number of distance samples to generate

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.

Value

A iter \times 3 matrix for three types of distance: "Discrete Hellinger", "Smooth Hellinger" and "Kolmogorov".

Author(s)

Liang Jing ljing918@gmail.com

See Also

d.base, baseline.parallel, plot_baseline, pOne.

Examples

1
2
3
4
5
## 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)

geoCount documentation built on May 2, 2019, 5:46 p.m.