ks.gof | R Documentation |
Kolmogorof-Smirnov goodness of fit test to normal distribution
ks.gof(var)
var |
a numeric vector |
A wrapper of ks.test()
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. |
see ks.test
ks.test
x<-rnorm(50)
ks.gof(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.