Chapter 2: Grouping Data
This chapter describes how to use individual values such as ages or income and create new variables that represents groups. For example, you may want to group ages in 20-year intervals or you may want to convert income into deciles. In this chapter, you will see several ways to accomplish these goals.
Task: Grouping values using IF-THEN-ELSE statements
For this example, you have a variable called Heart_Rate that represents a person's heart rate in beats per minute. You want to create a new variable ...