Proc npar1way performs nonparametric tests in a one factor model having 2 or more levels. Proc univariate can be used in the case of a single sample. Example:
proc npar1way
data=stuff
anova
edf
median
wilcoxon;
class litter; /* REQUIRED */
var weight height;
run;
The data=stuff option selects the SAS data set to be analyzed.
The anova option performs a one way ANOVA using the values of the
class variable to define the populations.
The edf option calculates statistics based on the empirical
distribution function. The Kolmogorov-Smirnov and Cramer-von Mises
statistics are always calculated. If there are only 2 populations (as
determined by the value of the class variable) the Kuiper statistic
is also computed.
The median option performs the median or Brown-Mood test, depending
on the number of populations.
The wilcoxon performs the Wilcoxon rank sum test or the Kruskal-
Wallis test, depending on the number of populations.
The REQUIRED class statement specifies exactly one variable in the
data set. The values of this variable are used to determine the
population from which the corresponding observation comes. This variable
MUST take at least 2 different values.
The optional var statement specifies the response variables which
are to be analyzed. If the statement is omitted, all numeric variables
in the data set are used.
For further details consult the SAS/Stat Users Guide volume 2.
Copyright © 1997 by Jerry Alan Veeh. All rights reserved.