楼主: yoshigi
21733 110

SAS programin-The One-Day Course. The gift from the beginner [推广有奖]

  • 0关注
  • 0粉丝

小学生

50%

还不是VIP/贵宾

-

威望
0
论坛币
752 个
通用积分
0.0600
学术水平
0 点
热心指数
0 点
信用等级
0 点
经验
117 点
帖子
8
精华
0
在线时间
0 小时
注册时间
2007-3-1
最后登录
2010-11-16

相似文件 换一批

+2 论坛币
k人 参与回答

经管之家送您一份

应届毕业生专属福利!

求职就业群
赵安豆老师微信:zhaoandou666

经管之家联合CDA

送您一个全额奖学金名额~ !

感谢您参与论坛问题回答

经管之家送您两个论坛币!

+2 论坛币
I just come here and find many documents need money
The knoweldge is priceless and thus i provide a basic document introducing SAS for free
Just enjoy it!
Author: Neil Spencer
Table of Contents

Chapter 1

Introducing SAS ........................................................ 1
1.1 Operating SAS ........................................................................ 2
1.1.1 Writing and Submitting a SAS Program .................. 3
1.1.2 SAS Log .................................................................... 3
1.1.3 SAS Output................................................................ 3
1.2 Operating SAS with Microsoft Windows............................... 3
1.2.1 Other Windows ............................................................4
1.2.2 Clearing Text from Windows .................................... 5

Chapter 2

Reading Data into SAS ............................................. 7
2.1 What is Plain Text?................................................................. 7
2.2 Tumour Necrosis Factor (TNF) Data ..................................... 7
2.3 Giving Labels to Variables.................................................... 15
2.4 Category Labels .....................................................................16
2.5 Using Simple Arithmetic to Create a
New Variable ......................................................................... 20
2.6 PROC IMPORT .................................................................... 23
2.6.1 Delimited Files ........................................................ 23
2.6.2 Spreadsheet Files ..................................................... 26
2.6.3 Database Tles ........................................................... 27
2.7 Reading Dates and Times ..................................................... 29
2.8 Tasks...................................................................................... 33

Chapter 3

Saving and Output of SAS Datasets ....................... 35
3.1 Permanent Datasets............................................................... 35
3.2 Data Manipulation, Permanent Datasets, and
the SET Statement .................................................................38
3.3 PROC REPORT .................................................................... 40
3.4 PUT ........................................................................................41
3.5 PROC EXPORT.................................................................... 42
3.5.1 Delimited Files ........................................................ 43
3.5.2 Spreadsheet Files ..................................................... 44
3.5.3 Database Files.......................................................... 44
3.6 Tasks...................................................................................... 45

Chapter 4
Manipulating Datasets ............................................. 47
4.1 Merging Datasets .................................................................. 47
4.2 Concatenating Datasets......................................................... 51
4.3 Merging and Concatenating in One Program ........................56
4.4 Further Manipulation of Datasets......................................... 63
4.5 Tasks...................................................................................... 68

Chapter 5
Restructuring Datasets ............................................. 71
5.1 Splitting One Row of Data into Several Rows .................... 71
5.2 Combining Several Rows of Data into
One Row ............................................................................... 76
5.3 Tasks...................................................................................... 82

Chapter 6
Summarising Data ................................................... 85
6.1 PROC MEANS ..................................................................... 85
6.2 PROC UNIVARIATE..............................................................87
6.3 PROC FREQ......................................................................... 91
6.4 Tasks...................................................................................... 93

Chapter 7
Tabulating Data........................................................ 95
7.1 PROC MEANS ..................................................................... 95
7.2 PROC TABULATE for Summarising Data........................ 100
7.3 PROC TABULATE for Cross-Tabulations ......................... 103
7.4 Tasks.................................................................................... 104
Chapter 8
Formatting and Saving SAS Output...................... 107
8.1 Output Delivery System...................................................... 107
8.1.1 Listing .................................................................... 108
8.1.2 Printer .....................................................................108
8.1.3 HTML.................................................................... 108
8.1.4 RTF ........................................................................ 109
8.1.5 PDF ........................................................................ 110
8.1.6 OUTPUT................................................................ 110
8.1.7 ODS TRACE ......................................................... 110
8.1.8 PROC TEMPLATE................................................ 111
8.1.9 Example Using ODS Destinations,TRACE and SELECT............................................ 111
8.1.10 Names Required ......................................................116
8.1.11 Printing the “Quantilesoutput” Datas    to the HTML Destination ..................................................120
8.2 Saving SAS Output as a SAS Dataset ............................... 122
8.3 Tasks.................................................................................... 124

Chapter 9
Graphics in SAS .................................................... 125
9.1 Los Angeles Depression Data............................................. 125
9.2 Histogram of CESD Score.................................................. 125
9.2.1 Basic Histogram .................................................... 125
9.2.2 Labelling of End Points for Bars ...........................126
9.2.3 DeTning the Bars ....................................................127
9.2.4 Counts and Labels on the Vertical Axis................ 129
9.2.5 Adding a Normal Curve ........................................ 130
9.3 Bar Chart of Marital Status ................................................ 131
9.3.1 Basic Bar Chart ..................................................... 131
9.3.2 Three-Dimensional Bar Chart ............................... 133
9.3.3 Bar Chart with Formatted Axis ............................. 134
9.3.4 Bar Chart with Formatted Axis and
Labelled Bars......................................................... 136
9.3.5 Bar Chart with Summaries by Another
Variable .................................................................. 138
9.4 Bar Chart of Religion Grouped by
Marital Status .......................................................................138
9.4.1 Horizontal Bar Chart ............................................. 139
9.4.2 Stacked Bar Chart.................................................. 140
9.5 Pie Chart of Marital Status................................................. 142
9.5.1 Basic Pie Chart ........................................................142
9.5.2 Pie Chart with Formatting..................................... 143
9.5.3 Pie Chart with Formatting and an
Exploded Segment ................................................. 145
9.6 Plot of CESD Score against Age........................................ 146
9.6.1 Basic Scatter Plot................................................... 147
9.6.2 Scatter Plot with Formatting ................................. 148
9.7 Tasks.................................................................................... 149

Chapter 10
An Introduction to Macros .................................... 151
10.1 Example of a Macro to Print Datasets ............................... 151
10.2 Example of a Macro to Create and Format
an Histogram....................................................................... 154
10.3 Tasks.................................................................................... 156

Appendix A
Nurses’ Glove Use Data ........................................ 161

Appendix B
Los Angeles Depression Data ............................... 165

Appendix C
Solution Programs for Tasks ................................. 173
94995.rar (4.41 MB)
二维码

扫码加我 拉你入群

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

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

关键词:beginner Program beginn Course Inner documents provide

沙发
Vulpecula 发表于 2007-3-1 19:58:00 |只看作者 |坛友微信交流群
多谢楼主提供这样的宝贵材料!

使用道具

藤椅
PaytonWu 发表于 2007-3-2 04:15:00 |只看作者 |坛友微信交流群
<P>最近突然間發現SAS很重要!!.很想學習..謝謝提供這資料!!</P>

使用道具

板凳
Godial 发表于 2007-3-2 11:23:00 |只看作者 |坛友微信交流群
Good book, thanks for sharing......

使用道具

报纸
wyying 发表于 2007-3-2 12:56:00 |只看作者 |坛友微信交流群
you're wonderful

使用道具

地板
arcsiny 发表于 2007-3-2 13:20:00 |只看作者 |坛友微信交流群
正想学习,谢谢!

使用道具

7
maximus11111 发表于 2007-3-2 20:54:00 |只看作者 |坛友微信交流群
tanks very much!

使用道具

8
eijuhz 发表于 2007-3-3 08:45:00 |只看作者 |坛友微信交流群
<P>是一本好书。</P>
<P>SAS programming : the one-day course by  Neil Spencer CRC 2004</P>
<P>给予100现金奖励</P>

使用道具

9
cnadam 发表于 2007-3-4 05:41:00 |只看作者 |坛友微信交流群
谢谢

使用道具

10
threesteps 发表于 2007-3-4 22:46:00 |只看作者 |坛友微信交流群
thanks!!!!!!!!!!

使用道具

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

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

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

GMT+8, 2024-4-20 03:13