pgirmess (version 1.6.9)

ks.gof: 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

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.

Details

A wrapper of ks.test()

References

see ks.test

See Also

ks.test

Examples

Run this code
# NOT RUN {
x<-rnorm(50)
ks.gof(x)
 
# }

Run the code above in your browser using DataCamp Workspace