Bureau Bêta Home page

Generation of SPSS syntax and data files

Under Tools in the Workplace windows there is a submenu SPSS with which SPSS syntax and data files can be made.
Two choices are avaiable in a box case=subject files, and case=subject x assessment files. In the case=subject file each subject is a case and the assessments are 'spread' horizontally, i.e. within the case. In the case=subject x assessment file each subject has as many cases as there are assessments and the assessments are 'spread' vertically. You can use the one that is most convenient for your purpose.

Assessments made on a unscheduled base, e.g. Study medication (stm), concurrent medication (ccm) on assessment number -1 are exported to spss for each instrument seperately. These file are named after the instruments (see naming conventions). These will only be made if 'case=subject' is chosen.

Individual assessments and instruments can be chosen or all assessments and instruments. The selection has to be Saved and afterwards Run to get the files.

Naming conventions used in spss files:

Scheduled assessments:

SPSShhmm.sps: SPSS syntax file

SPSShhmm.dat: data file to be read by SPSShhmm.sps

When you run the syntaxfile the resulting file will be a spss sytem file: SPSShhmm.sav

Unscheduled assessments:

xxx.sps: SPSS syntax file

xxx.dat: data file to be read by SPSShhmm.sps

When you run the syntaxfile the resulting file will be a spss sytem file: xxx.sav ( xxx: first three letters of instrument.)

Variables

vars are named: xxxiiiaa, where:

xxx: first three letters of instrument (see beginning of SPSShhmm.sps)

iii: itemnumber

aa : assessmentnumber (only for case=subject file, not for case=subject x assessment file).

Special vars:

subject subjectnumber
centre centre number
sid concatenation of subjectnumber and centre number

Computed values

For several instruments, scale values have been defined as compute statements. These can be found at the end of the *.sps files, also the labels for the computed values can be found there.