Lesson 2
Lesson 2
Lesson 2
1. From the menu at the top of the screen click on: Graphs, then click
on Histogram.
2. Click on your variable of interest and move it into the Variable box.
This should be a continuous variable (e.g., total perceived stress).
3. Click on Display normal curve. This option will give you the distribution
of your variable and, superimposed over the top, how a normal curved
for this distribution would look.
4. If you wish to give your graph a title, click on the Titles button and type
the desired title in the box (e.g., Histogram of Perceived Stress scores).
Click on Continue, and then OK.
Interpretation of Output from Histogram
1. From the menu at the top of the screen click on Graphs, then on
Scatter.
2. Click on Simple and then Define.
3. Click on your first variable, usually the one you consider is the
dependent variable, (e.g., total perceived stress).
4. Click on the arrow to move it into the box labeled Y axis. This
variable will appear on the vertical axis.
5. Make your other variable (e.g., total PCOISS) into the box labeled
X axis. This variable will appear on the horizontal axis.
6. You can also have SPSS mark each of the points according to
some Set Markers by box. This will display males and females
using different markers.
7. If you wish to attach a title to the graph, click on the Titles button.
Type in the desired title and click on Continue.
8. Click on OK.
Interpretation of output from Scatterplot
Each distribution of the scores is represented by a box and protruding lines (called
whiskers). The length of the box is the variable’s interquartile range and contains 50
percent of cases. The lines across the inside of the box go out to the variable’s smallest
and largest values.
Any scores that SPSS considers are outliers appear as little circles with a number
attached (this is the ID number of the case). Outliers are the cases with scores that are
quite different to the remainder of the sample, either much higher or much lower. SPSS
defines points as outliers if they extend more than 1.5 box-lengths from the edge of the
box. Extreme points (indicated with an asterisk,*) are those that extend more than 3
box-lengths from the edge of the box. In the example above there are a number of
outliers at the low values for Positive Affect for both males and females.
In addition to providing outliers, a boxplot also allows you to inspect the pattern of
scores for your various groups. It provides an indication of the viability in scores within
each group and allows a visual inspection of the differences between groups. In the
example presented above the distribution of scores on Positive Affect for males and
females are very similar.
Line graphs
Procedures for Creating a Line Graph
1. From the menu at the top of the screen click on: Graphs, then click on Line.
2. Click on Multiple. In the Data in Chart Are section, click on Summaries for
groups of cases. Click on Define.
3. In the Lines represent box, click on Other summary function. Click on the
continuous variable you are interested in (e.g., total perceived stress). Click
on the arrow button. The variable should appear in the box listed as Mean
(Total Perceived Stress). This indicates that the mean on the Perceived Stress
Scale for the different groups will be displayed.
4. Click on your first categorical variable (e.g., agegp3). Click on the arrows
button to move it into the Category Axis box. This variable will appear across
the bottom of your line graph (X axis).
5. Click on another categorical variable (e.g., sex) and move it into the Define
Lines by: box. This variable will be represented in the legend.
6. Click on the Options button. Remove the risk from Display groups define by
missing values. To do this, click ones on the box.
7. Click on Continue and then OK.
Interpretation of output from Line Graph
The line graph displayed above contains a good deal of
information
First, you can look at the impact of age on perceived stress for
each of the sexes separately. Younger males appear to have
higher levels of perceived stress than either middle age or older
males. For females are only slightly less stressed than the
younger group.
You can also consider the difference between males and
females. Overall, males appear to have high levels of perceived
stress than females. Although the difference for the younger
group is only small, there appears to be a discrepancy for the
older age groups. Whether these differences reach statistical
significance can only be determined by performing a two-way
analysis of variance.