1 / 19

EPLS Lab Software Orientation

EPLS Lab Software Orientation. SAS. Orientation Overview. Background Getting Started SAS Windows. Background. Statistical Analysis Software High-level computer programming language Data management (large data sets) Descriptive Statistics (describing data)

tgreenly
Download Presentation

EPLS Lab Software Orientation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. EPLS Lab Software Orientation SAS

  2. Orientation Overview • Background • Getting Started • SAS Windows

  3. Background • Statistical Analysis Software • High-level computer programming language • Data management (large data sets) • Descriptive Statistics (describing data) • Inferential Statistics (analyzing data)

  4. Background continued • SAS has 3 view windows • Editor (Programming) window • Log window • Output window

  5. Background continued • Three major components • Data Input • Datalines, text files, import files • Manipulation • PROC statements • Output • Tables, plots

  6. Getting Started • All SAS statements end in a ; • Use Comment statements • Start with * • End with ; • Entering Data • Preparing data for use

  7. Getting Started: Data Input DATA TEST1; INPUT SUBJECT 1-2 GENDER $4 EXAM1 6-8 EXAM2 10-12 HWGRADE $14; */EXAM1 & EXAM2 HAD TO ACCOMODATE THREE DIGITS FOR THE POSSIBILITY OF A SCORE OF 100*/; DATALINES; 10 M 080 084 A 07 M 085 089 A 04 F 090 086 B 20 M 082 085 B 14 F 088 084 C ; PROCMEANS DATA = TEST1; RUN;

  8. EDITOR

  9. Getting Started: Data Input */Where is the data*/; FILENAME SASPWRPT 'G:\EPLS Lab Orientation\PracticeSAS.txt'; */Where do you want the data?*/; LIBNAME NEW 'G:\EPLS Lab Orientation'; DATA FIRST; INFILE SASPWRPT; INPUT SUBJECT 1-2 GENDER $ 4 EXAM1 6-8 EXAM2 10-12 HWGRADE $ 14; RUN; DATA TEST3; SET FIRST; PROCMEANS DATA = TEST3; RUN;

  10. Getting Started: Data Input • May be easiest • Import data is under the FILE Menu PROCIMPORT OUT= WORK.TEST3 DATAFILE= "G:\SAS Powerpoint Data.xls" DBMS=EXCEL2000 REPLACE; SHEET="'Practice SAS$'"; GETNAMES=YES; RUN;

  11. Getting Started: Manipulation PROC Statements • Central Tendency, Shape, and Variation of single variables • Looking for relationships between variables • Testing Relationships & Hypotheses

  12. Getting Started: Manipulation • Common PROC statements: • PROC FREQ ; • PROC MEANS ; • PROC REG ; • PROC LOG ;

  13. Getting Started: Manipulation • SAS Help and Documentation • Learning to Use SAS • SAS Sample Programs • Base SAS • Select from the list • Can be copied and pasted into SAS • Run by clicking the “Runner” icon • Programs have extensive documentation

  14. Getting Started: • Log window • Useful for troubleshooting • Program is in black • Processes in blue • Errors in Red

  15. LOG

  16. Getting Started: • Output Window • Prints results on the screen • Output can be copied & pasted into Word • Assists in troubleshooting

  17. OUTPUT

  18. Resources for More Information: • Applied Statistics and the SAS Programming Language, 1997. Ronald P. Cody, Prentice-Hall Publisher. Fourth edition + • Logistic Regression using the SAS system: Theory & Application, 1999. Paul D. Allison, SAS Institute, Inc. • SAS Programming for Researchers and Social Scientists, 2001. Paul E. Spector, Sage Publications. Second edition +. • A Handbook of Statistical Analysis using SAS, 2002. Geoff Der and Brian S. Everitt. Chapman & Hall/CRC Press. Second edition +. www.crcpress.com. Back to EPLS Lab Orientation

More Related