Learn R Programming

geoCount (version 1.150120)

e2dist: 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

Value

A vector with length 3 containing "Discrete Hellinger", "Smooth Hellinger" and "Kolmogorov" distances.

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.

See Also

tranR, baseline.dist, pOne.

Examples

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

Run the code above in your browser using DataLab