How to write variables labels with ' in between (don'ts; I'll; ain't and so forth)

In SPSS, to document a dataset VARIABLE LABEL command is used.In this respect, for each variable the item in use could be entered, to keep the record for each data field. In other scenarios would be the name of a construct or scale; or a short description for the variable located in data field.
If our item is written in the following format:
I didn't let myself have thoughts related to it. [1]
Lets supposed the answer for this item will be recorded in IES15. Then, the following syntax would apply to build up the corresponding label:
VARIABLE LABELS IES15 'I didn't let myself have thoughts related to it.' .
 However, the result would be following

To avoid this bug or unintended result, the syntax can be corrected using " in the limits of the item label:
VARIABLE LABELS IES15  " I didn't let myself have thoughts related to it." .
obtaining:




[1] REFERENCE for the item in the example: 
Horowitz, M., Wilner, N., & Alvarez, W. (1979). Impact of Event Scale: a measure of subjective stress. Psychosomatic Medicine, 41(3), 209 -218.

0 comments:

Post a Comment