VECTOR vector1=A to c.
VECTOR vector2=d to f.
vector vector3=x to z.
loop #k=1 to 3.
- REGRESSION
- /MISSING LISTWISE
- /STATISTICS COEFF OUTS R ANOVA
- /CRITERIA=PIN(.05) POUT(.10)
- /NOORIGIN
- /DEPENDENT vector1(#k).
- /METHOD=ENTER vector2(#k) /METHOD=ENTER vector3(#k).
end loop.
EXECUTE.
这段程序执行的时候,说
- REGRESSION
>Error # 4095. Command name: REGRESSION
>The transformations program contains an unclosed LOOP, DO IF, or complex
>file structure. Use the level-of-control shown to the left of the SPSS
>commands to determine the range of LOOPs and DO IFs.
>This command not executed.
难道回归不能放到循环体中么?