Date: Tue, 25 Feb 1997 18:10:11 GMT
Reply-To: Mary Tully D7 IP No 80 <mtully@FS1.PA.MAN.AC.UK>
Sender: "SPSSX(r) Discussion" <SPSSX-L@UGA.CC.UGA.EDU>
From: Mary Tully D7 IP No 80 <mtully@FS1.PA.MAN.AC.UK>
Organization: University of Manchester, Pharmacy
Subject: value labels
This is probably a simple question, if you have the syntax manual for
SPSS 6.1, but I don't!
I have a database given to me by someone else. It has 20
categorical variables, with 14 categories for each, all the same.
None are labelled. I want to label all 20 variables the same:
VALUE LABELS problem20
1 "product licence"
2 "side effect"
3 "drug interaction"
4 "duplication"
5 "dose, freq. or timing"
6 "compliance"
7 "drug-disease interaction"
8 "investigation"
9 "drug choice"
10 "length of treatment"
11 "need for drug to be taken"
12 "expired"
13 "quantities inequiv./inappropriate"
14 "other"
.
Now, I cant use problem1 TO problem20, because there are other
variables in between each of them, which naturally I dont want
labelled like this. Is there a more elegant solution that copying
the above twenty times with a different variable name each time.
Loops are beyond me at the moment, but I'm willing to learn!!
Mary Tully
Mary Tully
Research Fellow
Department of Pharmacy
University of Manchester
Oxford Road
MANCHESTER M13 9PL
UK
Telephone 0161 275 2415/2342
Fax 0161 275 2396
email mtully@fs1.pa.man.ac.uk
'I have not failed 10,000 times,
I have successfully found 10,000 ways that will not work.' TA Edison
|