ks.gof {pgirmess}R Documentation

Kolmogorof-Smirnov goodness of fit test to normal distribution

Description

Kolmogorof-Smirnov goodness of fit test to normal distribution

Usage

ks.gof(var)

Arguments

var

a numeric vector

Details

A wrapper of ks.test()

Value

A list with class '"htest"' containing the following components:

statistic

the value of the test statistic.

p.value

a character string indicating what type of test was performed.

alternative

a character string describing the alternative hypothesis.

method

a character string indicating what type of test was performed.

data.name

a character string giving the name(s) of the data.

References

see ks.test

See Also

ks.test

Examples

x<-rnorm(50)
ks.gof(x)
 

[Package pgirmess version 2.0.3 Index]