Presentation on theme: "Efficient Way to Learn SAS with Virtually No Cost"— Presentation transcript:
1Efficient Way to Learn SAS with Virtually No Cost Mirjana StojanovicStatistical ProgrammerChapel Hill, NCI will talk about myself, and how I got this idea to write such paper. In this paper I have about 15 sites, but depend of time how many of them I will present at SESUG 2003.
2Learning from WEB sites M Stojanovic:M Stojanovic:M Stojanovic:Learning from WEB sitesFind out WEB sites which is the most suitable for your needsFollow instructions or copy and paste into SAS learning edition (optional)Check back frequently and check links which you will use the most of the time1. This is my way how I want to share Information
3FirstObs.com http://www.firstobs.com Detailed and compactBroad spectrum of informationGood links to other sitesNot too narrativeBasic and advanced procedures
12Descriptive explanation Programming mistakes and how to avoid them Institute for Clinical and Epidemiologic ResearchComprehensive manualEasy to followSimple sentencesDescriptive explanationProgramming mistakes and how to avoid them
14Institute for Clinical and Epidemiologic Research http://hsrd. durham 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
19Introduction to SAS Procedures Proc Means Proc Univariate Proc Freq Institute for Clinical and Epidemiologic ResearchIntroduction to SAS ProceduresProc MeansProc UnivariateProc FreqProc ContentsProc Plot
23Virginia Commonwealth University http://www. people. vcu Based on Cody and Pass, SAS Programming by ExampleVery clear and simple sentencesDescriptive explanationEasy navigationRemarks/Hints in red colorOne example per page
24Virginia Commonwealth University (cont. ) http://www. people. vcu Chapter 1.What goes on in the data step?- The compilation phase- The execution phaseChapter 8.“Remembering" values from previous observations
34RHO, Inc. http://www.rhoworld.com/index_services_biostats.htm Explanation through LOG messages(Note)Miscellaneous programming materialsTutorial on the SAS systemGood summary at the end of chaptersExamples supported with explanations
35Chapter 1. IntroductionChapter 2. Introduction to ComputersChapter 3. Introduction to SASChapter 4. Using SAS ProceduresChapter 5. Transforming SAS Data SetsChapter 6. SAS ProgrammingChapter 7. Managing and Combining SAS Data SetsChapter 8. Using External Files with SASChapter 9. Report WritingChapter 10. Matrix Algebra with SAS/IMLChapter 11. Statistical Graphics with SAS/GraphChapter 12. Data Entry and Editing with SAS/FSPChapter 13. The Macro LanguageChapter 14. Miscellaneous Programming MaterialsChapter 15. Research Data ManagementODS PAPER
36RHO, Inc. http://www. rhoworld. com/index_services_biostats RHO, Inc. Chapter 5.Transforming SAS Data Setsa. Creating new SAS data sets b. Creating and transforming variables c. Subsetting observations d. Subsetting variables
37WHERE vs IFThe 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 isThe 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 resultIn 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 .
38RHO, Inc. http://www.rhoworld.com/index_services_biostats.htm Chapter 7.COMBINING AND MANAGING SAS DATA SETSa. Multiple input data setsb. SAS special variablesc. Reshaping SAS data setsd. Data library management
72Producing Tables with SAS Producing Graphs with SAS National Institute of HealthProducing Tables with SASProducing Graphs with SASProducing Reports with SASUsing the SAS System for Elementary Statistical AnalysisUsing Proc Freq in the SAS System to Perform Categorical Data Analysis
73University of Florida http://ifasstat.ufl.edu/sta4702/pdf/SASIntro.pdf DescriptiveChoosing different color for a better understandingPresentation in pictures
74University of Florida (cont. ) http://ifasstat. ufl Rules of SAS UseGeneral Form of a SAS ProgramDifferent ways one can read in data using SASReading Data from an External Text FileSAS Datasets
76Temporary and Permanent SAS Data Sets Creating a Permanent Data Set University of Florida (cont.)Temporary and Permanent SAS Data SetsCreating a Permanent Data SetList InputDelimited FilesCombining Data Sets
80SAS Customer Support Center Using PROC MEANS and PROC FREQto count MISSING VALUES
81The Pennsylvania State University http://www. stat. psu Clear short examplesHomework's and solutionsExamples on one pageEasy to followGiven advantages
82Getting data into the SAS system Working with your SAS data: Part I The Pennsylvania State University (cont.)Getting data into the SAS systemWorking with your SAS data: Part I Working with your SAS data: Part IIWorking with multiple SAS data setsWorking with statistics
88The Pennsylvania State University http://www. stat. psu Quiz 1 (with correct answers)Quiz 2 (with correct answers)
89Information & Resources for SAS® UsersStats & SAS Links:General Topics
90Newsletter “Missing semicolon” SAS Tips Newsletter “Missing semicolon”SAS TipsSmall but useful examples, SAS newsKeep your attention from the beginning to the end
91SAS: 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.
92SAS 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.
93Philip Mason http://homepage.ntlworld.com/philipmason/ SAS Tips and TechniquesSAS related linksSAS Papers
94Conclusion WEB is a golden mine for a learning WEB plus combination with other resources will give a best resultsComplementary ways:- BBU books- SUGI, SESUG, PHARMASUG- SAS Training classes- Attending SAS Local groups- Actively using SUG-L- WORKING EXPERIENCE
95Statistical programmer Mirjana StojanovicStatistical programmerChapel Hill, NC 27514Tel: (919)