Summary Statistics

Introduction

In Chapter 2, we discussed several procedures and why you might use them. In this section, we delve into more detail, touching on PROC UNIVARIATE, PROC MEANS, and PROC FREQ. The myfolder.inventory data that we have been using throughout the book is used in these procedures as well.

PROC UNIVARIATE

Introduction

The following PROC UNIVARIATE returns an extensive summary of the data. It can also generate graphs.
PROC UNIVARIATE data=myfolder.inventory;
	Title "Summary of Data";
run;
In the code, PROC UNIVARIATE is run and analyzes all of the numeric variables in the data set. When it is run, five tables get populated.
  1. Moments table
  2. Basic Statistical Measures table
  3. Tests for Location table

Get A Recipe for Success Using SAS University Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.