Introduction to Using More Than One Observation in a Calculation

Purpose

In this section, you will learn about calculations that require more than one observation. The following types of examples are included in this section:
  • accumulating a total across a data set or a BY group
  • saving a value from one observation in order to compare it to a value in a later observation

Prerequisites

Before proceeding with this section, you should understand the concepts presented in the following sections:

Get Step-by-Step Programming with Base SAS 9.4 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.