shapirotest.ANSM {ANSM5} | R Documentation |
Perform Shapiro-Wilk test of Normality
Description
shapirotest.ANSM()
is a wrapper for shapiro.test() from the stats
package - performs the Shapiro-Wilk test of Normality and is used in chapters 4 and 5 of "Applied Nonparametric Statistical Methods" (5th edition)
Usage
shapirotest.ANSM(x, alternative = c("two.sided"))
Arguments
x |
Numeric vector |
alternative |
Type of alternative hypothesis (defaults to |
Value
An ANSMtest object with the results from applying the function
Examples
# Example 4.4 from "Applied Nonparametric Statistical Methods" (5th edition)
shapirotest.ANSM(ch4$ages)
# Example 5.3 from "Applied Nonparametric Statistical Methods" (5th edition)
shapirotest.ANSM(ch5$bp.incorrect)
[Package ANSM5 version 1.1.0 Index]