楼主: muyedekakaxio
5282 7

[书籍介绍] 求SAS stat模块写的非常全,案例比较丰富的。 [推广有奖]

  • 0关注
  • 0粉丝

大专生

90%

还不是VIP/贵宾

-

威望
0
论坛币
32 个
通用积分
1.9000
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
1158 点
帖子
52
精华
0
在线时间
39 小时
注册时间
2010-10-10
最后登录
2022-11-12

25论坛币
我举个例子吧,用REG命令,不是简简单的讲回归,而是把里面的选项都讲明白,比如,加权的命令怎么用啊,虚拟变量怎么用啊等等。然后最好每个命令都有例子配套的这种教材,不要统计知识预备的都行,就是讲实例的。
首先排除高惠旋的 stat手册,那个实在是太老了。跟不上版本了。或者最低限度你告诉我怎么查找这些名利怎么用,在SAS帮助里,我本人在索引里输入REG,居然没什么相关的显示,够郁闷吧。你告诉怎么找到也行。还有plot他也没什么显示,是我sas出问题了? 总而言之,要么帮我找到一本这样的书,要么告诉我个这些命令的地址,中英文都行,只要好用,保证采纳,另外我还考虑加分,谢谢。非常感谢。

最佳答案

情迷仲夏夜 查看完整内容

这里有一个很好的网页: http://www.chuibar.com/fr/sas%2017%20lineare%20regression.html
关键词:非常全 虚拟变量 plot 统计知识 非常感谢 模块 模块 SAS SAS Stat Stat

本帖被以下文库推荐

沙发
情迷仲夏夜 发表于 2011-3-19 02:30:09 |只看作者 |坛友微信交流群

使用道具

藤椅
情迷仲夏夜 发表于 2011-3-19 03:07:52 |只看作者 |坛友微信交流群
不知道这几篇东西可好?

stata_sas_guide.pdf

431.23 KB

需要: 1 个论坛币  [购买]

MLSA01_05.pdf

156.96 KB

需要: 1 个论坛币  [购买]

MLPAPER267.pdf

54.3 KB

需要: 1 个论坛币  [购买]

MLBuilding.pdf

210.48 KB

需要: 1 个论坛币  [购买]

Mlecture10H.pdf

386.05 KB

需要: 1 个论坛币  [购买]

MLec03Pt5B.pdf

107.77 KB

需要: 1 个论坛币  [购买]

使用道具

板凳
情迷仲夏夜 发表于 2011-3-19 03:26:15 |只看作者 |坛友微信交流群
  1. /****************************************************************/
  2. /*          S A S   S A M P L E   L I B R A R Y                 */
  3. /*                                                              */
  4. /*    NAME: REGODS                                              */
  5. /*   TITLE: Documentation Examples for PROC REG                 */
  6. /* PRODUCT: STAT                                                */
  7. /*  SYSTEM: ALL                                                 */
  8. /*    KEYS: regression, ODS graphics                            */
  9. /*   PROCS: REG                                                 */
  10. /*    DATA:                                                     */
  11. /*                                                              */
  12. /* SUPPORT: SASROC                                              */
  13. /*     REF: SAS/STAT GUIDE: PROC REG CHAPTER                    */
  14. /*    MISC:                                                     */
  15. /*                                                              */
  16. /****************************************************************/

  17.   *-------------------USPopulation data--------------------------*
  18.   |  US population data in thousands from 1780-1970              |
  19.   *--------------------------------------------------------------*;

  20. data USPopulation;
  21.    input Population @@;
  22.    retain Year 1780;
  23.    Year=Year+10;
  24.    YearSq=Year*Year;
  25.    Population=Population/1000;
  26. datalines;
  27.    3929 5308 7239 9638 12866 17069 23191 31443 39818 50155
  28.    62947 75994 91972 105710 122775 131669 151325 179323 203211
  29. ;

  30.   *-------------------Data on Physical Fitness-------------------*
  31.   | These measurements were made on men involved in a physical   |
  32.   | fitness course at N.C.State Univ. The variables are Age      |
  33.   | (years), Weight (kg), Oxygen intake rate (ml per kg body     |
  34.   | weight per minute), time to run 1.5 miles (minutes), heart   |
  35.   | rate while resting, heart rate while running (same time      |
  36.   | Oxygen rate measured), and maximum heart rate recorded while |
  37.   | running.                                                     |
  38.   | ***Certain values of MaxPulse have been changed.             |
  39.   *--------------------------------------------------------------*;
  40. data fitness;
  41. input Age Weight Oxygen RunTime RestPulse RunPulse MaxPulse @@;
  42. datalines;
  43.    44 89.47 44.609 11.37 62 178 182   40 75.07 45.313 10.07 62 185 185
  44.    44 85.84 54.297  8.65 45 156 168   42 68.15 59.571  8.17 40 166 172
  45.    38 89.02 49.874  9.22 55 178 180   47 77.45 44.811 11.63 58 176 176
  46.    40 75.98 45.681 11.95 70 176 180   43 81.19 49.091 10.85 64 162 170
  47.    44 81.42 39.442 13.08 63 174 176   38 81.87 60.055  8.63 48 170 186
  48.    44 73.03 50.541 10.13 45 168 168   45 87.66 37.388 14.03 56 186 192
  49.    45 66.45 44.754 11.12 51 176 176   47 79.15 47.273 10.60 47 162 164
  50.    54 83.12 51.855 10.33 50 166 170   49 81.42 49.156  8.95 44 180 185
  51.    51 69.63 40.836 10.95 57 168 172   51 77.91 46.672 10.00 48 162 168
  52.    48 91.63 46.774 10.25 48 162 164   49 73.37 50.388 10.08 67 168 168
  53.    57 73.37 39.407 12.63 58 174 176   54 79.38 46.080 11.17 62 156 165
  54.    52 76.32 45.441  9.63 48 164 166   50 70.87 54.625  8.92 48 146 155
  55.    51 67.25 45.118 11.08 48 172 172   54 91.63 39.203 12.88 44 168 172
  56.    51 73.71 45.790 10.47 59 186 188   57 59.08 50.545  9.93 49 148 155
  57.    49 76.32 48.673  9.40 56 186 188   48 61.24 47.920 11.50 52 170 176
  58.    52 82.78 47.467 10.50 53 170 172
  59. ;

  60.   *-----------------------Acetylene data-------------------------*
  61.   | Acetylene data in Marquardt and Snee (1975                   |
  62.   *--------------------------------------------------------------*;
  63. title 'Acetylene Data';
  64. data acetyl;
  65.    input x1-x4 @@;
  66.    x1x2 = x1 * x2;
  67.    x1x1 = x1 * x1;
  68.    label x1  = 'reactor temperature(celsius)'
  69.    x2  = 'h2 to n-heptone ratio'
  70.    x3  = 'contact time(sec)'
  71.    x4  = 'conversion percentage'
  72.    x1x2= 'temperature-ratio interaction'
  73.    x1x1= 'squared temperature';
  74. datalines;
  75.    1300  7.5 .012 49   1300  9   .012  50.2 1300 11 .0115 50.5
  76.    1300 13.5 .013 48.5 1300 17   .0135 47.5 1300 23 .012  44.5
  77.    1200  5.3 .04  28   1200  7.5 .038  31.5 1200 11 .032  34.5
  78.    1200 13.5 .026 35   1200 17   .034  38   1200 23 .041  38.5
  79.    1100  5.3 .084 15   1100  7.5 .098  17   1100 11 .092  20.5
  80.    1100 17   .086 29.5
  81. ;


  82. /*  ODS Graphics Examples  */

  83. ods html;   /* On z/OS, replace this with  ods html path="."; */
  84. ods graphics on;


  85. /* Partial leverage plot with ods graphics */

  86. proc reg data=fitness;
  87.    model Oxygen=RunTime Weight Age / partial;
  88. run;quit;


  89. /*  Ridge traces for Acetylene Data */
  90.   proc reg data=acetyl outest=notUsed
  91.          ridge=0 to 0.02 by .002;
  92.      model x4=x1 x2 x3 x1x2 x1x1/noprint;
  93.   run;quit;


  94. /*  ODS Graphics examples - uses USPopulation Data */
  95. /*  Default Plots:
  96.       DiagnosticPanel
  97.       ResidualPanel(s)
  98.       FitPlot if there is a single regressor
  99. */


  100.    proc reg data=USPopulation;
  101.       Linear: model Population=Year;
  102.       Quadratic:model Population=Year YearSq;
  103.    run;quit;


  104. /*  Unpacking the fit diagnostics panel and selecting a single plot */


  105.    ods select residualhistogram;

  106.    proc reg data=USPopulation plots(unpackpanels);
  107.       Quadratic:model Population=Year YearSq;
  108.    run;quit;

  109. ods graphics off;
  110. ods html close;
复制代码

proc_reg.txt

21.83 KB

需要: 2 个论坛币  [购买]

使用道具

报纸
情迷仲夏夜 发表于 2011-3-19 03:54:03 |只看作者 |坛友微信交流群
这本书很好!

SASED.pdf

1.89 MB

需要: 5 个论坛币  [购买]

使用道具

地板
muyedekakaxio 发表于 2011-4-4 01:01:28 |只看作者 |坛友微信交流群
虽然都不是很好~~但是辛苦你了,给你最佳答案吧

使用道具

7
情迷仲夏夜 发表于 2011-4-6 02:04:49 |只看作者 |坛友微信交流群
那就多谢你了!其实,我觉得有些东西还是要靠自己日积月累。不能一味的等到最全最好的,与其等别人来做,不如人人都可以花些时间和精力来做前人还没做到,没有做的事情!

使用道具

8
carltianji 发表于 2016-4-2 09:01:07 |只看作者 |坛友微信交流群
谢谢楼主分享!

使用道具

您需要登录后才可以回帖 登录 | 我要注册

本版微信群
加好友,备注cda
拉您进交流群

京ICP备16021002-2号 京B2-20170662号 京公网安备 11010802022788号 论坛法律顾问:王进律师 知识产权保护声明   免责及隐私声明

GMT+8, 2024-4-26 18:30