Chapter 7

Descriptive Statistics Functions

 

Introduction

Functions That Determine the Number of Missing and  Non-missing Values in a List of SAS Variables

N

NMISS

Functions That Compute Sums, Means, and Medians

MEAN

MEDIAN

SUM

Functions That Compute the Spread or Dispersion of Data Values

RANGE

IQR

STD

Functions That Determine the Ordering of Data Values

MIN

MAX

SMALLEST

LARGEST

PCTL

ORDINAL

Introduction

The name of this chapter, ‘Descriptive Statistics Functions,’ is somewhat misleading. Although some of the functions, such as MEAN (average) and STD (standard deviation), can be thought of as statistical, many of these functions have extremely useful, everyday, non-statistical uses. So, don't be scared off. As is true throughout the book, ...

Get SAS Functions by Example, Second Edition, 2nd 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.