What do we mean by categorize variables?
The procedure of creating a new variable from numeric variable which contains categorical data.
Categorical data indicates the group data.
Procedure:
At first we have to go the "Menu bar" and click on-
"Transform"→"Record into different variable or Record into same variable"
How to analyze data using SPSS (for beginners)-part 1
How to analyze data using SPSS (part-2), how to input data in SPSS
How to analyze data using SPSS (part-3), how to import data in SPSS from excel file
How to analyze data using SPSS (part-4), how to sort data in SPSS
How to analyze data using SPSS ( part-5) how to merge file in SPSS?
How to analyze data using SPSS ( part-6), how to merge file in SPSS
How to analyze data using SPSS (part-7), Finding missing values, Replacing missing values, Coding missing values in SPSS
How to analyze data using SPSS (part-8), variable transformation, Recoding variables in spss
Univariate analysis| how to analyze data using spss (part-9)
Bivariate analysis| How to analyze data using spss (part-10)
The procedure of creating a new variable from numeric variable which contains categorical data.
Categorical data indicates the group data.
Procedure:
At first we have to go the "Menu bar" and click on-
"Transform"→"Record into different variable or Record into same variable"
[Note:
- If we select "Record into different variable" , there create a new categorical variable.
- If we select "Record into same variable", the new variable replace old variable.
Then there opened a new box named "Record into different variable" and we have to double click on our target variable which we want to categorize. Then set a new name and label in the "Name" & "Label" box and click on "change" .
Now we have to click on the "Old and new values"
Go to transform |
↓
Recode into different variable |
↓
Old and new value selection |
Now there open a new box named "Record into different variables: Old and new values" . By using that box we have to create our target category and click on "continue" and we have to remember the category.
Adding new values |
And Finally select "ok"
Now we have to go to the "variable view" and set the "decimals" 0 and click on "Values". There open a new box named "Value labels" and we have to re-enter our categories and click on "ok".
Adding value labels |
Finally we can see our categorize variable.
Variable view:
variable view |
Data view:
data view with new variable |
How to analyze data using SPSS (for beginners)-part 1
How to analyze data using SPSS (part-2), how to input data in SPSS
How to analyze data using SPSS (part-3), how to import data in SPSS from excel file
How to analyze data using SPSS (part-4), how to sort data in SPSS
How to analyze data using SPSS ( part-5) how to merge file in SPSS?
How to analyze data using SPSS ( part-6), how to merge file in SPSS
How to analyze data using SPSS (part-7), Finding missing values, Replacing missing values, Coding missing values in SPSS
How to analyze data using SPSS (part-8), variable transformation, Recoding variables in spss
Univariate analysis| how to analyze data using spss (part-9)
Bivariate analysis| How to analyze data using spss (part-10)
For more updates please visit my blog.
0 Comments