This chapter shows how to modify a dataset so that existing variables are transformed or recoded so that new variables are created. The chapter shows how to eliminate unwanted observations from a dataset so that analyses are performed only on a specified subgroup or on participants that have no missing data. This chapter also shows the correct use of arithmetic operators, IF-THEN control statements, and comparison operators. Finally, the chapter shows how to concatenate and merge existing datasets to create new datasets.