How to convert numeric variables to string?

Asked

Viewed 386 times

3

I have a series of 45 Numeric-type variables that represent the right or wrong answers of a set of students (there are 45 questions in all) and would like to create a single string with the 45 answers and would like to have a string Q_CN with all of them concatenated

can anyone help? the program I use is IBM’s SPSS

1 answer

2


STRING  Q_CN (A45).
COMPUTE Q_CN=CONCAT(VAR00001 TO VAR00045).
EXECUTE.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.