统计211

标题: spss新手求赐教(典型相关分析最后的warning看不懂) [打印本页]

作者: lucky    时间: 2011-7-31 17:25
标题: spss新手求赐教(典型相关分析最后的warning看不懂)
刚才发错地方了,版主别怪我哈

我不太会用spss刚学会一点,用spss作了个典型相关分析结果如下,我全都贴过来了,但是最后有个warning不知道是什么意思,请各位大侠赐教

Run MATRIX procedure:
Correlations for Set-1
        X1      X2      X3
X1  1.0000   .7490   .0334
X2   .7490  1.0000   .2333
X3   .0334   .2333  1.0000

Correlations for Set-2
        Y1      Y2      Y3      Y4      Y5      Y6      Y7      Y8
Y1  1.0000   .6334   .7796   .1728   .7811   .3879   .1467   .3563
Y2   .6334  1.0000   .4150   .1526   .6431   .5458   .2742   .6956
Y3   .7796   .4150  1.0000   .1153   .6994   .1109  -.2346   .2194
Y4   .1728   .1526   .1153  1.0000   .2558  -.1710  -.1984   .4702
Y5   .7811   .6431   .6994   .2558  1.0000   .4561   .1955   .4695
Y6   .3879   .5458   .1109  -.1710   .4561  1.0000   .2517   .4345
Y7   .1467   .2742  -.2346  -.1984   .1955   .2517  1.0000   .0100
Y8   .3563   .6956   .2194   .4702   .4695   .4345   .0100  1.0000

Correlations Between Set-1 and Set-2
        Y1      Y2      Y3      Y4      Y5      Y6      Y7      Y8
X1   .0338   .0233   .0410   .1051  -.1703  -.2211  -.3426   .0272
X2   .0891  -.0614   .0223  -.1535  -.2595  -.1250  -.3167  -.1876
X3   .2463   .0901   .3793  -.4178   .0731   .0742  -.1890  -.1754

Canonical Correlations
1       .753
2       .521
3       .420

Test that remaining correlations are zero:
      Wilk's   Chi-SQ       DF     Sig.
1       .260   40.465   24.000     .019
2       .600   15.311   14.000     .357
3       .823    5.829    6.000     .443

Standardized Canonical Coefficients for Set-1
          1        2        3
X1     .176    -.338   -1.499
X2    -.818    -.501    1.268
X3    -.557     .759    -.475

Raw Canonical Coefficients for Set-1
          1        2        3
X1     .008    -.015    -.064
X2    -.020    -.012     .031
X3    -.052     .071    -.044

Standardized Canonical Coefficients for Set-2
          1        2        3
Y1   -1.164   -1.092     .694
Y2    -.379    -.199    -.647
Y3     .447    1.365    -.581
Y4     .625    -.339     .075
Y5     .486     .288    -.182
Y6     .201     .441     .656
Y7     .758     .553     .309
Y8     .303    -.038    -.373

Raw Canonical Coefficients for Set-2
          1        2        3
Y1    -.185    -.174     .110
Y2    -.324    -.170    -.553
Y3     .874    2.670   -1.136
Y4    1.941   -1.051     .234
Y5     .679     .403    -.254
Y6     .588    1.292    1.922
Y7    6.635    4.836    2.700
Y8     .100    -.013    -.123

Canonical Loadings for Set-1
          1        2        3
X1    -.455    -.688    -.565
X2    -.816    -.577     .034
X3    -.742     .630    -.229

Cross Loadings for Set-1
          1        2        3
X1    -.343    -.358    -.237
X2    -.615    -.300     .014
X3    -.559     .328    -.096

Canonical Loadings for Set-2
          1        2        3
Y1    -.271     .251    -.130
Y2     .006     .175    -.370
Y3    -.295     .505    -.508
Y4     .500    -.529    -.366
Y5     .188     .467    -.258
Y6     .029     .372     .328
Y7     .403     .252     .480
Y8     .340    -.093    -.465

Cross Loadings for Set-2
          1        2        3
Y1    -.204     .131    -.055
Y2     .004     .091    -.156
Y3    -.222     .263    -.213
Y4     .377    -.276    -.154
Y5     .142     .243    -.108
Y6     .022     .194     .138
Y7     .304     .131     .202
Y8     .256    -.048    -.195

         Redundancy Analysis:
Proportion of Variance of Set-1 Explained by Its Own Can. Var.
               Prop Var
CV1-1              .474
CV1-2              .401
CV1-3              .124

Proportion of Variance of Set-1 Explained by Opposite Can.Var.
               Prop Var
CV2-1              .269
CV2-2              .109
CV2-3              .022

Proportion of Variance of Set-2 Explained by Its Own Can. Var.
               Prop Var
CV2-1              .091
CV2-2              .132
CV2-3              .146

Proportion of Variance of Set-2 Explained by Opposite Can. Var.
               Prop Var
CV1-1              .051
CV1-2              .036
CV1-3              .026

------ END MATRIX -----


Created Series
SET_NUM        Series Name        Case Number of Non-Missing Values        N of Valid Cases        Creating Function
                First        Last               
1.00        1        VARSEQ        1        3        3        CSUM(VARSEQ)
2.00        1        VARSEQ        4        11        8        CSUM(VARSEQ)


>Warning # 142.  Command name: SET >Undefined error #142 - Cannot open text file "D:\Program Files\Statistics17\lang\en\spss.err": No such file or directory 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.
这个警告的是什么?数据分析结果出错了么?


作者: yitong    时间: 2011-7-31 22:35
看不懂,帮你顶。
作者: tjstar    时间: 2011-8-2 13:13
该有的结果都有了。
作者: tjstar    时间: 2011-8-2 13:16
看英文的提示是说找不到“D:\Program Files\Statistics17\lang\en\spss.err”,不过根据后面的说明,有了相应的补救措施,所以应该问题不大。
纯属个人理解,还请高人指点。
作者: tjstar    时间: 2011-8-2 13:24
网络上的四个答案:
1 可能是spss.err文件损坏了,建议卸载该软件 换个目录重新安装。
2 spss.err文件不见了,不知道是过期被删除还是360什么的把它真的当err删除掉了。你找一个相应版本,找spss.err,COPY回去就行。
3 估计就是系统做过优化,把spss.err文件删掉了,重装一下SPSS试试。
4 官方的解释是装了Iolo System Mechanic,我估计就是系统做过优化,把spss.err文件删掉了,重装一下SPSS试试。
作者: tjstar    时间: 2011-8-2 13:25
为了保险起见,建议重装后再行分析,看看结果是否有差异。
作者: tjstar    时间: 2011-8-2 13:28
lang:解压或者释放exe程序,释放出一个文件夹lang,代表着语言文件,以驱动程序的exe为例,我们安装的时候会发现语言是可以选择的,所有信息都是包含在lang文件夹内的。
作者: lucky    时间: 2011-8-16 11:10
tjstar 发表于 2011-8-2 13:24
网络上的四个答案:
1 可能是spss.err文件损坏了,建议卸载该软件 换个目录重新安装。
2 spss.err文件不见 ...

多谢大侠指点,我前几天有事所以一直不在。我按照你说的几种可能的方法试了试,确实是出现了软件安装的问题,我的好像是精简版的,所以文件缺失比较多。
我还想再问一下,我见到很多文章有不同典型方程的贡献率,但是我不知道怎么从结果中得出贡献率,再请不吝赐教。
作者: lucky    时间: 2011-8-16 11:10
yitong 发表于 2011-7-31 22:35
看不懂,帮你顶。

谢谢,呵呵
作者: tjstar    时间: 2011-8-16 23:57
lucky 发表于 2011-8-16 11:10
多谢大侠指点,我前几天有事所以一直不在。我按照你说的几种可能的方法试了试,确实是出现了软件安装的问 ...

建议看张老的书。SPSS12.0高级篇。
作者: lucky    时间: 2011-8-17 09:36
tjstar 发表于 2011-8-16 23:57
建议看张老的书。SPSS12.0高级篇。

额,我是对照着这本书做的分析,但是结果里没有各个典型方程里的特征根,贡献率以及累积贡献率。是不是张老师书里的公式没有涵盖这一块儿的输出。
我能跟你直接聊几句么?我的QQ是373390968多谢了‘
作者: lucky    时间: 2011-8-17 10:22
本帖最后由 veil 于 2011-8-17 19:51 编辑
tjstar 发表于 2011-8-16 23:57
建议看张老的书。SPSS12.0高级篇。



作者: lucky    时间: 2011-8-17 10:23
tjstar 发表于 2011-8-16 23:57
建议看张老的书。SPSS12.0高级篇。

我就是想做成12楼的图片里显示的那样

图片应该上传上去了吧。。。
作者: veil    时间: 2011-8-17 11:35
提示: 作者被禁止或删除 内容自动屏蔽
作者: lucky    时间: 2011-8-17 19:47


作者: lucky    时间: 2011-8-17 19:48
veil 发表于 2011-8-17 11:35
很遗憾的告诉你,无图,请重新上传

哥哥,这次应该传上去了吧。。谢了
作者: lucky    时间: 2011-8-17 19:52
QQ截图未命名.png (46.93 KB, 下载次数: 0)
作者: tjstar    时间: 2011-8-17 21:43
本帖最后由 tjstar 于 2011-8-17 23:02 编辑
lucky 发表于 2011-8-17 19:52


参考资料:
点击进入下载-典型相关分析和协整.rar

点击进入下载-14_SAS中对应分析(含因子分析、典型相关分析作业解答).ppt

作者: veil    时间: 2011-8-17 22:49
提示: 作者被禁止或删除 内容自动屏蔽
作者: tjstar    时间: 2011-8-17 23:11
SAS分析过程

1.输入资料:
data data1003;
   input x1-x5 @@;
   label x1='力学(闭)'  x2='物理(闭)'
         x3='代数(开)'  x4='分析(开)' x5='统计(开)';
   n=_n_;
   cards;
77 82 67 67 81 63 78 80 70 81
75 73 71 66 81 55 72 63 70 68
63 63 65 70 63 53 61 72 64 73
… …
41 63 49 46 34 46 52 53 41 40
;

2.典型相关分析:
proc cancorr data=data1003 out=o1003;
  var x1 x2;
  with x3 x4 x5;
run;

3.分析结果:
Canonical Correlation Analysis

                                             Adjusted    Approximate        Squared
                             Canonical      Canonical       Standard      Canonical
                           Correlation    Correlation          Error    Correlation

                         1    0.629913       0.600607       0.091989       0.396790
                         2    0.095922       -.019641       0.151095       0.009201

                                                         Test of H0: The canonical correlations in the
                      Eigenvalues of Inv(E)*H              current row and all that follow are zero
                        = CanRsq/(1-CanRsq)
                                                        Likelihood Approximate
            Eigenvalue Difference Proportion Cumulative      Ratio     F Value Num DF Den DF Pr > F

          1     0.6578     0.6485     0.9861     0.9861 0.59766007        3.82      6     78 0.0022
          2     0.0093                     0.0139     1.0000 0.99079906        0.19      2     40 0.8312

4.结果解释:
只选一对典型变量。因为从第2对典型变量开始,只以17.88%的显著性非0。且第1对典型变量的贡献率已经达到98.61%。第一典型相关系数为0.6299。



作者: lucky    时间: 2011-8-18 09:42
tjstar 发表于 2011-8-17 23:11
SAS分析过程

1.输入资料:

好的,谢谢你的细心解释,我先去好好看看。
作者: lucky    时间: 2011-8-18 09:54
veil 发表于 2011-8-17 22:49
建议开个新帖说这个主题


谢谢超级版主的热心支持
作者: lucky    时间: 2011-8-19 18:25
tjstar 发表于 2011-8-17 23:11
SAS分析过程

1.输入资料:

问题解决了,谢谢你了。我是刚接触统计这方面的,SAS确实挺好用的。呵呵。
作者: tjstar    时间: 2011-8-19 18:40
lucky 发表于 2011-8-19 18:25
问题解决了,谢谢你了。我是刚接触统计这方面的,SAS确实挺好用的。呵呵。

不谢。欢迎常来。




欢迎光临 统计211 (http://www.tj211.com/) Powered by Discuz! X3.2