I have a questionnaire with 2 sets of 4 main questions, with confidence questions following depending on their answer. Participants are randomly allocated to one condition and answered minimum 4 questions and maximum 8. Each question has information displayed in a different order. For example, one question would be to choose between brand A, brand B, or prefer not to choose. If they chose brand A or B, a follow-up question would appear asking their confidence on a scale of 1-5 (20%, 40%, 60%, 80%, 100%). We take "prefer not to choose" as 0% confidence. (So choosing "prefer not to choose" means they answer 4 questions only, and choosing a brand means they get a confidence question each time so will answer up to 8 questions - 4 choosing a brand and 4 confidence).
I need to calculate the mean confidence levels for each participant for each data order (the 4 main questions) but participants answered anywhere from 4-8 questions each. Currently I have written this command in SPSS which seemed to work:
compute Mean1 = mean.1(v1, v2, v3, v4, v5, v6, v7, v8).
Where v1/v2 are data order 1 (v1 is confidence in brand A, v2 is confidence in brand B), v3/v4 is data order 2, v5/v6 is data order 3, v7/v8 is data order 4.
From my understanding of this syntax, SPSS will only calculate the mean if the participant answered 1 or more confidence questions. What I am confused at is, whether SPSS will calculate the mean based on the number of questions a participant answered? For example:
Participant A answers 8 questions (4 brands chosen, 4 confidence questions)
Participant B answers 4 questions (2 brands chosen, 2 confidence questions)
Participant C answers 3 questions (1 prefer not to choose, 1 brand chosen, 1 confidence question)
Since they have all answered at least 1 confidence question, will SPSS do:
Total confidence divided by 4 questions (Participant A)
Total confidence divided by 2 questions (Participant B)
Total confidence divided by 1 question (Participant C)
Or just Total confidence divided by 8 each time (since there are 8 variables specified in the syntax)? Ideally I want SPSS to do the former (divide by the number of questions answered).
I appreciate this was very long and hard to visualise but please if you need any more details I am happy to provide.