The data set PYSCHDAT contains responses to a questionnaire assessing
the mental stability of 30 randomly selected female psychiatric patients.(footnote 1) Each observation represents one patient. The scale includes seven
items. The LABEL statement provides a label for each item. Seven observations
contain missing values.
data psychdat;
input Age Anxiety Depression Sleep Sex Life WeightChange @@;
label age = 'age in years'
anxiety = 'anxiety level'
depression = 'depression level'
sleep = 'normal sleep (1=y 2=n)'
sex = 'sexual (1=n 2=y)'
life = 'suicidal (1=n 2=y)'
weightchange = 'recent weight change';
datalines;
39 2 2 2 2 2 4.9 41 2 2 2 2 2 2.2
42 3 3 . 2 2 4.0 30 2 2 2 2 2 -2.6
35 2 1 1 2 1 -0.3 44 . 1 2 1 1 0.9
31 2 2 . 2 2 -1.5 39 3 2 2 2 1 3.5
35 3 2 2 2 2 -1.2 33 2 2 2 2 2 0.8
38 2 1 1 1 1 -1.9 31 2 2 2 . 1 5.5
40 3 2 2 2 1 2.7 44 2 2 2 2 2 4.4
43 3 2 2 2 2 3.2 32 1 1 1 2 1 -1.5
32 1 2 2 . 1 -1.9 43 4 3 2 2 2 8.3
46 3 2 2 2 2 3.6 30 2 2 2 2 1 1.4
34 3 3 . 2 2 . 37 3 2 2 2 1 .
35 2 1 2 2 1 -1.0 45 2 2 2 2 2 6.5
35 2 2 2 2 1 -2.1 31 2 2 2 2 1 -0.4
32 2 2 2 2 1 -1.9 44 2 2 2 2 2 3.7
40 3 3 2 2 2 4.5 42 3 3 2 2 2 4.2
;
FOOTNOTE 1: Data are from Assignments in Applied Statistics by Simon
Conrad. Copyright ©1989, by John Wiley & Sons, Inc. Reprinted with
permission from the publisher.