Ex - 2 - Data Transformation-1
Ex - 2 - Data Transformation-1
No: 2
Date: 11/09/2023
Data Transformation: Case Summaries – Replacing Missing Values – Identifying Duplicate Cases–
Recoding – Ranking Cases – Compute New Variables.
I. Case Summaries:
In SPSS (Statistical Package for the Social Sciences), you can create case summaries or descriptive
statistics to summarize and analyze your data.
1. From the menus choose:
Analyze > Reports > Case summaries
2. Click Select variables under the Dependent variables section and select one or more
variables. Click OK after selecting the dependent variables.
3. Optionally, click Select variables under the Group variables section and select one or more
variables that define groups of cases and produce individual summaries with respect to each
category. Click OK after selecting the group variables to run the analysis. SPSS will generate
case summaries for the selected variables and display them in the output viewer.
IV. Recoding:
The Recode variables procedure provides options for reassigning the values of existing
variables, or collapsing ranges of existing values, into new values for existing variables or for new
variables. For example, you could collapse salaries into salary range categories for existing variables or
into a new variable that contains salary-range categories. Both numeric and string variables can be
recoded.