Learn R Programming

pgirmess (version 2.0.2)

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)

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.

Arguments

var

a numeric vector

Details

A wrapper of ks.test()

References

see ks.test

See Also

Examples

Run this code
x<-rnorm(50)
ks.gof(x)
 

Run the code above in your browser using DataLab