找回密码
 注册
查看: 4927|回复: 5

The Power of PROC FORMAT—SAS书籍免费下载

[复制链接]
发表于 2010-12-5 10:36:58 | 显示全部楼层 |阅读模式
Table of Contents
Preface ...................................................................................................................... vii
Acknowledgments........................................................................................................ ix
Using This Book ........................................................................................................... xi
1 Introduction to SAS Informats and Formats.....................................................1
1.1 Chapter Overview.............................................................................................2
1.2 Using SAS Informats ..........................................................................................2
1.2.1 INPUT Statement .....................................................................................3
1.2.2 INPUT Function .......................................................................................7
1.2.3 INPUTN and INPUTC Functions.................................................................8
1.2.4 ATTRIB and INFORMAT Statements ...........................................................8
1.3 Using SAS Formats............................................................................................9
1.3.1 FORMAT Statement in Procedures ...........................................................10
1.3.2 PUT Statement.......................................................................................11
1.3.3 PUT Function.........................................................................................13
1.3.4 PUTN and PUTC Functions......................................................................14
1.3.5 BESTw. Format......................................................................................14
1.4 Additional Comments ......................................................................................17
iv Table of Contents
2 Why Use PROC FORMAT? ................................................................................19
2.1 Chapter Overview...........................................................................................20
2.2 Table Lookups.................................................................................................20
2.2.1 Binary Search Algorithm Used by SAS to Evaluate User-Defined Formats and
Informats ........................................................................................................22
2.3 Data Sets Used in the Book ..............................................................................22
2.3.1 Adult Growth Hormone Deficiency Survery Data.......................................23
2.3.2 Hypothetical Credit Score Data...............................................................25
3 VALUE and INVALUE Statements: Syntax and Examples .............................27
3.1 Chapter Overview...........................................................................................28
3.2 Introductory Example .......................................................................................28
3.2.1 Using the IF-THEN/ELSE Statement .........................................................29
3.2.2 Using the VALUE Statement ....................................................................30
3.3 Internal SAS Character Informats and Impact on User-Defined Formats ..................32
3.4 Order of Format Labels Output .........................................................................34
3.5 Example of Using the INVALUE Statement ..........................................................36
3.5.1 JUST and UPCASE Invalue Options..........................................................38
3.6 Rules for Using VALUE and INVALUE Statements.................................................40
3.6.1 Format and Informat Names ...................................................................41
3.6.2 Length of Format and Informat Names .....................................................42
3.6.3 Format and Informat Name Options ........................................................42
3.6.4 Additional Label Specifications for Informats.............................................44
3.6.5 Specifying Values and Invalues ...............................................................45
3.7 Embedded (or Nested) Formats and Informats within Labels .................................48
Table of Contents v
4 PICTURE Statements ..........................................................................................51
4.1 Chapter Overview.......................................................................................... 52
4.2 Digit Selectors in Label Definitions.................................................................... 52
4.3 Example: Printing Percentages in PROC TABULATE ........................................... 53
4.4 Using the ROUND Option............................................................................... 55
4.5 PREFIX Option: An Example Using Negative Values ........................................... 56
4.6 Specifying Label Widths for Picture Formats .................................................... 56
4.7 Controlling the Length of the Picture Format Label ............................................ 58
4.8 Using Internal SAS Formats to Meet Your Needs................................................ 59
4.9 The MULTIPLIER Option ................................................................................... 60
4.10 Additional Options to Use with the PICTURE Statement ..................................... 63
5 DATA Step Applications....................................................................................65
5.1 Chapter Overview...........................................................................................66
5.2 Table Lookup Variable Assignment....................................................................66
5.3 Two-Dimensional Table Lookup .........................................................................68
5.4 Using PUTC and PUTN with Macro Variables.....................................................70
5.5 Using PROC FORMAT to Extract Data ...............................................................72
5.6 Using PROC FORMAT for Data Merges: Creating Formats from Data....................72
5.7 Applying DATA Step Formats to Outlier Trimming ...............................................75
vi Table of Contents
6 MULTILABEL Option: When One-to-One or Many-to-One Is Not Enough .. 81
6.1 Chapter Overview......................................................................................... 82
6.2 MULTILABEL Example..................................................................................... 83
7 Managing Format Catalogs ........................................................................... 89
7.1 Chapter Overview......................................................................................... 90
7.2 Storing Formats............................................................................................. 90
7.3 Viewing Stored Formats ................................................................................. 92
7.4 Viewing and Modifying the Format Catalog..................................................... 94
7.5 Transporting Stored Formats ........................................................................... 96
Index..................................................................................................................... 97

免费下载:
游客,本帖隐藏的内容需要积分高于 50 才可浏览,您当前积分为 0


为长期从事生物统计行业的各位提供免费下载资料。
为了避免恶意下载和滥用,本贴设置了下载积分限制。
发几个帖子积分就能凑够50就成为注册会员,马上就可以下载了
生物统计家园提醒您:您在生物统计家园的任何活动都可能会增加您的积分,使您获得更多权限。
积分规则:总积分=发帖数*0.5+精华帖数*5+威望*2+金钱
如何获得积分(详细): http://www.biostatistic.net/home-spacecp-ac-credit-op-rule.html

回复

使用道具 举报

发表于 2011-4-13 18:05:39 | 显示全部楼层
我要達50分~我要下載
回复 支持 反对

使用道具 举报

发表于 2012-1-9 00:45:21 | 显示全部楼层
版主的都要50分啊
回复 支持 反对

使用道具 举报

发表于 2014-4-22 01:59:54 | 显示全部楼层
新手进行时,为积分而努力,希望尽快能下载书籍
回复 支持 反对

使用道具 举报

发表于 2014-4-24 09:58:20 | 显示全部楼层
谢谢楼主哦
回复 支持 反对

使用道具 举报

发表于 2014-10-6 20:31:18 | 显示全部楼层
   The Power of PROC FORMAT      下载不下来啊
回复 支持 反对

使用道具 举报

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

本版积分规则

手机版|小黑屋|生物统计家园 网站价格

GMT+8, 2024-11-23 16:23 , Processed in 0.031882 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表