Use of PROC TABULATE Out File to Customize Tables

Slides:



Advertisements
Similar presentations
Review of Data Processing Steps MICS3 Data Analysis and Report Writing Workshop.
Advertisements

General Statistics Ch En 475 Unit Operations. Quantifying variables (i.e. answering a question with a number) 1. Directly measure the variable. - referred.
Knowing Understanding the Basics Writing your own code part 2 SAS Lab.
Fuzzy Logic E. Fuzzy Inference Engine. “antecedent” “consequent”
January 6, afternoon session 1 Statistics Micro Mini Multiple Regression January 5-9, 2008 Beth Ayers.
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.
Additional HW Exercise 9.1 (a) A state government official is interested in the prevalence of color blindness among drivers in the state. In a random sample.
Basic And Advanced SAS Programming
ARIES User Group June 2, Today’s Presentation will cover:  Limitations to Ad Hoc report design in ARIES ReportExport  How to merge two ARIES reports.
Chapter Sixteen Starting the Data Analysis Angel Gillis & Winston Jackson Research for Nurses: Research for Nurses: Methods and Interpretation.
Mail merge letters are used to send the same or similar documents to many different people. Since they contain the recipient’s name, address, and other.
1 Experimental Statistics - week 4 Chapter 8: 1-factor ANOVA models Using SAS.
Data Screening & Descriptives. Typical class… Lecture (Theory)
18b. PROC SURVEY Procedures in SAS ®. 1 Prerequisites Recommended modules to complete before viewing this module  1. Introduction to the NLTS2 Training.
A Brief Introduction to PROC TRANSPOSE prepared by Voytek Grus for
SPSS Overview. The opening screen 2 The SPSS windows 3.
S.A.T. Math Testing Tactics Tactic 10: Don’t Do More Than You Have To.
1 Filling in the blanks with PROC FREQ Bill Klein Ryerson University.
Chapter 16: Using Lookup Tables to Match Data 1 STAT 541 ©Spring 2012 Imelda Go, John Grego, Jennifer Lasecki and the University of South Carolina.
Getting Started with Stata 2/11/2010 Tom Tomberlin Nealia Khan Learning Technologies Center Harvard Graduate School of Education.
5.3 – Solving Multi-Step Inequalities. *Just like solving equations*
Lecture 2 Conditional Statement. chcslonline.org Conditional Statements in PHP Conditional Statements are used for decision making. Different actions.
TASS Meeting Setting GuessingRows when Importing Excel Files September 19th, 2008 Setting GuessingRows when importing Excel Files Dr. Arthur Tabachneck,
F lorida A tlantic U niversity Average GPA: 3.46 Acceptance Rate: 48% of 24,889 applicants were admitted. Average Test Scores: SAT Math SAT Critical.
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.
Iteration. Iteration: Review  If you wanted to display all the numbers from 1 to 1000, you wouldn’t want to do this, would you? Start display 1 display.
Chapter 2 Getting Data into SAS Directly enter data into SAS data sets –use the ViewTable window. You can define columns (variables) with the Column Attributes.
Arrays.
MICROSOFT ACCESS – CHAPTER 5 MICROSOFT ACCESS – CHAPTER 6 MICROSOFT ACCESS – CHAPTER 7 Sravanthi Lakkimsety Mar 14,2016.
Week 1 Intro to the Course Intro to Databases.  Formerly ISP 121  “Continuation” of LSP 120 concepts  Topics include: ◦ Databases ◦ Basic statistics.
CE En 270 Brigham Young University Norm Jones
Session 15 Merging Data in SPSS
Some Assignments  Write a program which prints the following information about at least 5 persons: NAME MAIL-ID EMPLOYEE-CODE PHONE Eg. Umesh
Percent of Applicants and Enrollees by Range of Grade Point Averages, 2016 GPA Scores
Lesson 15-7 Curve Fitting Pg 842 #4 – 7, 9 – 12, 14, 17 – 26, 31, 38
Putting tables together
Chapter 6: Modifying and Combining Data Sets
Distributive Property of Multiplication 306 x 2
Programming Standards and Practices
Add a 3rd column and do a running total of the frequency column
Mail Merge.
Other Kinds of Arrays Chapter 11
Solving Systems in 3 Variables using Matrices
SAT Totals Class of 2015 Class of 2016 Class of 2017 Test Takers: 229
User-Defined Functions
Sit in Groups Effects on Adolescents’ Romantic Ideals
Advanced Analytics Using Enterprise Miner
UPWARD BOUND 2015 Welcome Parents to Sr. SAT Math.
© 2011 Pearson Education, Inc. Publishing as Prentice Hall
2018 NM Community Survey Data Entry Training
Lecture 14 Z80 Application Program
Welcome to meet the teacher
Introduction to Stata Spring 2017.
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.
Quick Data Summaries in SAS
MS Excel Scaffolding START.
Fundamentals of Data Structures
Analysis of Covariance ANCOVA
JMP® Meets SQL: Using Query Builder for JMP Data Tables
Percent of Applicants and Enrollees by Range of Grade Point Averages, 2017 GPA Scores
Percent of Applicants and Enrollees by Range of Grade Point Averages, 2018 GPA Scores
Interacting a dummy variable with a continuous variable
2-2 Logic Part 2 Truth Tables.
MOON Data File Components
15.7 Curve Fitting.
Access Click on file and then you want a new database.
Chapter 1 Excel Extension: Now You Try!
Chapter 7 Excel Extension: Now You Try!
Chapter 8 Excel Extension: Now You Try!
Presentation transcript:

Use of PROC TABULATE Out File to Customize Tables

Abdus Shahid Western Oregon University Out file from PROC TABULATE process of SAS® can be used to customize final output tables needed for reports. This method is especially useful when PROC TABULATE is used for several disparate data sets but the final output requires data to be presented in one final table. Take the following table as an example. High school GPA may reside in one table and SAT Math scores may be in another table. Missing values for GPA were entered as blanks while missing SAT Math scores were stored as zeros. Merging these two data sets will not allow us to run one tabulation process. Also merging of data sets require at least one common unique identifier for every student which may not always exist. Let us assume that high school GPA and SAT Math scores are in one table, or two tables can be merged. So we try the following syntax: Next, we try this syntax:

If run PROC TABULATE separately, we get the averages shown in table on the right: Transposing SAT_2016 produces this: Only GPA All we need to do now is to merge these two transposed files, rename the columns and drop the columns we don’t need: It’s obvious that correct averages can only be obtained by tabulating the averages separately, either from the same data set or different data sets. Output from the merged file: Only SAT Math Out files from PROC TABULATE process becomes useful in such a situation. Out file GPA_2016 from PROC TABULATE of GPA provides us the following: If we follow through this process for all the variables, we will get all the averages in one table: Transposing the out file gives us this: