**Moderators:** statman, Analyst Techy, andris, Fierce, GerineL, Smash

I'm not really sure if this topic belongs in the syntax forum, but I hope you can overlook that . I'm currently trying to perform an FA on a scale consisting of 17 items, where each item have been scored by two different observers at two different times (eg each item has 4 values), the score for each item is calculated as the mean from this fore different inputvalues. That's what's in the syntax that I've ran. The idea is to disregard missings and calculate a mean from the existing scores, if someone has 2,3,missing,2 the mean would be (2+3+3)/3. That doesn't happen, what happens is that I end up with a lot of missings where whole cases are taken out (I don't won't to estimate missings with the mean from the sample or the scale as a whole). How do I make a syntax or perform the analysis to make this happen?

please post the syntax you have here.

This is the syntax, the labeling is a bit odd since I changed it from creating separate mean scores for the first and second observation. The syntax is only concerned with creating the mean scores. And you'll have to excuse me for being an obsolete beginner....

COMPUTE t1q1=Mean (t1q1r1, t1q1r2, t1q1r3, t2q1r1, t2q1r2, t2q1r3).

COMPUTE t1q2=Mean (t1q2r1, t1q2r2, t1q2r3, t2q2r1, t2q2r2, t2q2r3).

COMPUTE t1q3=Mean (t1q3r1, t1q3r2, t1q3r3, t2q3r1, t2q3r2, t2q3r3).

COMPUTE t1q4=Mean (t1q4r1, t1q4r2, t1q4r3, t2q4r1, t2q4r2, t2q4r3).

COMPUTE t1q5=Mean (t1q5r1, t1q5r2, t1q5r3, t2q5r1, t2q5r2, t2q5r3).

COMPUTE t1q6=Mean (t1q6r1, t1q6r2, t1q6r3, t2q6r1, t2q6r2, t2q6r3).

COMPUTE t1q7=Mean (t1q7r1, t1q7r2, t1q7r3, t2q7r1, t2q7r2, t2q7r3).

COMPUTE t1q8=Mean (t1q8r1, t1q8r2, t1q8r3, t2q8r1, t2q8r2, t2q8r3).

COMPUTE t1q9=Mean (t1q9r1, t1q9r2, t1q9r3, t2q9r1, t2q9r2, t2q9r3).

COMPUTE t1q10=Mean (t1q10r1, t1q10r2, t1q10r3, t2q10r1, t2q10r2, t2q10r3).

COMPUTE t1q11=Mean (t1q11r1, t1q11r2, t1q11r3, t2q11r1, t2q11r2, t2q11r3).

COMPUTE t1q12=Mean (t1q12r1, t1q12r2, t1q12r3, t2q12r1, t2q12r2, t2q12r3).

COMPUTE t1q13=Mean (t1q13r1, t1q13r2, t1q13r3, t2q13r1, t2q13r2, t2q13r3).

COMPUTE t1q14=Mean (t1q14r1, t1q14r2, t1q14r3, t2q14r1, t2q14r2, t2q14r3).

COMPUTE t1q16=Mean (t1q16r1, t1q16r2, t1q16r3, t2q16r1, t2q16r2, t2q16r3).

COMPUTE t1q17=Mean (t1q17r1, t1q17r2, t1q17r3, t2q17r1, t2q17r2, t2q17r3).

COMPUTE t1q18=Mean (t1q18r1, t1q18r2, t1q18r3, t2q18r1, t2q18r2, t2q18r3).

COMPUTE t1q1=Mean (t1q1r1, t1q1r2, t1q1r3, t2q1r1, t2q1r2, t2q1r3).

COMPUTE t1q2=Mean (t1q2r1, t1q2r2, t1q2r3, t2q2r1, t2q2r2, t2q2r3).

COMPUTE t1q3=Mean (t1q3r1, t1q3r2, t1q3r3, t2q3r1, t2q3r2, t2q3r3).

COMPUTE t1q4=Mean (t1q4r1, t1q4r2, t1q4r3, t2q4r1, t2q4r2, t2q4r3).

COMPUTE t1q5=Mean (t1q5r1, t1q5r2, t1q5r3, t2q5r1, t2q5r2, t2q5r3).

COMPUTE t1q6=Mean (t1q6r1, t1q6r2, t1q6r3, t2q6r1, t2q6r2, t2q6r3).

COMPUTE t1q7=Mean (t1q7r1, t1q7r2, t1q7r3, t2q7r1, t2q7r2, t2q7r3).

COMPUTE t1q8=Mean (t1q8r1, t1q8r2, t1q8r3, t2q8r1, t2q8r2, t2q8r3).

COMPUTE t1q9=Mean (t1q9r1, t1q9r2, t1q9r3, t2q9r1, t2q9r2, t2q9r3).

COMPUTE t1q10=Mean (t1q10r1, t1q10r2, t1q10r3, t2q10r1, t2q10r2, t2q10r3).

COMPUTE t1q11=Mean (t1q11r1, t1q11r2, t1q11r3, t2q11r1, t2q11r2, t2q11r3).

COMPUTE t1q12=Mean (t1q12r1, t1q12r2, t1q12r3, t2q12r1, t2q12r2, t2q12r3).

COMPUTE t1q13=Mean (t1q13r1, t1q13r2, t1q13r3, t2q13r1, t2q13r2, t2q13r3).

COMPUTE t1q14=Mean (t1q14r1, t1q14r2, t1q14r3, t2q14r1, t2q14r2, t2q14r3).

COMPUTE t1q16=Mean (t1q16r1, t1q16r2, t1q16r3, t2q16r1, t2q16r2, t2q16r3).

COMPUTE t1q17=Mean (t1q17r1, t1q17r2, t1q17r3, t2q17r1, t2q17r2, t2q17r3).

COMPUTE t1q18=Mean (t1q18r1, t1q18r2, t1q18r3, t2q18r1, t2q18r2, t2q18r3).

you probably put

execute.

at the end right?

with this syntax, it should do what you said, if you have a missing value it should compute the mean over the remaining items.

if it does not, please post an example file here.

execute.

at the end right?

with this syntax, it should do what you said, if you have a missing value it should compute the mean over the remaining items.

if it does not, please post an example file here.

I don't think I'm allowed to post the file here since it's from a research project I'm working with. And I have executed the syntax, but not with the commanding function in the syntax, but through pressing play and run pending transformations. So Execute is in the output file. I hope that I can figure it out with my supervising teacher today, but she's confunded as well. Thank you anyway for the quick answers!

can't you jsut change the variable names, change some values, and delete a lot of files? then you can post it here. i can delete it afterwards if you want.

Users browsing this forum: No registered users and 2 guests