e2dist {geoCount}R Documentation

Calculate Distances between Transformed Residuals and Standard Normal

Description

This function calcualtes three types of distance between the empirical distribution of transformed residuals and standard normal.

Usage

e2dist(e.tran)

Arguments

e.tran

a vector which indicates the transformed residuals

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 vector with length 3 containing "Discrete Hellinger", "Smooth Hellinger" and "Kolmogorov" distances.

Author(s)

Liang Jing ljing918@gmail.com

See Also

tranR, baseline.dist, pOne.

Examples

## Not run: 
require(distrEx)
e2dist(rnorm(200))       
## End(Not run)

[Package geoCount version 1.150120 Index]