Professional Documents
Culture Documents
Lab1 SPSS I
Lab1 SPSS I
Step 1
Step 2
The Data Editor – Variable View
The Data Editor – Variable View
Variable
Types of
variables
Quantitative or Qualitative or
Continuous Variables Categorical Variables
File > Open> Data>Browse to the Folder Where You Saved the Excel file (Make Sure to Change Files of Type to Excel >
Select the File > Click Open > Select the Correct Sheets (If You Have Multiple Sheets) > Uncheck [ Percentage of Values
That Determine Data Type [95] & Ignore Hidden Rows and Column Options > Click Ok > Save Your SPSS File.
variables.
Transform
Procedures Transform
(Recode Into Different
(Compute) variables)
Quantitative Quantitative
Variable Variable
Types of original
variables
Quantitative
Variable
Type of new
variables Quantitative Qualitative
Variable Variable
Example:
Answer:
Step 1: Computing the BMI from two quantitative variables Please note that no space is allowed for
the new name
From the menu choose:
Transform Compute Variable Enter the name of the target variable BMI_baseline
Enter the numeric expression… (weight at baseline x 703)/Height2 Click ok
Step 2:
Select the
original
variables
from the list
2. Classify the study subjects BMI at baseline into the categories indicated in Table 1.1
Answer:
Step 1: Use Transform Record procedure to create BMI groups at baseline (qualitative) from BMI at baseline (quantitative).
Use “Recode into Different Variables” option in order to avoid overwriting the original variable. See the next slide.
3. Indicate the percent of the subjects with overweight __________21.6%___________