SPPS HALEN HOPPA ☺
1 Introduction to SPSS
BAR CHART
First, we will create a bar chart for Stress.
Proceed as follows:
• Graphs > legacy dialogs > bar
• Select Simple and click on define
• Select Stress under Category Axis (i.e., the variable at the x-axis)
• Then Click on OK and consult the graph in the output
BAR CHART PERCENTAGES
We will now create a new bar chart and instead ask SPSS to show the percentages on
the y-axis.
Proceed as follows:
• Graphs > Legacy Dialogs > Bar
• Again choose Simple and click on Define
• Under “Bars represent” chose “% of cases”
• Click on OK.
SPSS will now create a bar chart, where the heights of the bars represent
percentages.
HISTOGRAM
Next, we will create a histogram for Negative Emotions.
Proceed as follows:
• Graph > Legacy Dialogs > Histogram
• Select Negative Emotions under variable, and ask SPSS to Display normal
curve (check the box).
• Click on OK.
SCATTER PLOT
Create a scatter plot as follows:
• Graphs > legacy dialogs > scatter/dot
• Choose Simple Scatter
• Select Negative Emotions on the x-axis, and Life Satisfaction on the y-axis
• Click OK
, DESCRIPTIVE STATISTICS
Compute descriptive statistics as follows:
• Analyze > Descriptive Statistics > Descriptives
• Select the variables Optimism, Life Satisfaction and Negative Emotions
• Now click on OK
FREQUENCY TABLE
Let's generate a frequency table for variables Smoke and Relation.
• Analyze > Descriptive Statistics > Frequencies
• Select the variables for which you want to have the frequency distribution
(i.e., Smoke and Relation)
• Click OK.
SORTING VALUES
• Data > Sort Cases
• Select the variable on which cases should be sorted
• Select the cases in descending order
• Click on OK
SPLIT DATE FILES
In order to generate those, we will use the Split File option in SPSS. This is an option
in SPSS that allows us to get results for separate groups.
• Data > Split File > Compare Groups
• Select the groups based on the variable Smoke
• Click OK
Notice that you don’t see any changes in the data file or anything in the
output file yet (!). However, after running the Split file command, SPSS
from now will do the analyses per group, as we will see next.
VARIANCE AND STANDARD DEVIATION
• Analyze > Descriptive statistics > Descriptives
• Select the variable you just defined
• Now click op Options. A new window opens which shows many more
descriptive options
• Enable the variance
• Click Continue and OK
1 Introduction to SPSS
BAR CHART
First, we will create a bar chart for Stress.
Proceed as follows:
• Graphs > legacy dialogs > bar
• Select Simple and click on define
• Select Stress under Category Axis (i.e., the variable at the x-axis)
• Then Click on OK and consult the graph in the output
BAR CHART PERCENTAGES
We will now create a new bar chart and instead ask SPSS to show the percentages on
the y-axis.
Proceed as follows:
• Graphs > Legacy Dialogs > Bar
• Again choose Simple and click on Define
• Under “Bars represent” chose “% of cases”
• Click on OK.
SPSS will now create a bar chart, where the heights of the bars represent
percentages.
HISTOGRAM
Next, we will create a histogram for Negative Emotions.
Proceed as follows:
• Graph > Legacy Dialogs > Histogram
• Select Negative Emotions under variable, and ask SPSS to Display normal
curve (check the box).
• Click on OK.
SCATTER PLOT
Create a scatter plot as follows:
• Graphs > legacy dialogs > scatter/dot
• Choose Simple Scatter
• Select Negative Emotions on the x-axis, and Life Satisfaction on the y-axis
• Click OK
, DESCRIPTIVE STATISTICS
Compute descriptive statistics as follows:
• Analyze > Descriptive Statistics > Descriptives
• Select the variables Optimism, Life Satisfaction and Negative Emotions
• Now click on OK
FREQUENCY TABLE
Let's generate a frequency table for variables Smoke and Relation.
• Analyze > Descriptive Statistics > Frequencies
• Select the variables for which you want to have the frequency distribution
(i.e., Smoke and Relation)
• Click OK.
SORTING VALUES
• Data > Sort Cases
• Select the variable on which cases should be sorted
• Select the cases in descending order
• Click on OK
SPLIT DATE FILES
In order to generate those, we will use the Split File option in SPSS. This is an option
in SPSS that allows us to get results for separate groups.
• Data > Split File > Compare Groups
• Select the groups based on the variable Smoke
• Click OK
Notice that you don’t see any changes in the data file or anything in the
output file yet (!). However, after running the Split file command, SPSS
from now will do the analyses per group, as we will see next.
VARIANCE AND STANDARD DEVIATION
• Analyze > Descriptive statistics > Descriptives
• Select the variable you just defined
• Now click op Options. A new window opens which shows many more
descriptive options
• Enable the variance
• Click Continue and OK