Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
self_control_scale [2013/04/15 22:28] filination |
self_control_scale [2013/11/06 20:01] (current) filination [SPSS code] |
||
---|---|---|---|
Line 82: | Line 82: | ||
</code> | </code> | ||
+ | |||
+ | or... | ||
+ | |||
+ | <code> | ||
+ | recode selfcon_2 selfcon_3 selfcon_4 selfcon_5 selfcon_7 selfcon_9 selfcon_10 selfcon_12 selfcon_13 (1=5) (2=4) (3=3) (4=2) (5=1) into selfcon_2r selfcon_3r selfcon_4r selfcon_5r selfcon_7r selfcon_9r selfcon_10r selfcon_12r selfcon_13r. | ||
+ | compute selfcontrol=mean( selfcon_1, selfcon_2r, selfcon_3r, selfcon_4r, selfcon_5r, selfcon_6, selfcon_7r, selfcon_8, selfcon_9r, selfcon_10r,selfcon_11, selfcon_12r, selfcon_13r). | ||
+ | exec. | ||
+ | |||
+ | |||
+ | RELIABILITY | ||
+ | /VARIABLES=selfcon_1, selfcon_2r, selfcon_3r, selfcon_4r, selfcon_5r, selfcon_6, selfcon_7r, selfcon_8, selfcon_9r, selfcon_10r,selfcon_11, selfcon_12r, selfcon_13r | ||
+ | /SCALE('Self control') ALL | ||
+ | /MODEL=ALPHA. | ||
+ | </code> |