Introduction to SAS. Cristina Murray-Krezan Research Assistant Professor of Internal Medicine Biostatistician, CTSC
|
|
- Damian King
- 5 years ago
- Views:
Transcription
1 Introduction to SAS Cristina Murray-Krezan Research Assistant Professor of Internal Medicine Biostatistician, CTSC 20 August 2018
2 What is SAS? Statistical Analysis System, created in 1976 at NC State for agricultural data analysis A consortium of eight universities with major research funding from the USDA realized the importance of such software. They obtained a grant from NIH to further develop the software, and SAS was born. Widely used in many disciplines including statistics, health sciences, business, and economics.
3 SAS vs. Other Software Command-driven vs. menu-driven Flexibility comes from using SAS language to write programs. Other software you may use: SPSS Stata Minitab Matlab
4 Components of SAS Programs DATA steps Here you can: Read in data Manipulate data PROC steps Here you can: Analyze the data Create tables of output
5 The SAS Environment Five windows: 1. Editor where you write your program (commands). 2. Log log of success of the submitted command. 3. Output display of your statistical results. 4. Explorer a directory for your libraries. 5. Results a listing of all submitted PROC steps.
6 Where Your Data Will Live Library This is created to refer to permanent data sets(such as your Excel file, or other permanent data set). You specify the directory and then SAS knows where to get the data, or where to put permanent data sets. Use libname statement to name your library and specify the directory.
7 Types of Data Sets Temporary data sets Stored in the Work library. Created while running your program. Cease to exist when you close SAS. Permanent data sets Stored in a library that you define. Continue to exist after SAS is closed. A data set that you are reading into SAS Can pretty much be any file type. A data set that you export out of SAS Can export into pretty much any file type.
8 The LIBNAME Statement Example Syntax: libname sasdata C:\cristina\Pharm547 ; Notes: Your library name (called a libref in SAS syntax) must be 8 characters in length. All SAS statements must end with ;.
9 Ways to Read Your Data into SAS Import Wizard from drop-down menu: Go to File > Import Data Select your data file type Select your data set Give your temporary data set a name SAS can generate the code used to perform the import. Just select a directory where the code should be output. PROC IMPORT is the procedure used in the code. I recommend doing this.
10 Ways to Read Your Data into SAS (continued) For a very small dataset, or test data, you can input the data in the DATA step using the datalines statement (a.k.a. cards ). Example data mydata; input patid $ age gender $; datalines; A F A M A M A F ; run;
11 Ways to Read Your Data into SAS External data sets (continued) In practice, you will most likely be using Excel or ACCESS files to read into SAS. Use Import wizard, PROC IMPORT, or the infile and input statements. Example: data mydata; infile C:\cristina\Pharm547\dataset.csv dlm =, ; input patid $ age gender $; run;
12 Ways to Read Your Data into SAS (continued) Large data sets obtained from national databases/registries very often come with programs you can use to read in the data to SAS. BRFSS: Can use the following to create a permanent SAS data set: SASOUT11_LLCP.SAS (this program converts the data from ASCII to SAS7DBAT) LLCP2011.ASC (this is the actual data in ASCII format) Formas11.sas (this formats the data and can put labels over the variable names)
13 From a Temporary Data Set to a Permanent Data Set All of the previous examples, except BRFSS, created temporary data sets (will not exist after closing SAS). Create a permanent data set for BP_Example which will be stored in the directory you assigned to what you named your library (in this case, sasdata ): data sasdata.bp_example; set bp_example; run;
14 Vice Versa: From a Permanent Data Set to a Temporary Data Set Create a temporary (or working ) dataset for the BRFSS data, which will now exist in the sasdata library as well as in the Work library. data brfss; set sasdata.brfss2001; run;
15 Accessing Your Data in SAS To access temporary data sets, use the DATA step, but omit the library name in the front. SAS stores temporary data sets in the library Work. You can refer to the data set as Work.dataset, but by default SAS assumes the Work. -part unless you specify differently, so you don t have to add it.
16 Accessing Your Data in SAS Examples: data brfss2; set brfss; run; (continued) SAS is thinking of it like: data work.brfss2; set work.brfss; run;
17 The DATA Step All DATA steps use the following syntax: data <new dataset name>; set <dataset name>; run; NOTE: Every statement ends with a ;. Every step ends with a run;.
18 Things You Can Do with the Create new variables. DATA Step Change the variable type. e.g., from numeric to character or vice versa. Drop, keep, rename variables. Output to a new temporary or permanent data step. Format the data.
19 The PROC Step DATA steps are used to read and modify data whereas PROC steps are used to analyze data. All PROC steps use the following syntax: proc <procname> data = <dataset> run;
20 Commonly Used PROC Steps CONTENT lists the contents of your data set, such as all the variables, whether they are character, numeric, their assigned formats, etc. SORT sorts your data by the variable(s) that you specify. SUMMARY provides basic summary statistics for your data, such as n, means, standard deviations, etc.
21 Commonly Used PROC Steps (continued) FREQ create counts of categorical variables with specific features and contingency tables (2x2 or greater). Also calculated associated statistics (e.g., chi-square). MEANS calculate means, CIs, etc. of continuous variables and associated statistics. TTEST conduct a two-sample t-test between two continuous variables. REG perform simple or multiple linear regression.
22 Many PROCS Use the Following Statements by perform commands by certain groups, such as calculate the mean age by gender. class lets SAS know to treat a variable in the class statement as a categorical variable. var tells SAS on which variables to perform requested calculations. output can output the working data set that SAS creates in the background that may contain calculations of interest.
23 More about the PROC Steps There are many specific statements for each PROC step they are not all the same nor are the always consistent. Don t forget that each statement must end with a semicolon.
24 Outputting Permanent Data Sets You may want to create a new permanent data set from your original. For example, you may want a subset of variables from the BRFSS data set for your project. You can use the DATA step: data sasdata.mydata; set mydata; run;
25 Outputting Permanent Data Sets (continued) Use PROC EXPORT (similar to PROC IMPORT). Use the Export Wizard in the drop-down menu under file. NOTE: The DATA step only outputs a SAS data set (in the way I ve shown you). PROC EXPORT or the Export Wizard can output to just about any file type.
26 A Few More Things about SAS before You Jump in SAS Help is your friend!! Access by either clicking on the book with the question mark or on the Help link and selecting SAS Help and Documentation.
27 A Few More Things about SAS before You Jump in (continued) The documentation contains almost everything (and often more) that you may want to know, such as all the statements and syntax particular to a given PROC. It also provides detailed discussions about the statistical procedures it uses and how they are implemented. A plethora of information, may be a bit terse for some.
28 Good SAS Resources UCLA s Statistical Computing website: Delwiche & Slaughter, The Little SAS Book: A Primer, 5 th Ed. (2012). Cody & Smith, Applied Statistics and the SAS Programming Language, 5 th Ed. (2005). The internet!
29 Now you are ready to program!
Stat 302 Statistical Software and Its Applications SAS: Data I/O
Stat 302 Statistical Software and Its Applications SAS: Data I/O Yen-Chi Chen Department of Statistics, University of Washington Autumn 2016 1 / 33 Getting Data Files Get the following data sets from the
More informationST Lab 1 - The basics of SAS
ST 512 - Lab 1 - The basics of SAS What is SAS? SAS is a programming language based in C. For the most part SAS works in procedures called proc s. For instance, to do a correlation analysis there is proc
More informationLevel I: Getting comfortable with my data in SAS. Descriptive Statistics
Level I: Getting comfortable with my data in SAS. Descriptive Statistics Quick Review of reading Data into SAS Preparing Data 1. Variable names in the first row make sure they are appropriate for the statistical
More informationINTRODUCTION TO SAS STAT 525 FALL 2013
INTRODUCTION TO SAS STAT 525 FALL 2013 Statistical analyses, in practice, are always carried out by computer software In this class, I will focus on the use of SAS to perform these analyses, specifically
More informationSAS Training Spring 2006
SAS Training Spring 2006 Coxe/Maner/Aiken Introduction to SAS: This is what SAS looks like when you first open it: There is a Log window on top; this will let you know what SAS is doing and if SAS encountered
More informationDSCI 325: Handout 2 Getting Data into SAS Spring 2017
DSCI 325: Handout 2 Getting Data into SAS Spring 2017 Data sets come in many different formats. In some situations, data sets are stored on paper (e.g., surveys) and other times data are stored in huge
More informationSAS PROGRAMMING AND APPLICATIONS (STAT 5110/6110): FALL 2015 Module 2
SAS PROGRAMMING AND APPLICATIONS (STAT 5110/6110): FALL 2015 Department of MathemaGcs and StaGsGcs Phone: 4-3620 Office: Parker 364- A E- mail: carpedm@auburn.edu Web: hup://www.auburn.edu/~carpedm/stat6110
More informationReading data in SAS and Descriptive Statistics
P8130 Recitation 1: Reading data in SAS and Descriptive Statistics Zilan Chai Sep. 18 th /20 th 2017 Outline Intro to SAS (windows, basic rules) Getting Data into SAS Descriptive Statistics SAS Windows
More informationStat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics
Stat 302 Statistical Software and Its Applications SAS: Data I/O & Descriptive Statistics Fritz Scholz Department of Statistics, University of Washington Winter Quarter 2015 February 19, 2015 2 Getting
More informationSTAT 7000: Experimental Statistics I
STAT 7000: Experimental Statistics I 2. A Short SAS Tutorial Peng Zeng Department of Mathematics and Statistics Auburn University Fall 2009 Peng Zeng (Auburn University) STAT 7000 Lecture Notes Fall 2009
More informationPHPM 672/677 Lab #2: Variables & Conditionals Due date: Submit by 11:59pm Monday 2/5 with Assignment 2
PHPM 672/677 Lab #2: Variables & Conditionals Due date: Submit by 11:59pm Monday 2/5 with Assignment 2 Overview Most assignments will have a companion lab to help you learn the task and should cover similar
More informationChapter 2: Getting Data Into SAS
Chapter 2: Getting Data Into SAS Data stored in many different forms/formats. Four categories of ways to read in data. 1. Entering data directly through keyboard 2. Creating SAS data sets from raw data
More informationSAS 101. Based on Learning SAS by Example: A Programmer s Guide Chapter 21, 22, & 23. By Tasha Chapman, Oregon Health Authority
SAS 101 Based on Learning SAS by Example: A Programmer s Guide Chapter 21, 22, & 23 By Tasha Chapman, Oregon Health Authority Topics covered All the leftovers! Infile options Missover LRECL=/Pad/Truncover
More informationA Step by Step Guide to Learning SAS
A Step by Step Guide to Learning SAS 1 Objective Familiarize yourselves with the SAS programming environment and language. Learn how to create and manipulate data sets in SAS and how to use existing data
More informationYou will learn: The structure of the Stata interface How to open files in Stata How to modify variable and value labels How to manipulate variables
Jennie Murack You will learn: The structure of the Stata interface How to open files in Stata How to modify variable and value labels How to manipulate variables How to conduct basic descriptive statistics
More informationIntroduction to SAS. I. Understanding the basics In this section, we introduce a few basic but very helpful commands.
Center for Teaching, Research and Learning Research Support Group American University, Washington, D.C. Hurst Hall 203 rsg@american.edu (202) 885-3862 Introduction to SAS Workshop Objective This workshop
More informationDr. Barbara Morgan Quantitative Methods
Dr. Barbara Morgan Quantitative Methods 195.650 Basic Stata This is a brief guide to using the most basic operations in Stata. Stata also has an on-line tutorial. At the initial prompt type tutorial. In
More informationApril 4, SAS General Introduction
PP 105 Spring 01-02 April 4, 2002 SAS General Introduction TA: Kanda Naknoi kanda@stanford.edu Stanford University provides UNIX computing resources for its academic community on the Leland Systems, which
More informationWriting Programs in SAS Data I/O in SAS
Writing Programs in SAS Data I/O in SAS Statistics 135 Autumn 2005 Copyright c 2005 by Mark E. Irwin Writing SAS Programs Your SAS programs can be written in any text editor, though you will often want
More informationAdvanced Regression Analysis Autumn Stata 6.0 For Dummies
Advanced Regression Analysis Autumn 2000 Stata 6.0 For Dummies Stata 6.0 is the statistical software package we ll be using for much of this course. Stata has a number of advantages over other currently
More informationIntroduction to SAS. Hsueh-Sheng Wu. Center for Family and Demographic Research. November 1, 2010
Introduction to SAS Hsueh-Sheng Wu Center for Family and Demographic Research November 1, 2010 1 Outline What is SAS? Things you need to know before using SAS SAS user interface Using SAS to manage data
More informationUsing an ICPSR set-up file to create a SAS dataset
Using an ICPSR set-up file to create a SAS dataset Name library and raw data files. From the Start menu, launch SAS, and in the Editor program, write the codes to create and name a folder in the SAS permanent
More informationLab #3: Probability, Simulations, Distributions:
Lab #3: Probability, Simulations, Distributions: A. Objectives: 1. Reading from an external file 2. Create contingency table 3. Simulate a probability distribution 4. The Uniform Distribution Reading from
More informationChapter 2 The SAS Environment
Chapter 2 The SAS Environment Abstract In this chapter, we begin to become familiar with the basic SAS working environment. We introduce the basic 3-screen layout, how to navigate the SAS Explorer window,
More informationSAS Display Manager Windows. For Windows
SAS Display Manager Windows For Windows Computers with SAS software SSCC Windows Terminal Servers (Winstat) Linux Servers (linstat) Lab computers DoIT Info Labs (as of June 2014) In all Labs with Windows
More informationEpidemiology Principles of Biostatistics Chapter 3. Introduction to SAS. John Koval
Epidemiology 9509 Principles of Biostatistics Chapter 3 John Koval Department of Epidemiology and Biostatistics University of Western Ontario What we will do today We will learn to use use SAS to 1. read
More informationDSCI 325: Handout 10 Summarizing Numerical and Categorical Data in SAS Spring 2017
DSCI 325: Handout 10 Summarizing Numerical and Categorical Data in SAS Spring 2017 USING PROC MEANS The routine PROC MEANS can be used to obtain limited summaries for numerical variables (e.g., the mean,
More informationData-Analysis Exercise Fitting and Extending the Discrete-Time Survival Analysis Model (ALDA, Chapters 11 & 12, pp )
Applied Longitudinal Data Analysis Page 1 Data-Analysis Exercise Fitting and Extending the Discrete-Time Survival Analysis Model (ALDA, Chapters 11 & 12, pp. 357-467) Purpose of the Exercise This data-analytic
More informationIntroductory Guide to SAS:
Introductory Guide to SAS: For UVM Statistics Students By Richard Single Contents 1 Introduction and Preliminaries 2 2 Reading in Data: The DATA Step 2 2.1 The DATA Statement............................................
More information2. Don t forget semicolons and RUN statements The two most common programming errors.
Randy s SAS hints March 7, 2013 1. Always begin your programs with internal documentation. * ***************** * Program =test1, Randy Ellis, March 8, 2013 ***************; 2. Don t forget semicolons and
More informationECLT 5810 SAS Programming - Introduction
ECLT 5810 SAS Programming - Introduction Why SAS? Able to process data set(s). Easy to handle multiple variables. Generate useful basic analysis Summary statistics Graphs Many companies and government
More informationSTA9750 Lecture I OUTLINE 1. WELCOME TO 9750!
STA9750 Lecture I OUTLINE 1. Welcome to STA9750! a. Blackboard b. Tentative syllabus c. Remote access to SAS 2. Introduction to reading data with SAS a. Manual input b. Reading from a text file c. Import
More informationOverview of Data Management Tasks (command file=datamgt.sas)
Overview of Data Management Tasks (command file=datamgt.sas) Create the March data set: To create the March data set, you can read it from the MARCH.DAT raw data file, using a data step, as shown below.
More informationSTAT:5400 Computing in Statistics
STAT:5400 Computing in Statistics Introduction to SAS Lecture 18 Oct 12, 2015 Kate Cowles 374 SH, 335-0727 kate-cowles@uiowaedu SAS SAS is the statistical software package most commonly used in business,
More informationssh tap sas913 sas
Fall 2010, STAT 430 SAS Examples SAS9 ===================== ssh abc@glue.umd.edu tap sas913 sas https://www.statlab.umd.edu/sasdoc/sashtml/onldoc.htm a. Reading external files using INFILE and INPUT (Ch
More informationSTATA 13 INTRODUCTION
STATA 13 INTRODUCTION Catherine McGowan & Elaine Williamson LONDON SCHOOL OF HYGIENE & TROPICAL MEDICINE DECEMBER 2013 0 CONTENTS INTRODUCTION... 1 Versions of STATA... 1 OPENING STATA... 1 THE STATA
More informationIntermediate SAS: Working with Data
Intermediate SAS: Working with Data OIT Technical Support Services 293-4444 oithelp@mail.wvu.edu oit.wvu.edu/training/classmat/sas/ Table of Contents Getting set up for the Intermediate SAS workshop:...
More informationThe SAS interface is shown in the following screen shot:
The SAS interface is shown in the following screen shot: There are several items of importance shown in the screen shot First there are the usual main menu items, such as File, Edit, etc I seldom use anything
More informationChapter 6: Modifying and Combining Data Sets
Chapter 6: Modifying and Combining Data Sets The SET statement is a powerful statement in the DATA step. Its main use is to read in a previously created SAS data set which can be modified and saved as
More informationIntroduction to SAS: General
Spring 2019 CJ Anderson Introduction to SAS: General Go to course web-site and click on hsb-datasas There are 5 main working environments (windows) in SAS: Explorer window: Lets you view data in SAS data
More informationLecture 1 Getting Started with SAS
SAS for Data Management, Analysis, and Reporting Lecture 1 Getting Started with SAS Portions reproduced with permission of SAS Institute Inc., Cary, NC, USA Goals of the course To provide skills required
More informationIntroduction to SAS Statistical Package
Instructor: Introduction to SAS Statistical Package Biostatistics 140.632 Lecture 1 Lucy Meoni lmeoni@jhmi.edu Teaching Assistant : Sorina Eftim seftim@jhsph.edu Lecture/Lab: Room 3017 WEB site: www.biostat.jhsph.edu/bstcourse/bio632/default.htm
More informationGETTING DATA INTO THE PROGRAM
GETTING DATA INTO THE PROGRAM 1. Have a Stata dta dataset. Go to File then Open. OR Type use pathname in the command line. 2. Using a SAS or SPSS dataset. Use Stat Transfer. (Note: do not become dependent
More informationTYPES OF VARIABLES, STRUCTURE OF DATASETS, AND BASIC STATA LAYOUT
PRIMER FOR ACS OUTCOMES RESEARCH COURSE: TYPES OF VARIABLES, STRUCTURE OF DATASETS, AND BASIC STATA LAYOUT STEP 1: Install STATA statistical software. STEP 2: Read through this primer and complete the
More informationContents of SAS Programming Techniques
Contents of SAS Programming Techniques Chapter 1 About SAS 1.1 Introduction 1.1.1 SAS modules 1.1.2 SAS module classification 1.1.3 SAS features 1.1.4 Three levels of SAS techniques 1.1.5 Chapter goal
More informationThe Ins and Outs of %IF
Paper 1135-2017 The Ins and Outs of %IF M. Michelle Buchecker, ThotWave Technologies, LLC. ABSTRACT Have you ever had your macro code not work and you couldn't figure out why? Even something as simple
More informationApplied Regression Modeling: A Business Approach
i Applied Regression Modeling: A Business Approach Computer software help: SAS code SAS (originally Statistical Analysis Software) is a commercial statistical software package based on a powerful programming
More informationSurviving SPSS.
Surviving SPSS http://dataservices.gmu.edu/workshops/spss http://dataservices.gmu.edu/software/spss Debby Kermer George Mason University Libraries Data Services Research Consultant Mason Data Services
More informationIntroduction to Stata - Session 2
Introduction to Stata - Session 2 Siv-Elisabeth Skjelbred ECON 3150/4150, UiO January 26, 2016 1 / 29 Before we start Download auto.dta, auto.csv from course home page and save to your stata course folder.
More informationWhat you learned so far. Loops & Arrays efficiency for statements while statements. Assignment Plan. Required Reading. Objective 2/3/2018
Loops & Arrays efficiency for statements while statements Hye-Chung Kum Population Informatics Research Group http://pinformatics.org/ License: Data Science in the Health Domain by Hye-Chung Kum is licensed
More informationR in Linguistic Analysis. Week 2 Wassink Autumn 2012
R in Linguistic Analysis Week 2 Wassink Autumn 2012 Today R fundamentals The anatomy of an R help file but first... How did you go about learning the R functions in the reading? More help learning functions
More informationAn Introduction to R- Programming
An Introduction to R- Programming Hadeel Alkofide, Msc, PhD NOT a biostatistician or R expert just simply an R user Some slides were adapted from lectures by Angie Mae Rodday MSc, PhD at Tufts University
More informationI L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN
SAS for HLM Edps/Psych/Stat/ 587 Carolyn J. Anderson Department of Educational Psychology I L L I N O I S UNIVERSITY OF ILLINOIS AT URBANA-CHAMPAIGN SAS for HLM Slide 1 of 16 Outline SAS & (for Random
More informationProducing Summary Tables in SAS Enterprise Guide
Producing Summary Tables in SAS Enterprise Guide Lora D. Delwiche, University of California, Davis, CA Susan J. Slaughter, Avocet Solutions, Davis, CA ABSTRACT This paper shows, step-by-step, how to use
More informationIPUMS Training and Development: Requesting Data
IPUMS Training and Development: Requesting Data IPUMS PMA Exercise 2 OBJECTIVE: Gain an understanding of how IPUMS PMA service delivery point datasets are structured and how it can be leveraged to explore
More informationBeginning Tutorials. PROC FSEDIT NEW=newfilename LIKE=oldfilename; Fig. 4 - Specifying a WHERE Clause in FSEDIT. Data Editing
Mouse Clicking Your Way Viewing and Manipulating Data with Version 8 of the SAS System Terry Fain, RAND, Santa Monica, California Cyndie Gareleck, RAND, Santa Monica, California ABSTRACT Version 8 of the
More informationAccessing Data and Creating Data Structures. SAS Global Certification Webinar Series
Accessing Data and Creating Data Structures SAS Global Certification Webinar Series Accessing Data and Creating Data Structures Becky Gray Certification Exam Developer SAS Global Certification Michele
More information1. Basic Steps for Data Analysis Data Editor. 2.4.To create a new SPSS file
1 SPSS Guide 2009 Content 1. Basic Steps for Data Analysis. 3 2. Data Editor. 2.4.To create a new SPSS file 3 4 3. Data Analysis/ Frequencies. 5 4. Recoding the variable into classes.. 5 5. Data Analysis/
More information3. Almost always use system options options compress =yes nocenter; /* mostly use */ options ps=9999 ls=200;
Randy s SAS hints, updated Feb 6, 2014 1. Always begin your programs with internal documentation. * ***************** * Program =test1, Randy Ellis, first version: March 8, 2013 ***************; 2. Don
More informationSAS Data Libraries. Definition CHAPTER 26
385 CHAPTER 26 SAS Data Libraries Definition 385 Library Engines 387 Library Names 388 Physical Names and Logical Names (Librefs) 388 Assigning Librefs 388 Associating and Clearing Logical Names (Librefs)
More informationSAS Studio: A New Way to Program in SAS
SAS Studio: A New Way to Program in SAS Lora D Delwiche, Winters, CA Susan J Slaughter, Avocet Solutions, Davis, CA ABSTRACT SAS Studio is an important new interface for SAS, designed for both traditional
More informationSAS Enterprise Guide. Kathleen Nosal Yarmouth Greenway Drive Madison, WI (608)
SAS Enterprise Guide Kathleen Nosal 2997 Yarmouth Greenway Drive Madison, WI 53711 (608) 278-9964 www.sys-seminar.com 1 Overview What is Enterprise Guide? Top five reasons you want to learn more about
More informationCMU MSP : SAS FORMATs and INFORMATs Howard Seltman Nov. 7+12, 2018
CMU MSP 36-601: SAS FORMATs and INFORMATs Howard Seltman Nov. 7+12, 2018 1) Formats and informats flexibly re-represent data in a data set on input or output. Common uses include reading and writing dates,
More informationIntroductory SAS example
Introductory SAS example STAT:5201 1 Introduction SAS is a command-driven statistical package; you enter statements in SAS s language, submit them to SAS, and get output. A fairly friendly user interface
More informationIntroduction to STATA
Introduction to STATA Duah Dwomoh, MPhil School of Public Health, University of Ghana, Accra July 2016 International Workshop on Impact Evaluation of Population, Health and Nutrition Programs Learning
More informationSAS Online Training: Course contents: Agenda:
SAS Online Training: Course contents: Agenda: (1) Base SAS (6) Clinical SAS Online Training with Real time Projects (2) Advance SAS (7) Financial SAS Training Real time Projects (3) SQL (8) CV preparation
More informationIntroduction to the SAS System
Introduction to the SAS System The SAS Environment The SAS Environment The SAS Environment has five main windows The SAS Environment The Program Editor The SAS Environment The Log: Notes, Warnings and
More informationSAS and Data Management Kim Magee. Department of Biostatistics College of Public Health
SAS and Data Management Kim Magee Department of Biostatistics College of Public Health Review of Previous Material Review INFILE statement data bp; infile c:\sas\bp.csv dlm=, ; input clinic $ dbp1 sbp1
More informationAn Everyday Guide to Version 7 of the SAS System
An Everyday Guide to Version 7 of the SAS System Susan J. Slaughter, Independent Consultant, Davis, CA Lora D. Delwiche, IT/ANSA, University of California, Davis, CA What is an everyday guide? Version
More informationAn Introduction to Stata Part I: Data Management
An Introduction to Stata Part I: Data Management Kerry L. Papps 1. Overview These two classes aim to give you the necessary skills to get started using Stata for empirical research. The first class will
More informationSTAT 3304/5304 Introduction to Statistical Computing. Introduction to SAS
STAT 3304/5304 Introduction to Statistical Computing Introduction to SAS What is SAS? SAS (originally an acronym for Statistical Analysis System, now it is not an acronym for anything) is a program designed
More informationBASICS BEFORE STARTING SAS DATAWAREHOSING Concepts What is ETL ETL Concepts What is OLAP SAS. What is SAS History of SAS Modules available SAS
SAS COURSE CONTENT Course Duration - 40hrs BASICS BEFORE STARTING SAS DATAWAREHOSING Concepts What is ETL ETL Concepts What is OLAP SAS What is SAS History of SAS Modules available SAS GETTING STARTED
More informationINTRODUCTION TO SPSS. Anne Schad Bergsaker 13. September 2018
INTRODUCTION TO SPSS Anne Schad Bergsaker 13. September 2018 BEFORE WE BEGIN... LEARNING GOALS 1. Be familiar with and know how to navigate between the different windows in SPSS 2. Know how to write a
More informationMethods for Estimating Change from NSCAW I and NSCAW II
Methods for Estimating Change from NSCAW I and NSCAW II Paul Biemer Sara Wheeless Keith Smith RTI International is a trade name of Research Triangle Institute 1 Course Outline Review of NSCAW I and NSCAW
More informationPaper S Data Presentation 101: An Analyst s Perspective
Paper S1-12-2013 Data Presentation 101: An Analyst s Perspective Deanna Chyn, University of Michigan, Ann Arbor, MI Anca Tilea, University of Michigan, Ann Arbor, MI ABSTRACT You are done with the tedious
More informationIntroduction to Stata: An In-class Tutorial
Introduction to Stata: An I. The Basics - Stata is a command-driven statistical software program. In other words, you type in a command, and Stata executes it. You can use the drop-down menus to avoid
More informationIntroduction to Statistical Analyses in SAS
Introduction to Statistical Analyses in SAS Programming Workshop Presented by the Applied Statistics Lab Sarah Janse April 5, 2017 1 Introduction Today we will go over some basic statistical analyses in
More informationIBMSPSSSTATL1P: IBM SPSS Statistics Level 1
SPSS IBMSPSSSTATL1P IBMSPSSSTATL1P: IBM SPSS Statistics Level 1 Version: 4.4 QUESTION NO: 1 Which statement concerning IBM SPSS Statistics application windows is correct? A. At least one Data Editor window
More informationRevision of Stata basics in STATA 11:
Revision of Stata basics in STATA 11: April, 2016 Dr. Selim Raihan Executive Director, SANEM Professor, Department of Economics, University of Dhaka Contents a) Resources b) Stata 11 Interface c) Datasets
More informationEpidemiologic Analysis Using R
Epidemiologic Analysis Using R abstract orientation Charles DiMaggio and Steve Mooney Epidemiologic Analysis Using R Summer 2015 How to work with R In my experience, data analysis is usually an iterative
More informationIf You Need These OBS and These VARS, Then Drop IF, and Keep WHERE Jay Iyengar, Data Systems Consultants LLC
Paper 2417-2018 If You Need These OBS and These VARS, Then Drop IF, and Keep WHERE Jay Iyengar, Data Systems Consultants LLC ABSTRACT Reading data effectively in the DATA step requires knowing the implications
More informationSAS Programming Basics
SAS Programming Basics SAS Programs SAS Programs consist of three major components: Global statements Procedures Data steps SAS Programs Global Statements Procedures Data Step Notes Data steps and procedures
More informationPlease login. Procedures for Data Insight. overview. Take a seat at one of the work stations Login with your HawkID Locate SAS 9.3 in the Start Menu
Please login Take a seat at one of the work stations Login with your HawkID Locate SAS 9.3 in the Start Menu Start / All Programs / SAS / SAS 9.3 (English) Make SAS go Raise your hand if you need assistance
More informationIntroduction to STATA 6.0 ECONOMICS 626
Introduction to STATA 6.0 ECONOMICS 626 Bill Evans Fall 2001 This handout gives a very brief introduction to STATA 6.0 on the Economics Department Network. In a few short years, STATA has become one of
More informationDynamic Projects in SAS Enterprise Guide How to Create and Use Parameters
Paper HW02 Dynamic Projects in SAS Enterprise Guide How to Create and Use Parameters Susan J. Slaughter, Avocet Solutions, Davis, CA Lora D. Delwiche, University of California, Davis, CA ABSTRACT SAS Enterprise
More informationDebugging 101 Peter Knapp U.S. Department of Commerce
Debugging 101 Peter Knapp U.S. Department of Commerce Overview The aim of this paper is to show a beginning user of SAS how to debug SAS programs. New users often review their logs only for syntax errors
More informationIntermediate SAS: Statistics
Intermediate SAS: Statistics OIT TSS 293-4444 oithelp@mail.wvu.edu oit.wvu.edu/training/classmat/sas/ Table of Contents Procedures... 2 Two-sample t-test:... 2 Paired differences t-test:... 2 Chi Square
More informationIntroduction to SAS and Stata: Data Construction. Hsueh-Sheng Wu CFDR Workshop Series February 2, 2015
Introduction to SAS and Stata: Data Construction Hsueh-Sheng Wu CFDR Workshop Series February 2, 2015 1 What are data? Outline The interface of SAS and Stata Important differences between SAS and Stata
More informationA QUICK INTRODUCTION TO STATA
A QUICK INTRODUCTION TO STATA This module provides a quick introduction to STATA. After completing this module you will be able to input data, save data, transform data, create basic tables, create basic
More informationWorking with Data in Windows and Descriptive Statistics
Working with Data in Windows and Descriptive Statistics HRP223 Topic 2 October 3 rd, 2012 Copyright 1999-2012 Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected
More informationUsing SAS Macros to Extract P-values from PROC FREQ
SESUG 2016 ABSTRACT Paper CC-232 Using SAS Macros to Extract P-values from PROC FREQ Rachel Straney, University of Central Florida This paper shows how to leverage the SAS Macro Facility with PROC FREQ
More informationFor many people, learning any new computer software can be an anxietyproducing
1 Getting to Know Stata 12 For many people, learning any new computer software can be an anxietyproducing task. When that computer program involves statistics, the stress level generally increases exponentially.
More informationChapter 1 Introduction to using R with Mind on Statistics
Chapter 1 Introduction to using R with Mind on Statistics Manual overview The purpose of this manual is to help you learn how to use the free R software to perform the graphs, simulations, and data analyses
More informationSAS Macro Programming for Beginners
ABSTRACT SAS Macro Programming for Beginners Lora D. Delwiche, Winters, CA Susan J. Slaughter, Avocet Solutions, Davis, CA Macro programming is generally considered an advanced topic. But, while macros
More informationIntroduction to R. Andy Grogan-Kaylor October 22, Contents
Introduction to R Andy Grogan-Kaylor October 22, 2018 Contents 1 Background 2 2 Introduction 2 3 Base R and Libraries 3 4 Working Directory 3 5 Writing R Code or Script 4 6 Graphical User Interface 4 7
More informationDSCI 325: Handout 3 Creating and Redefining Variable in SAS Spring 2017
DSCI 325: Handout 3 Creating and Redefining Variable in SAS Spring 2017 Content Source: The Little SAS Book, Chapter 3, by L. Delwiche and S. Slaughter. CREATING NEW VARIABLES OR REDEFINING VARIABLES In
More informationA Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA
A Guided Tour Through the SAS Windowing Environment Casey Cantrell, Clarion Consulting, Los Angeles, CA ABSTRACT The SAS system running in the Microsoft Windows environment contains a multitude of tools
More informationNote on homework for SAS date formats
Note on homework for SAS date formats I m getting error messages using the format MMDDYY10D. even though this is listed on websites for SAS date formats. Instead, MMDDYY10 and similar (without the D seems
More informationSAS Programs SAS Lecture 4 Procedures. Aidan McDermott, April 18, Outline. Internal SAS formats. SAS Formats
SAS Programs SAS Lecture 4 Procedures Aidan McDermott, April 18, 2006 A SAS program is in an imperative language consisting of statements. Each statement ends in a semi-colon. Programs consist of (at least)
More informationUsing SAS Files CHAPTER 3
55 CHAPTER 3 Using SAS Files Introduction to SAS Files 56 What Is a SAS File? 56 Types of SAS Files 57 Using Short or Long File Extensions in SAS Libraries 58 SAS Data Sets (Member Type: Data or View)
More information