baseline.dist {geoCount}R Documentation

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

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, plot_baseline, pOne.

Examples

## 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)

[Package geoCount version 1.150120 Index]