O'Reilly logo

Learning SAS by Example by Ron Cody

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter 11. Working with Numeric Functions

11.1

Introduction

190

11.2

Functions That Round and Truncate Numeric Values

190

11.3

Functions That Work with Missing Values

192

11.4

Setting Character and Numeric Values to Missing

193

11.5

Descriptive Statistics Functions

194

11.6

Computing Sums within an Observation

196

11.7

Mathematical Functions

197

11.8

Computing Some Useful Constants

198

11.9

Generating Random Numbers

199

11.10

Special Functions

201

11.11

Functions That Return Values from Previous Observations

204

11.12

Problems

207

Introduction

SAS functions are an essential tool in DATA step programming. They perform such tasks as rounding numbers, computing dates from month-day-year values, summing and averaging the values of SAS variables, and hundreds of other tasks. This chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required