Applied Business Forecasting and Regression Analysis

Slides:



Advertisements
Similar presentations
Functions S S T : S P R E A D S H E E T S SST 5 Spreadsheet 5 Function.
Advertisements

Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
SAS Programming: Working With Variables. Data Step Manipulations New variables should be created during a Data step Existing variables should be manipulated.
Chapter 11 Group Functions
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Quick Data Summaries in SAS Start by bringing in data –Use permanent data set for these examples Proc Tabulate –Produces summaries very quickly and easily.
A Simple Guide to Using SPSS© for Windows
A Guide to SQL, Seventh Edition. Objectives Retrieve data from a database using SQL commands Use compound conditions Use computed columns Use the SQL.
Welcome to SAS…Session..!. What is SAS..! A Complete programming language with report formatting with statistical and mathematical capabilities.
Week 3 Topic - Descriptive Procedures Program 3 in course notes Cody & Smith (Chapter 2)
CS1100: Access Reports Microsoft Access Report Construction Created By Martin Schedlbauer CS11001Microsoft Access.
Chapter 8 Producing Summary Reports. Section 8.1 Introduction to Summary Reports.
SAS PROC REPORT PROC TABULATE
Lecture 5 Sorting, Printing, and Summarizing Your Data.
Chapter 9 Producing Descriptive Statistics PROC MEANS; Summarize descriptive statistics for continuous numeric variables. PROC FREQ; Summarize frequency.
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
USING SAS PROCEDURES SAS System Options OPTIONS Statement
XP 1 Excel Tables Purpose of tables – Process data in a group – Used to facilitate calculations – Used to enhance readability of output Types of tables.
Niraj J. Pandya, Element Technologies Inc., NJ.  Summarize all possible combinations of class level variables even if few categories are altogether missing.
SAS 介绍和举例 Presented by 经济实验教学中心 商务数据挖掘中心. Raw Data Read in Data Process Data (Create new variables) Output Data (Create SAS Dataset) Analyze Data Using.
Summer SAS Workshop Lecture 2. Summer Summer SAS Workshop Lecture 2 I’ve got Data…how do I get started? Libname Review How do you do arithmetic.
1 Filling in the blanks with PROC FREQ Bill Klein Ryerson University.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
XP. Objectives Sort data and filter data Summarize an Excel table Insert subtotals into a range of data Outline buttons to show or hide details Create.
Priya Ramaswami Janssen R&D US. Advantages of PROC REPORT -Very powerful -Perform lists, subsets, statistics, computations, formatting within one procedure.
Chapter 5 Reading and Manipulating SAS ® Data Sets and Creating Detailed Reports Xiaogang Su Department of Statistics University of Central Florida.
Lecture 3 Topic - Descriptive Procedures Programs 3-4 LSB 4:1-4.4; 4:9:4:11; 8:1-8:5; 5:1-5.2.
Chapter 4 concerns various SAS procedures (PROCs). Every PROC operates on: –the most recently created dataset –all the observations –all the appropriate.
Chapter 17: Formatting Data 1 STAT 541 ©Spring 2012 Imelda Go, John Grego, Jennifer Lasecki and the University of South Carolina.
1 EPIB 698C Lecture 4 Raul Cruz-Cano Summer 2012.
1 Statistical Software Programming. STAT 6360 –Statistical Software Programming Sorting, Printing, Summarizing Data Now that we can input data and do.
Lesson 8 - Topics Creating SAS datasets from procedures Using ODS and data steps to make reports Using PROC RANK Programs in course notes LSB 4:11;5:3.
Lesson 12 Spreadsheets Unit 2—Using the Computer.
Data types S S T : S P R E A D S H E E T S SST 2 Spreadsheet 2 Data Types Name: ______________________ Class: ______________________.
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.
Customize SAS Output Using ODS Joan Dong. The Output Delivery System (ODS) gives you greater flexibility in generating, storing, and reproducing SAS procedure.
A Guide to SQL, Eighth Edition Chapter Four Single-Table Queries.
SAS Programming Training Instructor:Greg Grandits TA: Textbooks:The Little SAS Book, 5th Edition Applied Statistics and the SAS Programming Language, 5.
1 Checking Data with the PRINT and FREQ Procedures.
HRP Copyright © Leland Stanford Junior University. All rights reserved. Warning: This presentation is protected by copyright law and.
SAS ® 101 Based on Learning SAS by Example: A Programmer’s Guide Chapters 16 & 17 By Tasha Chapman, Oregon Health Authority.
SAS ® 101 Based on Learning SAS by Example: A Programmer’s Guide Chapters 3 & 4 By Tasha Chapman, Oregon Health Authority.
Session 1 Retrieving Data From a Single Table
Introduction to Spreadsheets
A Guide to SQL, Seventh Edition
Tutorial 5: Working with Excel Tables, PivotTables, and PivotCharts
Analyzing Table Data.
Lesson 3 Overview Descriptive Procedures Controlling SAS Output
QM222 A1 Nov. 27 More tips on writing your projects
Introduction to Spreadsheets 5.00
Instructor: Raul Cruz-Cano
Lesson 8 - Topics Creating SAS datasets from procedures
Tamara Arenovich Tony Panzarella
Chapter 4: Sorting, Printing, Summarizing
Introduction to Spreadsheets
Quick Data Summaries in SAS
4.01 Spreadsheet Formulas & Functions
Using Macros to Solve the Collation Problem
Summarizing Data with Summary Functions
4.01 Spreadsheet Formulas & Functions
Producing Descriptive Statistics
Introduction to SAS Essentials Mastering SAS for Data Analytics
Microsoft Office Illustrated Fundamentals
Introduction to Spreadsheets
Introduction to SAS Essentials Mastering SAS for Data Analytics
Introduction to SAS Essentials Mastering SAS for Data Analytics
Lesson 13 Working with Tables
Finding Statistics from a Grouped frequency table
Presentation transcript:

Applied Business Forecasting and Regression Analysis Generating Reports Lecture 9 Reproduced with permission of SAS Institute INC, Cary, NC, USA

PRINT PROCEDURE The PRINT procedure creates a report of the variables and observations in a SAS data set. You can create a variety of reports ranging from a simple listing to a highly customized report that groups the data and calculates totals and subtotals for numeric variables.

PRINT PROCEDURE

PRINT PROCEDURE

NOOBS Option

NOOBS Option

VAR Statement

WHERE Statement

SUM Statement

BY Statement

SUM and BY Statements

PAGEBY Statement

PAGEBY Statement

LABEL Statement

LABEL Statement

FORMAT Statement

FORMAT Statement

FORMAT Statement

FORMAT Statement

LABEL and FORMAT Statements

TITLE Statement

FOOTNOTE Statement

TITLE and FOOTNOTE Statements

OPTIONS Statement

OPTIONS Statement

The FORMAT Procedure

Naming Convention

Single Values

Ranges

Ranges

Keywords

Formatted Values

Creating and Using Formats

The FREQ Procedure Creating Frequency Tables with the FREQ Procedure. The FREQ procedure produces one-way to n-way frequency tables. By default, the procedure generates one-way frequency tables for all data set variables.

The FREQ Procedure

TABLES Statement TABLES Statement The TABLES statement requests one-way to n-way frequency tables and statistics for those tables.

Two-Way Tables Two-Way Tables An asterisk between two variables produces a two-way table.

Two-Way Tables

CROSSLIST Option The CROSSLIST option displays two-way tables in column format, instead of cell format.

CROSSLIST Option

Statistics Options

NLEVELS Option

The MEANS Procedure Creating Summary Reports with the MEANS Procedure The MEANS procedure computes descriptive statistics for variables across all observations and within groups of observations.

The MEANS Procedure

The MEANS Procedure Statistics By default, the MEANS procedure creates a report with N (number of nonmissing values), MEAN, STDDEV, MIN, and MAX.

The MEANS Procedure In the PROC MEANS statement, you can specify which statistics to compute and the order in which to display them in the output.

MAXDEC= Option The MAXDEC= option in the PROC MEANS statement specifies the maximum number of decimal places to display the statistics in the output.

The MEANS Procedure VAR Statement The VAR statement identifies the analysis variables and specifies their order in the results.

The MEANS Procedure CLASS Statement The CLASS statement specifies one or more variables that the procedure uses to group the data.

The MEANS Procedure CLASS Statement Adding a CLASS statement adds the N Obs column.