[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: oneway Anova
From: |
John Darrington |
Subject: |
Re: oneway Anova |
Date: |
Sat, 4 Feb 2006 10:30:45 +0800 |
User-agent: |
Mutt/1.5.9i |
On Fri, Feb 03, 2006 at 09:32:11PM -0500, Ryan Mann wrote:
Hello again. Now that I'm getting the idea of entering data into PSPP,
I'm trying to do a one-way anova. When I use the oneway command, I get
a syntax error. What am I doing wrong? The code is below.
data list list /mood (a10) score *.
begin data.
good 18
good 13
good 11
good 15
good 15
good 16
bad 11
bad 15
bad 11
bad 13
bad 17
bad 16
end data.
split file by mood.
descriptives score.
oneway /variables=good,bad by mood.
The variables listed before the BY keyword are the dependent variables, and
those after it are the independent variables. You're getting syntax errors,
because "good" and "bad" are not variable names.
Therefore, in your example, I think you need to say:
ONEWAY /variables=score BY mood.
and if you want any sensible results, then you'll need to remove the
split first.
J'
--
PGP Public key ID: 1024D/2DE827B3
fingerprint = 8797 A26D 0854 2EAB 0285 A290 8A67 719C 2DE8 27B3
See http://pgp.mit.edu or any PGP keyserver for public key.
signature.asc
Description: Digital signature
- oneway Anova, Ryan Mann, 2006/02/03
- Re: oneway Anova,
John Darrington <=