楼主,您好!请问您的问题得到解决了吗?
我在使用SPSS进行岭回归分析时遇到了问题,使用的语法和遇到的问题如下:
1.使用的语法
Include 'C:\Program Files (x86)\IBM\SPSS\Statistics\19\Samples\English\Ridge regression.sps'.
ridgereg enter = x1 x2 x3 x4 x5 x6
/dep = y
/start = 0
/stop = 1
/inc = 0.01.
2.运行后遇到的问题
>Error # 1. Command name: ridgereg
>The first word in the line is not recognized as an SPSS Statistics command.
>Execution of this command stops.
/dep = y
/start = 0
/stop = 1
/inc = 0.01.
查询了很多资料,有人说是命令之间出现了空行,我检查过我的语法,命令之间没有空行,且命令结尾有加“.”符号,第一行命令中的文件安装路径也没有问题。
这个问题困扰我很久了,找不到解决方法,想请教一下您,问题出在哪里呢?