Learn R Programming

pgirmess (version 1.3.8)

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:
  • statisticthe value of the test statistic.
  • p.valuea character string indicating what type of test was performed.
  • alternativea character string describing the alternative hypothesis.
  • methoda character string indicating what type of test was performed.
  • data.namea 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
x<-rnorm(50)
ks.gof(x)

Run the code above in your browser using DataLab