[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PSPP: WRITE/PRINT
From: |
John Darrington |
Subject: |
Re: PSPP: WRITE/PRINT |
Date: |
Thu, 7 May 2009 06:09:41 +0800 |
User-agent: |
Mutt/1.5.18 (2008-05-17) |
It sounds to me like you need to use the AGGREGATE command, and *then*
use PRINT to output the data. But you don't say which variable you
want to be your catagorical variable so I can't provide an example for
you.
J'
On Wed, May 06, 2009 at 11:45:54AM -0400, address@hidden wrote:
What is the difference between PRINT and WRITE. The User Guide is not much
help, with regard to either, unless you understand technospeak. References
to transformations and procedures do not mean thing to me. More to the
point, how are both used? I am trying to create a frequency distribution
in order to carry the results through to some charting software, where I
have control over the presentation of the output. If I use the following
(taken from SPSS/PC+ by John Hedderson), for example:
DATA LIST /
ID 1-2
EDUC 3-4
SEX 5
HAPPY 6.
BEGIN DATA.
010912
021223
031521
041222
050611
061612
071522
081612
091821
101412
111321
121611
130922
141212
151221
161821
170821
181222
191613
20142
END DATA.
MISSING VALUES
EDUC (-9)
HAPPY
SEX (0).
LIST.
FREQUENCIES EDUC HAPPY.
PRINT (I copied this
OUTFILE = 'testfile' bit from various
TABLE websites.)
/EDUC SEX HAPPY.
EXECUTE.
QUIT.
Instead of the frequency distribution I want, I get:
9 1 2
12 2 3
15 2 1
12 2 2
6 1 1
16 1 2
15 2 2
16 1 2
18 2 1
14 1 2
13 2 1
16 1 1
9 2 2
12 1 2
12 2 1
18 2 1
8 2 1
12 2 2
16 1 3
14 2 .
The output file 'pspp.list' is fine on the screen in PSPP but is barely
usable in a text editor, because it contains repeated letters and control
characters. What is the solution, please?
John Shipley
Hull, England
--------------------------------------------------------------------
mail2web.com What can On Demand Business Solutions do for you?
http://link.mail2web.com/Business/SharePoint
_______________________________________________
Pspp-users mailing list
address@hidden
http://lists.gnu.org/mailman/listinfo/pspp-users
--
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