In: Statistics and Probability
what does the operation "recode into different variables" do to data in spss
Recode into different variables in SPSS allows us to create a new variable based on an existing variable by reassigning the values of existing variables into new values for a new variable. That is, the changes do not overwrite the original variable however they are instead applied to a copy of the original variable under a new name.
You can do two operations using Recode into different variables in SPSS:
Example - Suppose the same dataset for company XYZ has a variable for Salary of employees and we want to give bonus to those employees with Salary greater than $10000 per annum so we will use IF Option to specify Condition for Salary > $10000 and create an Indicator named BonusIndicator taking values 1 if salary is greater than $10000 and 0 ,otherwise.