Issues with SPSS and factor analysis: Undefined variable name

#1
Hi,

I used 2 different scales (DASS-21 and a version of the Five Factor Model questionnaire - 120 items) in my data set.

I want to reduce the items in each scale to the different factors (that is, I already know what these items measure but I want to do a confirmatory factor analysis). While I can reduce the DASS-21, I am unable to do so with the FFM questionnaire.

When I tried to run factor analysis on my FFM questionnaire, I got:
Text: c5_115
Undefined variable name. Check spelling, verify the existence of this variable.
This command not executed.

and

An invalid subcommand is used within an ANALYSIS block. Valid subcommands are PRINT, EXTRACTION, ROTATION, CRITERIA, PLOT, DIAGONAL, FORMAT, and SAVE.

Can anyone please tell me what I'm doing wrong?

Thanks~!
Alicia.
 
#3
FACTOR
/VARIABLES n1_1 e1_2 o1_3 a1_4 c1_5 n2_6 e2_7 o2_8 a2_9n c2_10 n3_11 e3_12 o3_13 a3_14 c3_15 n4_16 e4_17 o4_18 a4_19n c4_20 n5_21
e5_22 o5_23 a5_24n c5_25 n6_26 e6_27 o6_28 a6_29 c6_30n n1_31 e1_32 o1_33 a1_34 c1_35 n2_36 e2_37 o2_38 a2_39n c2_40n
n3_41 e3_42 o3_43 a3_44 c3_45 n4_46 e4_47 o4_48n a4_49n c4_50 n5_51n e5_52 o5_53n a5_54n c5_55 n6_56 e6_57 o6_58 a6_59 c6_60n n1
_61 e1_62n o1_63 a1_64 c1_65 n2_66 e2_67n o2_68n a2_69n c2_70n n3_71 e3_72 o3_73n a3_74n c3_75n n4_76 e4_77 o4_78n a4_79n
c4_80n n5_81n e5_82 o5_83n a5_84n c5_85n n6_86 e6_87 o6_88n a6_89n c6_90n n1_91 e1_92n o1_93 a1_94n c1_95 n2_96n e2_97n o2_98n a
2_99n c2_100n n3_101n e3_102n o3_103n a3_104n c3_105n n4_106n e4_107n o4_108n a4_109n c4_110n n5_111n e5_112 o5_113n a5_114n
c5_115n n6_116n e6_117 o6_118n a6_119n c6_120n
/MISSING MEANSUB
/ANALYSIS n1_1 e1_2 o1_3 a1_4 c1_5 n2_6 e2_7 o2_8 a2_9n c2_10 n3_11 e3_12 o3_13 a3_14 c3_15 n4_16 e4_17 o4_18 a4_19n c4_20 n5_21 e
5_22 o5_23 a5_24n c5_25 n6_26 e6_27 o6_28 a6_29 c6_30n n1_31 e1_32 o1_33 a1_34 c1_35 n2_36 e2_37 o2_38 a2_39n c2_40n n3_41
e3_42 o3_43 a3_44 c3_45 n4_46 e4_47 o4_48n a4_49n c4_50 n5_51n e5_52 o5_53n a5_54n c5_55 n6_56 e6_57 o6_58 a6_59 c6_60n n1_61 e1
_62n o1_63 a1_64 c1_65 n2_66 e2_67n o2_68n a2_69n c2_70n n3_71 e3_72 o3_73n a3_74n c3_75n n4_76 e4_77 o4_78n a4_79n c4_80n
n5_81n e5_82 o5_83n a5_84n c5_85n n6_86 e6_87 o6_88n a6_89n c6_90n n1_91 e1_92n o1_93 a1_94n c1_95 n2_96n e2_97n o2_98n a2_99n c
2_100n n3_101n e3_102n o3_103n a3_104n c3_105n n4_106n e4_107n o4_108n a4_109n c4_110n n5_111n e5_112 o5_113n a5_114n c5_115
n6_116n e6_117 o6_118n a6_119n c6_120n
/PRINT INITIAL EXTRACTION ROTATION
/FORMAT SORT
/PLOT EIGEN
/CRITERIA MINEIGEN(1) ITERATE(25)
/EXTRACTION PC
/CRITERIA ITERATE(25)
/ROTATION VARIMAX
/METHOD=CORRELATION.
 

Karabiner

TS Contributor
#4
c5_115 is listed somewhere in your syntax but seemingly does not exist in your data file.
So I guess there is a typing mistake.
 

noetsi

No cake for spunky
#5
A minor aside. If you are trying to reduce your variables to specific factors through factor analysis you are not doing confirmatory factor analysis you are doing exploratory factor analysis. If you already know what the factors are, why do EFA at all? Nothing in your code suggests you are confirming any hypothesis - you are doing factor extraction.

In cfa you would just tell the software which measurment variables correspond with which factors.
 
#6
But wouldn't exploratory factor analysis be when you don't know anything about the number of factors?

I already know the number of factors and what the factors are, i'm trying to run the analysis so i can confirm that my factor loadings are comparable to that of the initial findings by the author. My population is a different one, too.

EDIT: for some reason, I get that when trying to run an older version of SPSS, but using IBM SPSS 19 I get no errors. At first, I thought I detected it because there was a missing n (as an indicator of negative coding) in my variable, but it wasn't so when I opened the data set and looked for it. That's when I decided to run the extraction.

So yay. On towards the fun part of interpreting my output!

thanks guys <3
 
Last edited: