Chapter 9 Producing Descriptive Statistics PROC MEANS; Summarize descriptive statistics for continuous numeric variables. PROC FREQ; Summarize frequency.

Slides:



Advertisements
Similar presentations
Statistical Methods Lynne Stokes Department of Statistical Science Lecture 7: Introduction to SAS Programming Language.
Advertisements

1 Contingency Tables: Tests for independence and homogeneity (§10.5) How to test hypotheses of independence (association) and homogeneity (similarity)
SAS Programming: Working With Variables. Data Step Manipulations New variables should be created during a Data step Existing variables should be manipulated.
Introduction to SPSS Allen Risley Academic Technology Services, CSUSM
Today: Run SAS programs on Saturn (UNIX tutorial) Runs SAS programs on the PC.
The Information Delivery Process Data In Information Out ManageOrganizeExploit.
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
15a.Accessing Data: Frequencies in SPSS ®. 1 Prerequisites Recommended modules to complete before viewing this module  1. Introduction to the NLTS2 Training.
15b. Accessing Data: Frequencies in SAS ®. 1 Prerequisites Recommended modules to complete before viewing this module  1. Introduction to the NLTS2 Training.
Introduction to SQL Session 1 Retrieving Data From a Single Table.
PROC FREQ 1SHRUG November 28, What good is Proc FREQ It Counts! Answers question how many Display data (error checks), descriptive Analyze categorical.
SPSS Statistical Package for the Social Sciences is a statistical analysis and data management software package. SPSS can take data from almost any type.
Introduction to SPSS Short Courses Last created (Feb, 2008) Kentaka Aruga.
How to start using SAS.
Data Cleaning 101 Ron Cody, Ed.D Robert Wood Johnson Medical School Piscataway, NJ.
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
Introduction to SAS Essentials Mastering SAS for Data Analytics
Chapter 8 Producing Summary Reports. Section 8.1 Introduction to Summary Reports.
1 Chapter 5: Creating Summarized Output 5.1 Generating Summary Statistics 5.2 Creating a Summary Report with the Summary Tables Task 5.3 Creating and Applying.
SAS PROC REPORT PROC TABULATE
Chapter 3 Single-Table Queries
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
Introduction to SAS BIO 226 – Spring Outline Windows and common rules Getting the data –The PRINT and CONTENT Procedures Manipulating the data.
USING SAS PROCEDURES SAS System Options OPTIONS Statement
Niraj J. Pandya, Element Technologies Inc., NJ.  Summarize all possible combinations of class level variables even if few categories are altogether missing.
18b. PROC SURVEY Procedures in SAS ®. 1 Prerequisites Recommended modules to complete before viewing this module  1. Introduction to the NLTS2 Training.
Quantify the Example Data First, code and quantify the data (assign column locations & variable names) Use the sample data to create a data set from the.
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 SPSS. Object of the class About the windows in SPSS The basics of managing data files The basic analysis in SPSS.
Introduction to Enterprise Guide Jennifer Schmidt Rhonda Ellis Cassandra Hall.
Haas MFE SAS Workshop Lecture 3: Peng Liu Haas School.
T T03-01 Calculate Descriptive Statistics Purpose Allows the analyst to analyze quantitative data by summarizing it in sorted format, scattergram.
A Simple Guide to Using SPSS ( Statistical Package for the Social Sciences) for Windows.
Introduction to SAS Essentials Mastering SAS for Data Analytics Alan Elliott and Wayne Woodward SAS ESSENTIALS -- Elliott & Woodward1.
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.
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.
 Some variables are inherently categorical, for example:  Sex  Race  Occupation  Other categorical variables are created by grouping values of a.
Queries SELECT [DISTINCT] FROM ( { }| ),... [WHERE ] [GROUP BY [HAVING ]] [ORDER BY [ ],...]
Lesson 4 - Topics Creating new variables in the data step SAS Functions.
1 EPIB 698C Lecture 4 Raul Cruz-Cano Summer 2012.
Mr. Magdi Morsi Statistician Department of Research and Studies, MOH
Copyright © 2010, SAS Institute Inc. All rights reserved. SAS ® Using the SAS Grid.
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.
DTC Quantitative Methods Summary of some SPSS commands Weeks 1 & 2, January 2012.
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.
FORMAT statements can be used to change the look of your output –if FORMAT is in the DATA step, then the formats are permanent and stored with the dataset.
1 Chapter 3: Getting Started with Tasks 3.1 Introduction to Task Dialogs 3.2 Creating a Listing Report 3.3 Creating a Frequency Report 3.4 Creating a Two-Way.
Chapter 4: Creating List Reports
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.
Based on Learning SAS by Example: A Programmer’s Guide Chapters 1 & 2
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.
Chapter 11 Reading SAS Data
Applied Business Forecasting and Regression Analysis
Introduction to SPSS.
Lecture 2 Topics - Descriptive Procedures
Lesson 8 - Topics Creating SAS datasets from procedures
Chapter 4: Sorting, Printing, Summarizing
Quick Data Summaries in SAS
Producing Descriptive Statistics
Introduction to SAS Essentials Mastering SAS for Data Analytics
Presentation transcript:

Chapter 9 Producing Descriptive Statistics PROC MEANS; Summarize descriptive statistics for continuous numeric variables. PROC FREQ; Summarize frequency tables for discrete numeric variables or categorical variables.

Objectives Compute statistical summaries such as mean, median, std, min, max, and so on for numeric continuous variables Control # of decimals for reporting the summary statistics Difference between PROC MEANS and PROC SUMMARY procedures. Create one-way frequency table Create 2-way, n-way cross frequency table 2

PROC MEANS Output 3 Salary by Job Code The MEANS Procedure Analysis Variable : Salary Job N Code Obs N Mean Std Dev Minimum Maximum ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ FLTAT FLTAT FLTAT PILOT PILOT PILOT ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ

Calculating Summary Statistics for Numeric Variables The MEANS procedure displays simple descriptive statistics for the numeric variables in a SAS data set. General form of a simple PROC MEANS step: Example: 4 PROC MEANS DATA=SAS-data-set; RUN; PROC MEANS DATA=SAS-data-set; RUN; proc means data=mylib.crew; title 'Salary Analysis'; run;

Calculating Summary Statistics 5 Salary Analysis The MEANS Procedure Variable N Mean Std Dev Minimum Maximum ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ HireDate Salary ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ NOTE: PROC MEANS computes summary statistics for any variable we want. However, it is meaningless to compute some variables, such as Hiredate.

Calculating Summary Statistics By default, PROC MEANS – analyzes every numeric variable in the SAS data set – prints the statistics N, MEAN, STD, MIN, and MAX – excludes missing values before calculating statistics. 6

Specifying summary statistics to be computed PROC MEANS data = mylib.crew mean median range std ; To specify the summary statistics to be computed, add them to the PROC MEANS statement as options.

Limitting Decimal Places By default, RPOC MEANS uses the BEST. Format to display values in the report. It can be many decimal places such as To specify the # of decimal places to k places: PROC MEAN Data = Mylib.crew MAXDEC=k ; Maxdec =2 will result in 2 decimals in the report. Maxdec =0 will result in no decimal place in the report. 8

Selecting Variables The VAR statement restricts the variables processed by PROC MEANS. General form of the VAR statement: 9 VAR SAS-variable(s);

Selecting Variables 10 proc means data=Mylib.crew; var Salary; title 'Salary Analysis'; run; Mylib.crew Salary Analysis The MEANS Procedure Analysis Variable : Salary N Mean Std Dev Minimum Maximum ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ

Grouping Observations Using CLASS statement The CLASS statement in the MEANS procedure groups the observations of the SAS data set for analysis. General form of the CLASS statement: 11 CLASS SAS-variable(s);

Grouping Observations 12 proc means data=mylib.crew maxdec=2; var Salary; class JobCode; title 'Salary by Job Code'; run; Mylib.crew NOTE: The MAXDEC= option controls the number of decimal places displayed in the output.

Grouping Observations using CLASS statement 13 Salary by Job Code The MEANS Procedure Analysis Variable : Salary Job N Code Obs N Mean Std Dev Minimum Maximum ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ FLTAT FLTAT FLTAT PILOT PILOT PILOT ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ The summary is displayed based on the order of the categories of the CLASS variable. Variables in CLASS statement can be character or numeric.

Results due to CLASS Statement 14 The summary is displayed based on the order of the categories of the CLASS variable. Variables in CLASS statement can be character or numeric. It is important to make sure you do not use continuous numeric variable in the CLASS statement. If there are two or more variables in CLASS statement, the order of the variables in the CLASS statement determined the order in the output report.

PROC MEAN procedure Using BY Statement 15 PROC MEANS; VAR variable list ; BY Variable; It is important to know that when using BY statement, the data set MUST be sorted in ascending order based on the variables in the BY statement first using PROC SORT. The result using BY statement is displayed as separate tables each is for the category of the variable in the BY statement. If there are two or more variables in the BY statement, the order determines the order of the displayed tables in the report.

Exercise Write a program to read diabetes data set and use PROC Means to produce summary statistics for variables Age, Height and Weight. Run the program and see the results. Produce the summary statistics N, mean median, max, min std, and range, and Set decimal places to two by Maxdec =2. Run the program and see the results. Ass the CLASS statement to produce summary results for each sex. Run the program to see the results. Practice using BY statement for each sex. Before you add the BY SEX statement, Make sure you sort the data by SEX. Run the program and see the result. Add a WHERE statement to select cases for AGE > 30 to the program. Run the program and see the results. 16

Create data set for summary statistics in PROC MEANS In many occasions, we may want to create a SAS data set consisting of the summary statistics calculated by PROC MEANS. OUTPUT OUT=sas-data-set summary-keyword(s) = variablename(s); NOTE: summary-keywords are: Mean, Min, Max, Range, Std, etc. Variablenames are the variable names you want to call for each summary statistics for each variable. 17

Create Summary Data Set using PROC MEANS Examples: PROC MEANS data= mylib.crew; VAR Hiredate salary; OUTPUT OUT = mylib.discrip mean = avghiredate avgsalary Median= medhiredate medsalary; Run; 18

Exercise Revise the following program to do the following task: Use the OUTPUT OUT= statement to save the summary statistics Mean, Median and Std to a sas data set dia_summary, then print this data set to see what’s in there. PROC MEANS data = mylib.diabetes maxdec =2 ; var age height weight; class sex; run; 19

PROC SUMMARY procedure PROC SUMMARY procedure uses the same program codes as PROC MEANS. PROC SUMMARY does not produce report by default. In order to produce the report, you need to add PRINT as the option: PROC SUMMARY data = sasdataset PRINT; When do we use PROC SUMMARY? If you only want to produce and save the summary to a SAS data set, you can use PROC SUMMARY. OR you can use the option: NOPRINT in PROC MEANS.

PROC FREQ procedure Objectives – Generate simple descriptive statistics using the MEANS procedure. – Group observations of a SAS data set for analysis using the CLASS statement in the MEANS procedure. – Create one-way and two-way frequency tables using the FREQ procedure. – Restrict the variables processed by the FREQ procedure. 21

PROC FREQ Output 22 Distribution of Job Code Values The FREQ Procedure Job Cumulative Cumulative Code Frequency Percent Frequency Percent ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ FLTAT FLTAT FLTAT PILOT PILOT PILOT

Goal Report 1 International Airlines wants to know how many employees are in each job code. 23 Distribution of Job Code Values The FREQ Procedure Job Cumulative Cumulative Code Frequency Percent Frequency Percent ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ FLTAT FLTAT FLTAT PILOT PILOT PILOT

Goal Report 2 Categorize job code and salary values to determine how many employees fall into each group. 24 Salary Distribution by Job Codes The FREQ Procedure Table of JobCode by Salary JobCode Salary Frequency ‚ Percent ‚ Row Pct ‚ Col Pct ‚Less tha‚25,000 t‚More tha‚ Total ‚n 25,000‚o 50,000‚n 50,000‚ ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆ Flight Attendant ‚ 5 ‚ 39 ‚ 0 ‚ 44 ‚ 7.25 ‚ ‚ 0.00 ‚ ‚ ‚ ‚ 0.00 ‚ ‚ ‚ ‚ 0.00 ‚ ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆ Pilot ‚ 0 ‚ 0 ‚ 25 ‚ 25 ‚ 0.00 ‚ 0.00 ‚ ‚ ‚ 0.00 ‚ 0.00 ‚ ‚ ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆ Total

Creating a Frequency Report PROC FREQ displays frequency counts of the data values in a SAS data set. General form of a simple PROC FREQ step: 25 PROC FREQ DATA=SAS-data-set; RUN; PROC FREQ DATA=SAS-data-set; RUN; proc freq data=mylib.crew; run; Example:

Creating a Frequency Report By default, PROC FREQ – analyzes every variable in the SAS data set – displays each distinct data value – calculates the number of observations in which each data value appears (and the corresponding percentage) – indicates for each variable how many observations have missing values. 26

Default Frequency Reports proc freq data=mylib.crew; run; mylib.crew Distribution of LastName Distribution of Salary Distribution of JobCode Distribution of FirstName Distribution of EmpID Distribution of HireDate Distribution of Phone Distribution of Location

One-Way Frequency Report Use the TABLES statement to limit the variables included in the frequency counts. These are typically variables that have a limited number of distinct values. General form of a PROC FREQ step with a TABLES statement: 28 PROC FREQ DATA=SAS-data-set ; TABLES SAS-variables / NOCUM; RUN; PROC FREQ DATA=SAS-data-set ; TABLES SAS-variables / NOCUM; RUN; NOCUM option in the TABLES statement suppress Cumulative frequency and Cumulative percentage

Creating a Frequency Report 29 Distribution of Job Code Values The FREQ Procedure Job Cumulative Cumulative Code Frequency Percent Frequency Percent ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ FLTAT FLTAT FLTAT PILOT PILOT PILOT proc freq data=mylib.crew; tables JobCode; title 'Distribution of Job Code Values'; run;

Using PROC FORMAT to redefine Categories of Values in TABLES statement International Airlines wants to use formats to categorize the flight crew by job code. 30 Pilot PILOT1 PILOT2 PILOT3 FLTAT1 FLTAT2 FLTAT3 Flight Attendant Stored values Formatted values

Analyzing Categories of Values 31 proc format; value $codefmt 'FLTAT1'-'FLTAT3'='Flight Attendant' 'PILOT1'-'PILOT3'='Pilot'; run; proc freq data = mylib.crew; format JobCode $codefmt.; tables JobCode; run; NOTE: The original data values for Jobocde are not changed. They are still FLTAT1 FLTAT2, and so on.

Analyzing Categories of Values 32 Distribution of Job Code Values The FREQ Procedure Cumulative Cumulative JobCode Frequency Percent Frequency Percent ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒ Flight Attendant Pilot

Crosstabular Frequency Reports A two-way, or crosstabular, frequency report analyzes all possible combinations of the distinct values of two variables. The asterisk (*) operator in the TABLES statement is used to cross variables. General form of the FREQ procedure to create a crosstabular report: 33 PROC FREQ DATA=SAS-data-set; TABLES variable1 * variable2; RUN; PROC FREQ DATA=SAS-data-set; TABLES variable1 * variable2; RUN; Variable1 is ROW and Variable2 is Column

Crosstabular Frequency Reports 34 proc format; value $codefmt 'FLTAT1'-'FLTAT3'='Flight Attendant' 'PILOT1'-'PILOT3'='Pilot'; value money low-<25000 ='Less than 25,000' ='25,000 to 50,000' 50000<-high='More than 50,000'; run; proc freq data=mylib.crew; tables JobCode*Salary; format JobCode $codefmt. Salary money.; title 'Salary Distribution by Job Codes'; run;

Crosstabular Frequency Reports 35 Salary Distribution by Job Codes The FREQ Procedure Table of JobCode by Salary JobCode Salary Frequency ‚ Percent ‚ Row Pct ‚ Col Pct ‚Less tha‚25,000 t‚More tha‚ Total ‚n 25,000‚o 50,000‚n 50,000‚ ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆ Flight Attendant ‚ 5 ‚ 39 ‚ 0 ‚ 44 ‚ 7.25 ‚ ‚ 0.00 ‚ ‚ ‚ ‚ 0.00 ‚ ‚ ‚ ‚ 0.00 ‚ ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆ Pilot ‚ 0 ‚ 0 ‚ 25 ‚ 25 ‚ 0.00 ‚ 0.00 ‚ ‚ ‚ 0.00 ‚ 0.00 ‚ ‚ ƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆƒƒƒƒƒƒƒƒˆ Total

Additional Syntax for TABLES statement in PROC FREQ; statement SyntaxEquivalent to tables A*(B C);tables A*B A*C; tables (A B)*(C D);tables A*C B*C A*D B*D; tables (A B C)*D;tables A*D B*D C*D; tables A - - C;tables A B C; tables (A - - C)*D;tables A*D B*D C*D TABLES A*B*C; Produces separate two-way tables of B*C for each value of A.

To Suppress some columns in the PROC FREQ summary report PROC FREQ; TABLES var1*var2/ ; Options for suppressing cell frequency: NOFREQ Options for suppressing cell percent: NOPERCENT Options for suppressing ROW percent: NOROW Options for suppressing COLUMN percent: NOCOL

Additional usages of PROC FREQ statement In addition to reporting tables, PROC FREQ; statement also conduct many statistical tests for analyzing categorical data such as Chi-square test, Cochran-Mantel-Haenszel test, Fisher’s exact test, Kappa coefficient, Risk, Odds ratio and so on. This is beyond the programming course.

Exercise The Diabetes data set consists of Sex, Age, Height, Weight, Pulse FastGluc PostGluc for 20 patients. Revise the following program by using PROC FREQ procedure to perform the following tasks: 1.Use IF statement to create AGE_G variable : IF AGE > 45 then, AGE_G = ‘Senior’, otherwise AGE_G = ‘Young’. Create one-way table for variables SEX, Age_G, and Pulse using user-defined format. Run the program and see the results. 2.Create cross tabular table sex*(Age_G Pulse), make sure the user-defined format is applied for Pulse variable. Run the program and see the results. 3. Suppressing ROW percent and Column percent. Run the program and see the results. proc format; value pulft LOW-70 = 'Low' 71-High = 'High'; run; data diab; set mylib.diabetes; run; 39