全部版块 我的主页
论坛 数据科学与人工智能 数据分析与数据科学 SAS专版
3191 10
2013-05-24
悬赏 200 个论坛币 已解决
请问高手,我对一定量资料进行两两比较后,为什么会出现两个两两比较结果,谢谢!

proc rank data=aaa  out=b6;var fe;ranks rfe;run;
proc anova data=b6;class age_group1;model fe=age_group1;means age_group1/cldiff t;run;



                                                         SAS 系统                2013年05月24日 星期五 上午12时32分09秒  22

                                                    The ANOVA Procedure

                                                  Class Level Information

                                        Class           Levels    Values

                                        age_group1           8    0 1 2 3 4 5 6 >6


                                          Number of Observations Read       19270
                                          Number of Observations Used       19270

                                                         SAS 系统                2013年05月24日 星期五 上午12时32分09秒  23

                                                    The ANOVA Procedure

Dependent Variable: Fe

                                                            Sum of
                    Source                      DF         Squares     Mean Square    F Value    Pr > F

                    Model                        7        6.287328        0.898190       2.53    0.0133

                    Error                    19262     6833.746202        0.354779

                    Corrected Total          19269     6840.033530


                                    R-Square     Coeff Var      Root MSE       Fe Mean

                                    0.000919      7.816584      0.595633      7.620118


                    Source                      DF        Anova SS     Mean Square    F Value    Pr > F

                    age_group1                   7      6.28732840      0.89818977       2.53    0.0133

                                                         SAS 系统                2013年05月24日 星期五 上午12时32分09秒  24

                                                    The ANOVA Procedure

                                                   t Tests (LSD) for Fe

             NOTE: This test controls the Type I comparisonwise error rate, not the experimentwise error rate.


                                             Alpha                        0.05
                                             Error Degrees of Freedom    19262
                                             Error Mean Square        0.354779
                                             Critical Value of t       1.96009


                              Comparisons significant at the 0.05 level are indicated by ***.


                                                  Difference
                                    age_group1       Between      95% Confidence
                                    Comparison         Means          Limits

                                     1  - >6         0.00034    -0.02788  0.02855
                                     1  - 5          0.00101    -0.04154  0.04357
                                     1  - 2          0.00151    -0.03084  0.03386
                                     1  - 6          0.03021    -0.00949  0.06992
                                     1  - 0          0.03556     0.01137  0.05976  ***
                                     1  - 4          0.03580    -0.00602  0.07761
                                     1  - 3          0.04433     0.00772  0.08095  ***
                                     >6 - 1         -0.00034    -0.02855  0.02788
                                     >6 - 5          0.00067    -0.04285  0.04420
                                     >6 - 2          0.00117    -0.03244  0.03479
                                     >6 - 6          0.02987    -0.01087  0.07062
                                     >6 - 0          0.03523     0.00936  0.06109  ***
                                     >6 - 4          0.03546    -0.00734  0.07826
                                     >6 - 3          0.04400     0.00626  0.08173  ***
                                     5  - 1         -0.00101    -0.04357  0.04154
                                     5  - >6        -0.00067    -0.04420  0.04285
                                     5  - 2          0.00050    -0.04581  0.04681
                                     5  - 6          0.02920    -0.02252  0.08092
                                     5  - 0          0.03455    -0.00648  0.07559
                                     5  - 4          0.03479    -0.01857  0.08815
                                     5  - 3          0.04332    -0.00606  0.09271
                                     2  - 1         -0.00151    -0.03386  0.03084
                                     2  - >6        -0.00117    -0.03479  0.03244
                                     2  - 5         -0.00050    -0.04681  0.04581
                                     2  - 6          0.02870    -0.01501  0.07241
                                     2  - 0          0.03405     0.00374  0.06437  ***
                                     2  - 4          0.03429    -0.01134  0.07992
                                     2  - 3          0.04282     0.00191  0.08374  ***
                                     6  - 1         -0.03021    -0.06992  0.00949
                                     6  - >6        -0.02987    -0.07062  0.01087
                                     6  - 5         -0.02920    -0.08092  0.02252
                                     6  - 2         -0.02870    -0.07241  0.01501
                                     6  - 0          0.00535    -0.03272  0.04342
                                     6  - 4          0.00559    -0.04553  0.05670
                                     6  - 3          0.01412    -0.03283  0.06107
                                     0  - 1         -0.03556    -0.05976 -0.01137  ***
                                     0  - >6        -0.03523    -0.06109 -0.00936  ***
                                     0  - 5         -0.03455    -0.07559  0.00648
                                     0  - 2         -0.03405    -0.06437 -0.00374  ***
                                     0  - 6         -0.00535    -0.04342  0.03272
                                     0  - 4          0.00024    -0.04003  0.04050
                                     0  - 3          0.00877    -0.02606  0.04360
                                     4  - 1         -0.03580    -0.07761  0.00602
                                     4  - >6        -0.03546    -0.07826  0.00734
                                     4  - 5         -0.03479    -0.08815  0.01857

                                                         SAS 系统                2013年05月24日 星期五 上午12时32分09秒  25

                                                    The ANOVA Procedure

                                                   t Tests (LSD) for Fe

                              Comparisons significant at the 0.05 level are indicated by ***.


                                                  Difference
                                    age_group1       Between      95% Confidence
                                    Comparison         Means          Limits

                                     4  - 2         -0.03429    -0.07992  0.01134
                                     4  - 6         -0.00559    -0.05670  0.04553
                                     4  - 0         -0.00024    -0.04050  0.04003
                                     4  - 3          0.00854    -0.04021  0.05728
                                     3  - 1         -0.04433    -0.08095 -0.00772  ***
                                     3  - >6        -0.04400    -0.08173 -0.00626  ***
                                     3  - 5         -0.04332    -0.09271  0.00606
                                     3  - 2         -0.04282    -0.08374 -0.00191  ***
                                     3  - 6         -0.01412    -0.06107  0.03283
                                     3  - 0         -0.00877    -0.04360  0.02606
                                     3  - 4         -0.00854    -0.05728  0.04021




最佳答案

yongyitian 查看完整内容

可以增加每页输出的行数 /* run the following statement, then run your code again to see the result. */ options pagesize=80; /* the number 80 is the number of line printed per page in output window */ /* the pagesize= option can be changed to other values, if it is required */ /* if you want to check the setting of pagesize option, run the following line */ proc optio ...
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

全部回复
2013-5-24 02:24:49
可以增加每页输出的行数

/* run the following statement, then run your code again to see the result.  */

options pagesize=80;   

/* the number 80 is the number of line printed per page in output window     */
/* the pagesize= option can be changed to other values, if it is required         */
/* if you want to check the setting of pagesize option, run the following line   */

proc options option=pagesize define; run;

另外, 使用 option / CLDIFF   会输出所有成对的 (level of age_group) 的比较结果
相对应的两组结果之间,只是正副号和上下限不同. 比如:
age_group1      Between      95% Confidence
Comparison        Means          Limits
1  - >6         0.00034    -0.02788  0.02855
>6 - 1         -0.00034    -0.02855  0.02788
2  - 4          0.03429    -0.01134  0.07992
4  - 2         -0.03429    -0.07992  0.01134

二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-5-24 07:32:38
what do you mean two paired test results? jingju
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-5-25 22:20:21
不是显示不下么!
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-5-25 22:30:48
output每一页显示的行数是有限的,为增强可读性,sas自动添加表头
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

2013-5-25 22:40:05
个人认为应该不是软件分析出错的问题,你可以这样看结果,嘿嘿,
QQ截图.png
QQ截图20130525223111.png
二维码

扫码加我 拉你入群

请注明:姓名-公司-职位

以便审核进群资格,未注明则拒绝

点击查看更多内容…
相关推荐
栏目导航
热门文章
推荐文章

说点什么

分享

扫码加好友,拉您进群
各岗位、行业、专业交流群