A colleague of mine is trying to conduct a non-parametric
test on 2 groups. However, the facility to define your groups no longer
seems to be available in SPSS 18 – has this been moved and if so, where
On 6/8/2010 6:37:20 AM, Thew, Barbara ([hidden email]) wrote:
> Can you help please?
> A colleague of mine is trying to conduct a non-parametric test on 2
> However, the facility to define your groups no longer seems to be
> available in SPSS 18 - has this been moved and if so, where to?
> Thanks for your help
> Barbara Thew
> Customer Support Services
> Computing Services
> University of Liverpool
> Telephone: 0151 794 4432
> Email: [hidden email]
To manage your subscription to SPSSX-L, send a message to
[hidden email] (not to SPSSX-L), with no body text except the
command. To leave the list, send the command
For a list of commands to manage subscriptions, send the command
In the Nonparametric Tests->
Legacy Dialogs (NPAR TESTS command) in Statistics 18, you can run a 2-sample
test like Mann-Whitney with a group variable with 3 or more groups because
there is a Define Groups dialog to choose the 2 groups of interest.
This dialog is not available in the Fields tab of the
Samples dialog (NPTESTS command). The option to name specific groups is
also not available in NPTESTS syntax. However, you can request pairwise
comparisons as part of the output for the Kruskal-Wallis, Jonckheere-Terpstra,
and Median tests. The pairwise comparisons are only performed if the overall
test is significant at the level specifed in the Test Options dialog of
the Settings tab.
Suppose that your 2-sample test
was a planned comparison. To perform a 2-sample test with NPTESTS on 2
groups from a variable with 3 or more levels, you need to use a filter
to select cases from the 2 groups before you run the NPTESTS procedure.
You can select the cases from the menu item
Data->Select Cases->If case
satisfies condition. If you wanted cases in groups 1 and 3 on the variable
JOBCAT, then the function ANY(jobcat,1,3) would select cases that met that
criterion. An example of a quick syntax combination is:
select if ANY(jobcat,1,3).
/INDEPENDENT TEST (work) GROUP
/MISSING SCOPE=ANALYSIS USERMISSING=EXCLUDE
/CRITERIA ALPHA=0.05 CILEVEL=95.
The Temporary command undoes the following
selection once the NPTESTS command has run.
SPSS, an IBM company
A colleague of mine is trying to conduct
a non-parametric test on 2 groups. However, the facility to define
your groups no longer seems to be available in SPSS 18 – has this been
moved and if so, where to?
Thanks for your help
Customer Support Services
University of Liverpool
Telephone: 0151 794 4432