Presentation is loading. Please wait.

Presentation is loading. Please wait.

Efficient Way to Learn SAS with Virtually No Cost Mirjana Stojanovic Statistical Programmer Chapel Hill, NC.

Similar presentations


Presentation on theme: "Efficient Way to Learn SAS with Virtually No Cost Mirjana Stojanovic Statistical Programmer Chapel Hill, NC."— Presentation transcript:

1

2 Efficient Way to Learn SAS with Virtually No Cost Mirjana Stojanovic Statistical Programmer Chapel Hill, NC

3 from WEB sites Learning from WEB sites  Find out WEB sites which is the most suitable for your needs  Follow instructions or copy and paste into SAS learning edition (optional)  Check back frequently and check links which you will use the most of the time  Find out WEB sites which is the most suitable for your needs  Follow instructions or copy and paste into SAS learning edition (optional)  Check back frequently and check links which you will use the most of the time M Stojanovic:

4 firstobs firstobs FirstObs.com  Detailed and compact  Broad spectrum of information  Good links to other sites  Not too narrative  Basic and advanced procedures

5

6

7 FirstObs.com (cont.)  Tutorial List Tutorial ListTutorial List  Net Resources expanded list of Internet resources Net ResourcesNet Resources  SAS Community SAS CommunitySAS Community  Search FirstObs.com site by keyword and topic Search FirstObs.com site by keyword and topicSearch FirstObs.com site by keyword and topic

8

9 FirstObs.com (cont.) Data step  Combining data filesCombining data files  Execute: if...Then Execute: if...Then  Functions Functions  Reading raw dataReading raw data  Retain statementRetain statement

10

11 FirstObs.com (cont.) SAS procedure  Proc Format Proc Format  Proc Freq Proc Freq  Proc Print Proc Print  Proc Sort Proc Sort  Proc Contents Proc Contents

12

13 Institute for Clinical and Epidemiologic Research  Comprehensive manual  Easy to follow  Simple sentences  Descriptive explanation  Programming mistakes and how to avoid them

14

15 Institute for Clinical and Epidemiologic Research Basic Components of SAS -Getting Data into a SAS Data Set -Types of SAS Data Sets -Permanent Data Sets - Libname Statement -Using Existing SAS Data Set * Set Statement * Merge Statement

16

17

18

19

20 Institute for Clinical and Epidemiologic Research Introduction to SAS Procedures  Proc Means  Proc Univariate  Proc Freq  Proc Contents  Proc Plot

21

22

23

24 Virginia Commonwealth University  Based on Cody and Pass, SAS Programming by Example  Very clear and simple sentences  Descriptive explanation  Easy navigation  Remarks/Hints in red color  One example per page

25 Virginia Commonwealth University (cont.) Chapter 1.  What goes on in the data step? - The compilation phase - The execution phase Chapter 8.  “Remembering" values from previous observations

26

27

28

29

30

31

32

33

34

35 RHO, Inc.  Explanation through LOG messages(Note)  Miscellaneous programming materials  Tutorial on the SAS system  Good summary at the end of chapters  Examples supported with explanations

36 Chapter 1. Introduction Chapter 2. Introduction to Computers Chapter 3. Introduction to SAS Chapter 4. Using SAS Procedures Chapter 5. Transforming SAS Data Sets Chapter 6. SAS Programming Chapter 7. Managing and Combining SAS Data Sets Chapter 8. Using External Files with SAS Chapter 9. Report Writing Chapter 10. Matrix Algebra with SAS/IML Chapter 11. Statistical Graphics with SAS/Graph Chapter 12. Data Entry and Editing with SAS/FSP Chapter 13. The Macro Language Chapter 14. Miscellaneous Programming Materials Chapter 15. Research Data Management ODS PAPER

37 RHO, Inc. Chapter 5.  Transforming SAS Data Sets Transforming SAS Data Sets a. Creating new SAS data sets b. Creating and transforming variables c. Subsetting observations d. Subsetting variables

38 WHERE vs IF  The WHERE statement works before observation are brought into the data step(that is the PROGRAM DATA VECTOR).  The IF statement works on observation that are already in the data step.  The WHERE statement is not executable, but the IF statement is  The WHERE statement operates only on observations in SAS data sets, whereas the IF statement can operate either on observations from existing SAS data sets or on observations created with an input statement.  If a BY statement does not accompany a SET or MERGE statement, the WHERE and IF statements usually produce the same result  In almost all cases a WHERE statement is more efficient than an IF statement(observations do not have to be moved into the PDV)  The WHERE statement, but not the IF statement can be used in SAS PROCS.

39 RHO, Inc. Chapter 7.  COMBINING AND MANAGING SAS DATA SETS COMBINING AND MANAGING SAS DATA SETS a. Multiple input data sets b. SAS special variables c. Reshaping SAS data sets d. Data library management

40

41 RHO, Inc. MISCELLANEOUS PROGRAMMING MATERIALS

42

43

44

45

46

47 University of Central Florida Chapter 10  Well animated  Step by step explanations  Refresher Quiz  Different color for better understanding

48

49

50

51 University of Central Florida(cont.)  Chapter 5 Process flow of Subseting IF How to create SAS variable conditionally

52

53

54

55

56

57

58

59

60

61

62

63 University of Central Florida (cont.)  Chapter 9 Refresher Quiz

64

65 Karolinska Institutet in Stockholm. Paul Dickman  ndex.html ndex.html  et_by.html et_by.html  as_tips_cleaning8.pdf as_tips_cleaning8.pdf  as_tips_cleaning8.pdf as_tips_cleaning8.pdf

66

67

68

69 National Institute of Health  SAS Programming Fundamentals I SAS Programming Fundamentals I otes/pdf/sasfund1.pdf  SAS Programming Fundamentals II SAS Programming Fundamentals II s/fun22tmp.htm

70 National Institute of Health (cont.)  Systematic explanations  Plenty of good examples  Exercises included  Creating maps with SAS

71

72

73 National Institute of Health  Producing Tables with SAS Producing Tables with SAS  Producing Graphs with SAS Producing Graphs with SAS  Producing Reports with SAS Producing Reports with SAS  Using the SAS System for Elementary Statistical Analysis Using the SAS System for Elementary Statistical Analysis  Using Proc Freq in the SAS System to Perform Categorical Data Analysis Using Proc Freq in the SAS System to Perform Categorical Data Analysis

74 University of Florida  Descriptive  Choosing different color for a better understanding  Presentation in pictures

75 University of Florida (cont.)  Rules of SAS Use  General Form of a SAS Program  Different ways one can read in data using SAS  Reading Data from an External Text File  SAS Datasets

76

77 University of Florida (cont.)  Temporary and Permanent SAS Data Sets  Creating a Permanent Data Set  List Input  Delimited Files  Combining Data Sets

78

79 Andrew Karp on Proc Means  0_PROC_MEANS_Enhancements.pdf 0_PROC_MEANS_Enhancements.pdf  s/sugi27/p pdf s/sugi27/p pdf  papers/CarpMcQProcMeans.pdf papers/CarpMcQProcMeans.pdf

80

81 SAS Customer Support Center  edoc/code.samples.html edoc/code.samples.html  _ch3pg76.pdf _ch3pg76.pdf Using PROC MEANS and PROC FREQ to count MISSING VALUES

82 The Pennsylvania State University  Clear short examples  Homework's and solutions  Examples on one page  Easy to follow  Given advantages

83 The Pennsylvania State University (cont.)  tingStartted_files/frame.htm tingStartted_files/frame.htm  Getting data into the SAS system Getting data into the SAS system  Working with your SAS data: Part I Working with your SAS data: Part I  Working with your SAS data: Part II Working with your SAS data: Part II  Working with multiple SAS data sets Working with multiple SAS data sets  Working with statistics Working with statistics

84

85

86

87

88

89 The Pennsylvania State University  Quiz 1 (with correct answers)  Quiz 2 (with correct answers)

90  Information & Resources for SAS ® UsersSAS  Stats & SAS Links:  General Topics

91  Newsletter “Missing semicolon”  SAS Tips  Small but useful examples, SAS news  Keep your attention from the beginning to the end

92 SAS: the SAS Users' Group List (SUG-L)  What is SUG-L?  SUG-L is a listserv-based mailing list for SAS users throughout the Research Triangle area.  The list provides a way for users in the area to exchange information about SAS problems and questions.  Meetings of The Research Triangle SAS Users Group (RTSUG) are announced on this list.

93 SAS Newsgroup comp.soft-sys.sas  This newsgroup and SAS-L are joined(mirrored) so that the messages sent to one will also be sent to the other.  Deja.com Power Search provides an easy way to read comp.soft-sys.sas and search the archives. Deja.com Power Search

94 Philip Mason  SAS Tips and Techniques  SAS related links  SAS Papers

95 Conclusion  WEB is a golden mine for a learning  WEB plus combination with other resources will give a best results  Complementary ways: - BBU books - SUGI, SESUG, PHARMASUG - SAS Training classes - Attending SAS Local groups - Actively using SUG-L - WORKING EXPERIENCE

96 Mirjana Stojanovic Statistical programmer Chapel Hill, NC Tel: (919)


Download ppt "Efficient Way to Learn SAS with Virtually No Cost Mirjana Stojanovic Statistical Programmer Chapel Hill, NC."

Similar presentations


Ads by Google