SPSS
SPSS
SPSS (Statistical Package for the Social Sciences) is software used for statistical analysis in
social science, but it’s widely used in many fields, like healthcare, marketing, and education. It’s
user-friendly, with a point-and-click interface for conducting complex statistical tests without
needing to code.
In SPSS, data is entered in the Data View tab, where each row represents a case (like a person or
event), and each column represents a variable (like age, gender, or test score).
The Variable View tab is where you define the variables—name, type, labels, and how the data
should be treated (nominal, ordinal, scale).
Descriptive Statistics
Descriptive statistics summarize and describe data in a meaningful way. Common examples
include:
1. Variable View:
a. Define the following variables:
i. Name (String, Nominal)
ii. Age (Numeric, Scale)
iii. Gender (String or Numeric, Nominal)
iv. Height (Numeric, Scale)
b. For Gender, you can code:
i. 1 for Male
ii. 2 for Female
2. Data View:
a. Enter the data as shown above. For Gender, use 1 for Male and 2 for Female (if
coding), or directly enter "Male" and "Female" as strings.
1. In Variable View:
o Go to the Variable View tab.
o In the first empty row, create a variable called Gender.
o Set the Type as Numeric (even though you’ll be entering numbers, this
represents categories, not true numerical data).
o In the Measure column, choose Nominal (since gender is a categorical variable
without an inherent order).
This will allow you to enter 1 for Male and 2 for Female in the Data View, and SPSS
will interpret these as "Male" and "Female" based on the labels you assigned.
3. Enter Data:
o Go to the Data View tab.
o In the Gender column, you can now enter 1 for Male and 2 for Female for each
case.
Go to the menu and select Analyze -> Descriptive Statistics -> Descriptives.
Move the variables Age and Height to the right-hand box.
Click OK.
A bar chart is useful to show the frequency of categorical variables like Gender.
Interpretation: The bar chart will show the frequency of males and females in your data.
A pie chart is useful to visualize the proportion of each category (e.g., gender).
Interpretation: The pie chart will show the proportion of males and females as slices.
Interpretation: The histogram will show how the ages are distributed across the data.
4. Scatter Plot for Age vs. Height
A scatter plot is useful to visualize the relationship between two continuous variables, such as
Age and Height.
Interpretation: The scatter plot will show any relationship between age and height.
Bar Chart: This shows how many people in the dataset are male vs. female.
Pie Chart: It illustrates the proportion of males and females as a part of the whole.
Histogram: The age distribution helps you see which age group is most common in the
dataset.
Scatter Plot: Helps explore if there's a correlation between age and height.