Question

In: Statistics and Probability

what does the operation "recode into different variables" do to data in spss

what does the operation "recode into different variables" do to data in spss

Solutions

Expert Solution

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:

  • Recode Old Values Into New Values - Example if we have a dataset for the records of employees in XYZ Company and it has a variable department with values - Accounts, HR, IT and Sales. And Suppose we want to recode these values as 1, 2, 3 and 4 i.e  Accounts - 1 , HR - 2, IT - 3 and Sales - 4, so we use Recode Old Values Into New Values under a new variable called DepartmentIndicator.
  • Recoding using If cases- Sometimes if we wish to recode values for a given variable only when certain conditions in the dataset are satisfied i.e only those cases which meets a specified criteria will be recoded, and cases not meeting the creteria will be assigned a missing value.

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.


Related Solutions

How to read variables in SPSS and R for unstandardized and Standardized data
How to read variables in SPSS and R for unstandardized and Standardized data
This is for data analysis in finance. When finding the var estimates of different variables, what...
This is for data analysis in finance. When finding the var estimates of different variables, what do the coefficient,  standard error, and t statistic represent in the model
Task : Input this data into the SPSS and do the regression analysis as discussed today...
Task : Input this data into the SPSS and do the regression analysis as discussed today in the class. SN Food exp. Monthly income family size 1 3 8 5 2 4 12 7 3 5 15 5 4 2 5 6 5 5 4 4 6 3 8 9 7 4 13 10 8 7 9 6 9 5 11 7 10 6 12 8 11 4 7 8 12 8 8 12 13 4 9 11 14 2...
Different types of software can be used for data managment. Excel and SPSS and discuss specific...
Different types of software can be used for data managment. Excel and SPSS and discuss specific SPSS software features that make it preferable to Excel for data managment. provide examples illustrating when electing to use the SPSS could be preferable to Excel and vice versa
Different types of software can be used for data management. Compare Excel and SPSS and discuss...
Different types of software can be used for data management. Compare Excel and SPSS and discuss specific SPSS software features that make it preferable to Excel for data management. Provide examples illustrating when electing to use SPSS could be preferable to Excel and vice versa.
What does the Pearson correlation tell us about the variables (3 things)? What type of data...
What does the Pearson correlation tell us about the variables (3 things)? What type of data is utilized in order to perform a Pearson correlation? What is the Chi-Square Goodness of fit Test? What are the two frequencies measured during the Chi Square Goodness of Fit test and what is the difference between the two? What type of data is utilized in order to perform a Chi Square Goodness of Fit test? How do you determine the degrees of freedom...
Data from 5.7: Problem Set 5.7: Scatterplot in SPSS Criterion: Create a scatterplot using SPSS. Data:...
Data from 5.7: Problem Set 5.7: Scatterplot in SPSS Criterion: Create a scatterplot using SPSS. Data: Dr T wanted to see if mindfulness training is related to stress levels. He recruited 10 participants to undergo mindfulness training and examined their reported stress levels on the DRT Stress Inventory. These were his results: Minutes of Mindfulness Training DRT Stress Inventory Score 61 8 122 6 201 3 133 9 55 7 329 1 10 9 1 10 93 7 144 5...
How do I generate a correlation matrix in SPSS, what are the steps?
How do I generate a correlation matrix in SPSS, what are the steps?
SPSS: Correlation Use SPSS or Excel to calculate the appropriate correlation coefficient for the following data...
SPSS: Correlation Use SPSS or Excel to calculate the appropriate correlation coefficient for the following data for “Hours of Exercise” and “Life Satisfaction.” (0 = Not at all satisfied). Provide an APA-style results section write – up. (b) Graph the relationship. HINT: Below you will find instructions for the APA-style write-up. Complete the write-up on a word document and upload the file for submission. Hours of Exercise.    2 0 5 6 1 2 4 4 3 4 life satisfaction...
ASSIGNMENT: Enter the hypothetical data below in SPSS to use for the assignment.  The SPSS commands: 'file',...
ASSIGNMENT: Enter the hypothetical data below in SPSS to use for the assignment.  The SPSS commands: 'file', 'new', 'data' will create a spreadsheet in which to enter the data below (manually). Case Control Treatment 1                              5                              6 2                              4                              7 3                              5                              5              4                              4                              6 5                              5                              5 6                              6                              6 7                              5                              5 8                              4                              6 9                              5                              5 10                           5                              10 In this experiment, all participants rated the credibility of fake news stories on a scale of 1...
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT