这是我的syntax语句
get file 'F:\Program Files\SPSS15\zuojinwan.sav'.
INCLUDE 'F:\Program Files\SPSS15\Canonical correlation.sps'.
CANCORR SET1=y1 y2 /
SET2=V1 V2 V3 V4 V5 V6 V7 /.
我先打开一个.sav,然后我路径下也有Canonical correlation.sps,到底哪里错了啊?
>Error # 31. Command name: GET FILE
>File not found.
>This command not executed.
>Error # 4285 in column 80. Text: COL1
>Incorrect variable name: either the name is more than 64 characters, or it
>is not defined by a previous command.
>This command not executed.
>Error # 4285 in column 19. Text: N_A
>Incorrect variable name: either the name is more than 64 characters, or it
>is not defined by a previous command.
>This command not executed.
>Error # 4023 in column 17. Text: @NMA
>An expression contains a string of characters followed by a left
>parenthesis, indicating that the string of characters is a function or
>vector name, but the characters do not match any existing function or
>vector. Check the spelling.
>This command not executed.
C
>Error # 4023 in column 17. Text: COEF
>An expression contains a string of characters followed by a left
>parenthesis, indicating that the string of characters is a function or
>vector name, but the characters do not match any existing function or
>vector. Check the spelling.
>This command not executed.
>Error # 4285 in column 66. Text: @COEF@
>Incorrect variable name: either the name is more than 64 characters, or it
>is not defined by a previous command.
>This command not executed.
>Error # 4045. Command name: END LOOP
>The END LOOP command does not follow an unclosed LOOP command. Maybe the
>LOOP command was not recognized because of an error. 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.
>Error # 4285 in column 17. Text: N_B
>Incorrect variable name: either the name is more than 64 characters, or it
>is not defined by a previous command.
>This command not executed.
>Error # 4023 in column 17. Text: @NMB
>An expression contains a string of characters followed by a left
>parenthesis, indicating that the string of characters is a function or
>vector name, but the characters do not match any existing function or
>vector. Check the spelling.
>This command not executed.
>Error # 4023 in column 17. Text: COEF
>An expression contains a string of characters followed by a left
>parenthesis, indicating that the string of characters is a function or
>vector name, but the characters do not match any existing function or
>vector. Check the spelling.
>This command not executed.
>Error # 4285 in column 66. Text: @COEF@
>Incorrect variable name: either the name is more than 64 characters, or it
>is not defined by a previous command.
>This command not executed.
C
>Error # 4045. Command name: END LOOP
>The END LOOP command does not follow an unclosed LOOP command. Maybe the
>LOOP command was not recognized because of an error. 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.
>Error # 2302 in column 12. Text: canonical_correlation_size_.sav
>The specified file does not exist and cannot be erased.
>This command not executed.
>Error # 2302 in column 12. Text: canonical_correlation_AB_.sav
>The specified file does not exist and cannot be erased.
>This command not executed.
The canonical scores have been written to the active dataset.
Also, a file containing an SPSS Scoring program has been written
To use this file, GET a system file with the SAME variables
that were used in the present analysis. Then use an INSERT command
to run the scoring program.
For example :
GET FILE anotherfilename
INSERT FILE= 'canonical_correlation_scoring_syntax_.sps' .
EXECUTE.