*(Q)I would like to mean substitute for items in
a scale under some restricted conditions. If scale of 5-9 items, mean
substitute a missing item in cases where there's only one missing
item. In cases of 2 + missing items, scale=missing. If scale 10+
items, mean susbstitute on 2 missing items. scale=missing if more than
2 items are missing. Any suggestions?
*(A) posted by Jean M. Russell to SPSSX-L on 2001/08/10.
* You are calculating scales.
* To calculate a score_a for v1 to v7 allowing for mean substitution
for one variable
Compute score_a=mean.6(v1 to v7)*7.
*To calculate a score_b for x1 to x14 allowing from mean
substitution of upto 2 variables.
Compute score_b=mean.12(x1 to x14)*14.
*This of course relies on v1 to v7 being consecutive variables in your
data set and also x1 to x14 being consecutive variables in your
data set. Otherwise you need the exact variables listed in the
brackets separated by commas.