Modifying Data Values

The data you start with may not always be organized in the most useful manner for your analysis or reporting needs. For example, you may want to:

  • Create a categorical variable from a scale variable.
  • Combine several response categories into a single category.
  • Create a new variable that is the computed difference between two existing variables.
  • Calculate the length of time between two dates.

This chapter uses the data file demo.sav. See the topic Sample Files for more information.