EQS 6.2 - error: variable exceeds the number of variable read

4 replies [Last post]
flow's picture
Offline
Joined: 11/22/2013

Hi,
I am non-expert SEM user. I am trying to run a CFA with the EQS 6.2 program. After creating the EQS input file, I tried to run EQS but in the output file I found the following sentence:
*** ERROR *** VARIABLE NUMBER 1, A DEPENDENT VARIABLE, EXCEEDS THE NUMBER OF VARIABLES READ. and so on for all other variables. Could you help me to solve the problem?
Thanks

flow's picture
Offline
Joined: 11/22/2013
Hi, can somebody help me to

Hi,
can somebody help me to solve the problem? Is there anybody who is an expert in using EQS?
Thanks

mhunter's picture
Offline
Joined: 07/31/2009
I'm not an EQS expert, but

I'm not an EQS expert, but that sounds like a data reading problem. Is there a way to verify that EQS is reading in your data correctly?

flow's picture
Offline
Joined: 11/22/2013
an example of input file

Thanks mhunter,
this could be the problem. It is the first time I use SEM and it is difficult for me to establish what's wrong with the input file or in the data reading.
Here attached you can find my input file. The aim is testing for the factorial validity of scores from a measuring instrument with a Second-order CFA Model. Are you familiar with this? For writing the input file I used suggestions from Barbara Byrne's book entitled "Structural Equation Modeling with EQS"
Thanks

/TITLE
Your EQS 6 Model
SPECIFICATIONS
DATA='g:\project\data.ess';
VARIABLES=37; CASES=246;
METHOD=ML,ROBUST; ANALYSIS=CORRELATION; MATRIX=RAW;
CATEGORY=V1-V37; FO=(37F1.0);
/LABELS
V1 = FCQT1; V2 = FCQT2; V3 = FCQT3; V4 = FCQT4; V5 = FCQT5;
V6 = FCQT6; V7 = FCQT7; V8 = FCQT8; V9 = FCQT9; V10 = FCQT10;
V11 = FCQT11; V12 = FCQT12; V13 = FCQT13; V14 = FCQT14; V15 = FCQT15;
V16 = FCQT16; V17 = FCQT17; V18 = FCQT18; V19 = FCQT19; V20 = FCQT20;
V21 = FCQT21; V22 = FCQT22; V23 = FCQT23; V24 = FCQT24; V25 = FCQT25;
V26 = FCQT26; V27 = FCQT27; V28 = FCQT28; V29 = FCQT29; V30 = FCQT30;
V31 = FCQT31; V32 = FCQT32; V33 = FCQT33; V34 = FCQT34; V35 = FCQT35;
V36 = FCQT36; V37 = FCQT37;
F1=INTEPLAN; F2=ANTPOSREI; F3=ANTRELIE; F4=LACKCONT; F5=THOUPREO;
F6=PHYSSTAT; F7=EMOTIONS; F8=CUESTRIG; F9=GUILTCRA; F10=FCRTRAIT;
/EQUATIONS
V5=F1+E5;
V18=*F1+E18;
V23=*F1+E23;
V30=*F1+E30;
V31=*F1+E31;
V32=*F1+E32;
V9=F2+E9;
V10=*F2+E10;
V15=*F2+E15;
V24=*F2+E24;
V37=*F2+E37;
V16=F3+E16;
V19=*F3+E19;
V21=*F3+E21;
V2=F4+E2;
V3=*F4+E3;
V22=*F4+E22;
V25=*F4+E25;
V26=*F4+E26;
V29=*F4+E29;
V6=F5+E6;
V8=*F5+E8;
V27=*F5+E27;
V28=*F5+E28;
V11=F6+E11;
V12=*F6+E12;
V13=*F6+E13;
V14=*F6+E14;
V20=F7+E20;
V33=*F7+E33;
V1=F8+E1;
V34=*F8+E34;
V35=*F8+E35;
V36=*F8+E36;
V4=F9+E4;
V7=*F9+E7;
V17=*F9+E17;
F1=*F10+D1;
F2=*F10+D2;
F3=*F10+D3;
F4=*F10+D4;
F5=*F10+D5;
F6=*F10+D6;
F7=*F10+D7;
F8=*F10+D8;
F9=*F10+D9;
/VARIANCES
F10=1.0;
D1toD9=*;
E1toE37=*;
/PRINT
FIT=ALL;
/LMTEST
SET=PEE,GVF;
/END

mhunter's picture
Offline
Joined: 07/31/2009
What do the first few lines

What do the first few lines of the 'g:\project\data.ess' file look like? Are they comma separated values (csv)? Tab delimited?