Smiley face

Google
در فروشگاه اينترنتي داتيس   در كل اينترنت

تقويم و مناسبتها

رهگيري مرسولات پستي

كاربرگرامي شما مي توانيد پس از دريافت باركد پســتي از طريق دكمه رهگيري سفارشـات ، بوسيله دكمه رهگيري مرسوله پستي ، مرسـوله خود را از طريق وب سايت اداره پســت رديابي نماييد.

Datissoftware

Datissoftware

نماد ها

logo-samandehi

عناوين علمي و آموزشي

نرم افزارهاي مورد نياز

IDM دانلود Internet Download Manager
Chrome دانلود Google Chrome
Firefox دانلود Mozilla Firefox
Winrar دانلود Winrar
FlashPlayer دانلود Flash Player
Adobe Reader دانلود Adobe Reader
Mp4 Codec دانلود Mp4 Codec

آمار و اطلاعات

جهت عضــويت در خبرنامه فروشــگاه اينترنتي داتيــس ايميل صحيح خود را وارد نماييد.

عنوان : كتاب SAS Programming and Data Visualization Techniques

1394/08/01 - 22:52:46
نرم‌افزار SAS یک نرم‌افزار آماری است که برای تجزیه وتحلیل‌های آماری به کار می‌رود. نام این نرم‌افزار مخفف Statistical Analysis System می‌باشد. انواع تجزیه و تحلیلهای سریهای زمانی، انواع مدلهای خطی و غیر خطی، روشهای چند متغیره پیوسته و گسسته، کنترل کیفیت، آمار توصیفی، انواع تحلیلهای گرافیکی و نموداری، انواع تحلیلهای ماتریسی و … را می‌توان توسط برنامه نويسي SAS انجام داد.


دانلود كتاب SAS Programming and Data Visualization Techniques

 


Book Description:

SAS Programming and Data Visualization Techniques: A Power User's Guide brings together a wealth of ideas about strategic and tactical solutions to everyday situations experienced when transferring, extracting, processing, analyzing, and reporting the valuable data you have at your fingertips. Best, you can achieve most of the solutions using the SAS components you already license, meaning that this book's insights can keep you from throwing money at problems needlessly.

Author Philip R. Holland advises a broad range of clients throughout Europe and the United States as an independent consultant and founder of Holland Numerics Ltd, a SAS technical consultancy. In this book he explains techniques - through code samples and example - that will enable you to increase your knowledge of all aspects of SAS programming, improve your coding productivity, and interface SAS with other programs.


:Book Details

Publisher:    Apress
By:           Philip R. Holland
ISBN:         978-1-484205-69-3
Year:         2015
Pages:        272
Language:     English
File size:    10.1 MB
File format:  PDF

: CONTENTS

About the Author .....................................................................................................xv
About the Technical Reviewer ...............................................................................xvii
Acknowledgments ..................................................................................................xix
Introduction ............................................................................................................xxi
■■Part I: Programming Efficiency Techniques ........................................ 1
Overview .......................................................................................................................... 1
■■Chapter 1: The Basics of Efficient SAS Coding ...................................................... 3
Is the SAS Programming World “Back to Front”? ............................................................. 3
Speed and Low Maintenance ........................................................................................... 4
Speed or Low Maintenance: Part 1 .................................................................................. 5
Speed or Low Maintenance: Part 2 .................................................................................. 6
Personal Preferences ....................................................................................................... 8
Reducing Maintenance: Part 1 ......................................................................................... 9
Reducing Maintenance: Part 2 ....................................................................................... 10
Conclusions .................................................................................................................... 11
References ..................................................................................................................... 11
■■Chapter 2: How to Use Lookup Tables Effectively ................................................ 13
Sample Data Sets ........................................................................................................... 13
DATA Step Merge ............................................................................................................ 16
SQL Join ......................................................................................................................... 17
Generated SAS Formats ................................................................................................. 18

Generated If .. Then .. Else ............................................................................................. 20
Generated Select .. When .. Otherwise ........................................................................... 22
DATA Step Hash .............................................................................................................. 24
Conclusions .................................................................................................................... 26
Reference ....................................................................................................................... 27
■■Chapter 3: Case: SAS Skills in Epidemiology ....................................................... 29
Size Really Is Important! ................................................................................................ 29
Working with Longitudinal Databases ............................................................................ 29
Needing to Clean the Data .............................................................................................. 30
Choosing a Suitable Database ........................................................................................ 30
Programming Techniques ............................................................................................... 31
Sample Data Sets .................................................................................................................................31
Sample SAS Code .................................................................................................................................31
Performance Results ............................................................................................................................35
Summary ........................................................................................................................ 37
Some Thoughts for Managers ........................................................................................ 38
■■Part II: External Interfaces ............................................................... 39
Overview ........................................................................................................................ 39
■■Chapter 4: SAS to R to SAS .................................................................................. 41
Software Environment .................................................................................................... 41
Program Flow ................................................................................................................. 41
SAS Activity to Prepare the Data .......................................................................................................... 42
R Activity ...............................................................................................................................................44
SAS Activity to Create the ODS Report ................................................................................................. 45
Coding Issues ................................................................................................................. 47
Character-Based Reports ............................................................................................... 48
Conclusions .................................................................................................................... 48
Software Resources and Further Reading ...................................................................... 49

■■Chapter 5: Knit Perl and SAS Software for DIY Web Applications ....................... 51
HTML Programming ....................................................................................................... 51
System Requirements .................................................................................................... 53
SAS Programming .......................................................................................................... 53
Perl Programming and Operational Details .................................................................... 60
Conclusions .................................................................................................................... 63
References ..................................................................................................................... 63
■■Chapter 6: Running SAS Programs in Enterprise Guide ...................................... 65
Environment Setup ......................................................................................................... 65
Changes to the Automatic Initialization Program ........................................................... 66
Limitations of Enterprise Guide Software ....................................................................... 66
Accessing Local SAS Installations .................................................................................. 66
Accessing Server-Based SAS Installations .................................................................... 67
Why You Cannot Use Autoexec.sas ................................................................................. 67
Why Do Platform-Specific System Commands Fail? ...................................................... 67
Changing the Current Directory ...................................................................................... 68
Generating SAS Code Using Enterprise Guide Tasks ...................................................... 70
Automatically Saving Logs to Disk ................................................................................. 71
Conclusions .................................................................................................................... 72
References ..................................................................................................................... 72
■■Chapter 7: Running SAS Programs in SAS Studio or Enterprise Guide ................ 73
Platform-Specific Users ................................................................................................. 73
Windows Users .....................................................................................................................................73
Unix or Linux Users ...............................................................................................................................77
MAC Users ............................................................................................................................................78
Role-Specific Users ........................................................................................................ 78
Academic Users ....................................................................................................................................78
Non-Programming Data Analysts .........................................................................................................79
Novice and Intermediate Programmers ................................................................................................86

Power Users .........................................................................................................................................91
Interface and Task Developers .............................................................................................................97
Conclusions .................................................................................................................... 98
References ..................................................................................................................... 99
■■Chapter 8: Everyday Uses for SAS Output Delivery System (ODS) ..................... 101
Disguising a Web Page ................................................................................................. 101
Uses ....................................................................................................................................................101
Code ...................................................................................................................................................102
Drawbacks ..........................................................................................................................................102
Creating Reports in Parallel .......................................................................................... 102
Uses ....................................................................................................................................................102
Code ...................................................................................................................................................103
Drawbacks ..........................................................................................................................................103
Saving Reports for Later ............................................................................................... 103
Uses ....................................................................................................................................................104
Code ...................................................................................................................................................104
Drawbacks ..........................................................................................................................................105
Packaging Reports into Zip Files .................................................................................. 105
Uses ....................................................................................................................................................105
Code ...................................................................................................................................................106
Drawbacks ..........................................................................................................................................106
Conclusions .................................................................................................................. 107
■■Part III: Data Visualization .............................................................. 109
Overview ...................................................................................................................... 109
■■ Chapter 9: Introduction to Graph Templates and ODS Graphics Procedures ........ 111
Coming Up ..........................................................................................................................................112
Introduction to ODS Graphics Procedures .................................................................... 114
PROC SGPLOT .....................................................................................................................................114
PROC SGPANEL ...................................................................................................................................116
PROC SGSCATTER ...............................................................................................................................118
Conclusions .................................................................................................................. 126

■■Chapter 10: Generating Graph Templates .......................................................... 127
ODS Graphics Designer ................................................................................................ 127
How to Start the ODS Graphics Designer ............................................................................................127
Using the Gallery to Create Simple Templates .................................................................................... 130
Saving the Template as a Designer File (*.sgd) .................................................................................. 148
Saving the Template as a SAS Program (*.sas) .................................................................................. 149
Graph Template Usage ................................................................................................. 150
Preparing Data for Graph Templates ...................................................................................................150
Displaying Graph Templates ...............................................................................................................151
Conclusions .................................................................................................................. 152
■■Chapter 11: Converting SAS/GRAPH Plots to ODS Graphics .............................. 153
Scatter Plots ................................................................................................................. 153
SAS/GRAPH from SAS 9.2 ...................................................................................................................154
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................154
Line Plots ...................................................................................................................... 155
SAS/GRAPH from SAS 9.2 ...................................................................................................................156
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................156
Regression Plots ........................................................................................................... 157
SAS/GRAPH from SAS 9.2 ...................................................................................................................157
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................158
Error Bar Plots .............................................................................................................. 159
SAS/GRAPH from SAS 9.2 ...................................................................................................................160
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................161
Box Plots ...................................................................................................................... 162
SAS/GRAPH from SAS 9.2 ...................................................................................................................162
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................163
Vertical Bar Charts ....................................................................................................... 164
SAS/GRAPH from SAS 9.2 ...................................................................................................................164
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................166
ODS Graphics from SAS 9.3 (Easy) .....................................................................................................169

Horizontal Bar Charts ................................................................................................... 170
SAS/GRAPH from SAS 9.2 ...................................................................................................................170
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................173
ODS Graphics from SAS 9.3 (Easy) .....................................................................................................176
ODS Graphics from SAS 9.4 (Difficult and Impossible) ....................................................................... 177
2D Pie Charts ................................................................................................................ 180
SAS/GRAPH from SAS 9.2 ...................................................................................................................180
ODS Graphics in SAS 9.2 (Impossible) ................................................................................................181
ODS Graphics as of SAS 9.3 (Difficult) ................................................................................................181
3D Pie Charts ................................................................................................................ 183
ODS Graphics in SAS 9.2, 9.3, and 9.4 (Impossible) ........................................................................... 183
Conclusions .................................................................................................................. 183
Recommended Reading ............................................................................................... 183
■■Chapter 12: Converting SAS/GRAPH Annotate to ODS Graphics ........................ 185
Error Bars ..................................................................................................................... 185
SAS/GRAPH from SAS 9.2 ...................................................................................................................186
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................188
Point Labels .................................................................................................................. 189
SAS/GRAPH from SAS 9.2 ...................................................................................................................190
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................191
Bar Labels .................................................................................................................... 192
SAS/GRAPH from SAS 9.2 ...................................................................................................................193
ODS Graphics from SAS 9.3 (Easy) .....................................................................................................194
ODS Graphics from SAS 9.4 (Easy) .....................................................................................................195
Information Boxes ........................................................................................................ 196
SAS/GRAPH from SAS 9.2 ...................................................................................................................197
ODS Graphics from SAS 9.3 (Difficult) ................................................................................................198
ODS Graphics from SAS 9.2 (Difficult) ................................................................................................199
ODS Graphics from SAS 9.2 (Easy) .....................................................................................................201
Conclusions .................................................................................................................. 203

■■Chapter 13: Customizing Graph Templates ....................................................... 205
Structure and Syntax .................................................................................................... 205
Structure .............................................................................................................................................205
Template Syntax .................................................................................................................................211
Creating Your Own Templates ....................................................................................... 214
Customizing PROC SGSCATTER Graphs .............................................................................................. 214
Customizing PROC SGPLOT Templates ............................................................................................... 225
Graph Template Contents ...................................................................................................................232
Conclusions .................................................................................................................. 235
■■Chapter 14: ODS GRAPHICS Statement .............................................................. 237
ODS GRAPHICS Statement ............................................................................................ 237
ODS Graphics Output Destinations ............................................................................... 238
SAS 9.2 ...............................................................................................................................................238
SAS 9.3 ...............................................................................................................................................238
SAS 9.4 ...............................................................................................................................................239
EMF Output Files ................................................................................................................................239
Conclusions .................................................................................................................. 240
Index ..................................................................................................................... 241

 


 

:Introduction

When selecting a technical book for myself, I tend to choose one that includes lots of examples and sample
code snippets that I can use and adapt for my own development projects. I wanted to write a book that
I could use for reference myself, so I have tried to make sure there are code snippets wherever possible.
As a former Performance Analyst, I still look at any programs I write to see if I can make them smaller,
quicker, and/or easier to maintain. Resources may appear to be limitless, but there will inevitably come a day
when a program needs more WORK disk space, more memory, more processing power, faster disk access, and
so on. Part I of this book is intended to help you look at your existing programs and move that day when you
run out of resources a little further into the future, thus saving money on resources and maintenance.
I have spent the majority of my time as an independent consultant assisting my clients to make better use
of their existing components by demonstrating new features, improving their coding efficiency, and helping
them to develop applications that are easier to maintain. I want this part of my book to continue this work.
Have you ever read about a new feature in the software you already use or are thinking about using,
and wondered whether it can be used in your day-to-day activities? I do this all the time, which is why the
chapters in Part II focus on how to use a range of different software applications with SAS software. Although
the capabilities of SAS software are constantly growing, there is always some type of functionality that SAS
cannot do but that exists in another software application. Interfacing SAS and this external application can
bridge the gap to achieve what you are trying to do.
I have spent the vast majority of my SAS programming career drawing graphs—first on pen plotters
and, more recently, for web pages and books. SAS/GRAPH is now a vast and complicated SAS component,
requiring delicate configuration that changes from platform to platform and even from graph to graph. It was
a joy to find a way to draw clear graphs using Base SAS with ODS Graphics that is consistent, reusable, and,
most important, simple to learn. I hope that by the end of Part III, you agree with me.

 


 

1394/08/01 - 22:52:46
برچسب هاي مطلب :



شما اولين نفري باشيد كه نظر ارسال مي كند.

فرم ثبت نظر

نام و نام خانوادگی
ایمیل
وبلاگ
نظر و کامنت
كد امنيتي