Displaying 1 result from an estimated 1 matches for "skewdata".
Did you mean:
newdata
2011 Oct 25
1
alternative option in skewness and kurtosis tests?
...two.sided", "less", "greater"))
The option "alternative" in those two functions seems to be the null
hypothesis. In the output, the statement about the alternative hypothesis is
correct, which is opposite to what you specify in command. An example
below:
> skewdata =
c(rep(44,5),rep(43,15),rep(42,10),rep(41,4),rep(40,3),rep(39,2),rep(38,1))
> agostino.test(skewdata, alternative = "greater")
D'Agostino skewness test
data: skewdata
skew = -1.0014, z = -1.7209, p-value = 0.04264
alternative hypothesis: data have negative skewness...