SAS: The last of the great mainframe stats packages STA431 Winter/Spring 2013.

Slides:



Advertisements
Similar presentations
Statistical Software Packages: How do I get this into that? Gillian Byrne Memorial University of Newfoundland Atlantic DLI Training - April 23, 2004.
Advertisements

Data Analysis using SPSS By Dr. Shaik Shaffi Ahamed Ph. D
The SAS ® System Additional Information on Statistical Analysis Programming.
The INFILE Statement Reading files into SAS from an outside source: A Very Useful Tool!
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
Introduction to Regression with Measurement Error STA431: Spring 2015.
Exploratory Factor Analysis
Introduction to SAS Programming Christina L. Ughrin Statistical Software Consulting Some notes pulled from SAS Programming I: Essentials Training.
1 Appendix A: Writing and Submitting SAS ® Programs A.1 Writing and Submitting SAS Programs.
Logistic Regression STA302 F 2014 See last slide for copyright information 1.
Today: Run SAS programs on Saturn (UNIX tutorial) Runs SAS programs on the PC.
Biostatistical Methods II PubH 6415 Spring PubH 6415 – Biostatistics I Instructor: Susan Telke (office hours: lecture.
Welcome to the Exciting World of ! Lessons to familiarize yourself with.
Introduction Copyright © Software Carpentry 2010 This work is licensed under the Creative Commons Attribution License See
Introduction to SAS Essentials Mastering SAS for Data Analytics
Creating SAS® Data Sets
SoftwareTools CGS 3460, Lecture 7 Jan 25, 2006 Zhen Yang.
Copyright © 2006, SAS Institute Inc. All rights reserved. Enterprise Guide 4.2 : A Primer SHRUG : Spring 2010 Presented by: Josée Ranger-Lacroix SAS Institute.
Double Measurement Regression STA431: Spring 2013.
SAS Workshop Lecture 1 Lecturer: Annie N. Simpson, MSc.
SAS: The last of the great mainframe stats packages STA431 Winter/Spring 2015.
Introduction to Regression with Measurement Error STA302: Fall/Winter 2013.
Introduction to SAS BIO 226 – Spring Outline Windows and common rules Getting the data –The PRINT and CONTENT Procedures Manipulating the data.
A Brief Introduction to Stata(1). 1. Getting Started.
Introduction to SAS. What is SAS? SAS originally stood for “Statistical Analysis System”. SAS is a computer software system that provides all the tools.
Math 3400 Computer Applications of Statistics Lecture 1 Introduction and SAS Overview.
SAS 介绍和举例 Presented by 经济实验教学中心 商务数据挖掘中心. Raw Data Read in Data Process Data (Create new variables) Output Data (Create SAS Dataset) Analyze Data Using.
BMTRY 789 Introduction to SAS Programming Lecturer: Annie N. Simpson, MSc.
Factorial ANOVA More than one categorical explanatory variable STA305 Spring 2014.
Introduction to Engineering MATLAB – 6 Script Files - 1 Agenda Script files.
Logistic Regression STA2101/442 F 2014 See last slide for copyright information.
Knowing Understanding the Basics Writing your own code SAS Lab.
Bringing Data into SAS From Menu: –File –Import Data –Spreadsheet example first Pick file by browsing Select Library and Member (we will talk about this.
Chapter 1: Introduction to SAS  SAS programs: A sequence of statements in a particular order  Rules for SAS statements: –Every SAS statement ends in.
Social Science Research Design and Statistics, 2/e Alfred P. Rovai, Jason D. Baker, and Michael K. Ponton Entering Data Manually PowerPoint Prepared by.
Getting Started with MATLAB 1. Fundamentals of MATLAB 2. Different Windows of MATLAB 1.
10/24/20151 Chapter 2 Review: MATLAB Environment Introduction to MATLAB 7 Engineering 161.
ISU Basic SAS commands Laboratory No. 1 Computer Techniques for Biological Research Animal Science 500 Ken Stalder, Professor Department of Animal Science.
Outline Comparison of Excel and R R Coding Example – RStudio Environment – Getting Help – Enter Data – Calculate Mean – Basic Plots – Save a Coding Script.
Laboratory 1. Introduction to SAS u Statistical Analysis System u Package for –data entry –data manipulation –data storage –data analysis –reporting.
DOS and the Command Line CS 21a: Introduction to Computing I Department of Information Systems and Computer Science Ateneo de Manila University.
SPSS- Tutorial The following power-point slides show you how to use some of the features in SPSS. A survey of 20 randomly selected companies asked them.
Categorical Independent Variables STA302 Fall 2013.
Analysis Introduction Data files, SPSS, and Survey Statistics.
STA302: Regression Analysis. Statistics Objective: To draw reasonable conclusions from noisy numerical data Entry point: Study relationships between variables.
8/30/2012Copyright Joanne DeGroat, ECE, OSU1 Using ModelSim under LINUX.
Chapter 1: Overview of SAS System Basic Concepts of SAS System.
Computing with SAS Software A SAS program consists of SAS statements. 1. The DATA step consists of SAS statements that define your data and create a SAS.
Categorical Independent Variables STA302 Fall 2015.
STA302: Regression Analysis. Statistics Objective: To draw reasonable conclusions from noisy numerical data Entry point: Study relationships between variables.
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
Lesson 2 Topic - Reading in data Programs 1 and 2 in course notes –Chapter 2 (Little SAS Book)
The Sample Variation Method A way to select sample size This slide show is a free open source document. See the last slide for copyright information.
Logistic Regression For a binary response variable: 1=Yes, 0=No This slide show is a free open source document. See the last slide for copyright information.
1 EPIB 698C Lecture 1 Instructor: Raul Cruz-Cano
SAS Programming Training Instructor:Greg Grandits TA: Textbooks:The Little SAS Book, 5th Edition Applied Statistics and the SAS Programming Language, 5.
Linux CSE 1222 CSE1222: Lecture 1BThe Ohio State University1.
Print the sample banner slides or customize with your own message. Click on the letter and type your own text. Use one character per slide. C.
SAS: The last of the great mainframe stats packages
Exploratory Factor Analysis
Poisson Regression STA 2101/442 Fall 2017
How to add the packages for printing decision trees
Logistic Regression Part One
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
SAS Programming Introduction to SAS.
Multinomial Logit Models
Introduction to SAS A SAS program is a list of SAS statements executed in order Every SAS statement ends with a semicolon! SAS statements can be in caps.
Code is on the Website Outline Comparison of Excel and R
Using SPSS Note: The use of another statistical package such as Minitab is similar to using SPSS.
Presentation transcript:

SAS: The last of the great mainframe stats packages STA431 Winter/Spring 2013

It almost seemed like there was one for every major university DATATEXT: Harvard SPSS: University of Chicago BMDP: University of California at Los Angeles SAS: University of North Carolina at Chapel Hill OMNITAB: Pennsylvania State University

SAS File Types Include Raw data file Program file Log file List file Data set Library

Four Plain Text files Raw Data File: A file consisting of rows and columns of numbers; or maybe some of the columns have letters (character data) instead of numbers. The rows represent observations and the columns represent variables. Program File: A file consisting of commands that the SAS software tries to follow. You create this file with a text editor like emacs. The command file contains a reference to the raw data file (in the infile statement), so SAS knows where to find the data. Program files have names like reading1.sas. Log File: This file is produced by every SAS run, whether it is successful of unsuccessful. It contains a listing of the command file, as well any error messages or warnings. The name of the log file is automatically generated by SAS; it combines the first part of the command file's name with the extension.log. So for example, when SAS executes the commands in reading1.sas, it writes a log file named reading1.log. List File: The list file contains the output of the statistical procedures requested by the command file. The list file has the extension.lst --- so, for example, running SAS on the command file reading1.sas will (if there are no errors) produce reading1.lst as well as reading1.log.

Work Flow Obtain or create the raw data file. It will be a plain text file or Excel spreadsheet in your (working) unix directory. If it’s a text file, it must have unix line breaks. Open 2 unix windows. Arrange your desktop so you can click back and forth. In one window, emacs hw8.sas. Type in your program or edit the existing program. In the other window at the unix prompt 1.sas hw8 and go to Step 2. 2.less hw8.log a)If no errors or warnings, less hw8.lst. If you are not satisfied, click on the emacs window and edit the program. Then click on the window with the unix prompt and go to Step 1. b)If errors or warnings, click on the emacs window and edit the program. Then click on the window with the unix prompt and go to Step 1. 3.Transfer the log and list file to a local computer for printing.

Copyright Information This slide show was prepared by Jerry Brunner, Department of Statistics, University of Toronto. It is licensed under a Creative Commons Attribution - ShareAlike 3.0 Unported License. Use any part of it as you like and share the result freely. These Powerpoint slides are available from the course website: