|
I am working with a stacked data file in SPSS and need to center
individual scores on group means such that I am doing a long (lots of cases)
version of… if
(id=101101) imean=2.00 if
(id=101102) imean=1.40 if
(id=101104) imean=.80 if
(id=101106) imean= 2.00 if
(id=101108) imean=2.00 if
(id=101111) imean=2.00 if
(id=101112) imean=.80 if
(id=101113) imean=1.60 if
(id=101114) imean=.60 if
(id=101116) imean=1.00 if
(id=101119) imean=.50 if
(id=101121) imean=2.33 if
(id=101123) imean=1.80 if
(id=101124) imean=2.00 if
(id=101125) imean=1.60 if
(id=101127) imean=.40 if
(id=101130) imean=2.00 if
(id=101131) imean=1.50 if
(id=101134) imean=1.60 if
(id=101140) imean=.00 if
(id=101144) imean = 1.50 if
(id=101145) imean=1.80 if (id=101161) imean=2.00 is there anyway to shorten this process? Each ID is unique…. Brittawni L. Olson, Ph.D.
Candidate Project Director Drug Free Communities
Support Project P: 402-475-2695 F: 402-475-2699 |
- Re: Seeking Loop? bolson
- Re: Seeking Loop? Donald Burrill
