How can I plot ANOVA cell means in SPSS?

How can I plot ANOVA cell means in SPSS?

ANOVA (Analysis of Variance) is a statistical method used to compare the means of three or more groups. In order to visualize the results of ANOVA, SPSS (Statistical Package for the Social Sciences) provides a feature to plot the cell means. This allows for a graphical representation of the differences between the means of each group, making it easier to interpret the results. To plot ANOVA cell means in SPSS, one can use the “Explore” or “Chart Builder” options, depending on the version of SPSS being used. This will generate a graph showing the mean values of each group, along with error bars representing the variability. This feature is helpful in identifying significant differences between the groups and can be used to further analyze the data.

How can I plot ANOVA cell means in SPSS? | SPSS FAQ

Let’s read in an example dataset, crf24,
adapted from Kirk (1968, First Edition).

get file 'c:https://stats.idre.ucla.edu/wp-content/uploads/2016/02/crf24.sav'.

First, let’s look at a table of the cells means to see what variables are in
the data set.  A and B may be considered independent
variables, and y the dependent variable.

MEANS
  TABLES=y by a by b.
Case Processing Summary
Cases
IncludedExcludedTotal
NPercentNPercentNPercent
Y * A * B32100.0%0.0%32100.0%
Report
Y
ABMeanNStd. Deviation
113.7541.500
24.004.816
37.004.816
48.004.816
Total5.69162.120
211.754.500
23.004.816
35.504.577
410.004.816
Total5.06163.316
Total12.7581.488
23.508.926
36.2581.035
49.0081.309
Total5.38322.756

Now, let’s plot the cell means.

graph
 /line(multiple) mean(y) by b by a.

Line of mean(y) by b a

If you would like the means marked by a symbol, double click on the graph,
select “format”, select “interpolation”, and select “straight”.  Make sure that the “display markers” box is
checked.  Click on “apply”, then “close” and then close the
chart editor.  If you would like to change the markers,
double click on the graph (again), select select “format”, then “marker”, and then
select the marker and the size that you would like.  If you would like to have different markers
for the different groups, double click on the graph, double click on the legend on the
right that labels the groups, and select (i.e., single click on) the group whose symbol
(i.e., marker) you would like to change.  Next, select “format”, “marker”,
and then select the marker and the size that you would like.  Click on
“apply”, then “close” and then close the chart editor.

graph
 /line(multiple) mean(y) by b by a.
Line of mean(y) by b a

You can also obtain this graph by using the glm command.  Note
that the first variable listed in the parentheses after profile will appear on the x-axis.  The second variable listed will indicate the “grouping” variable.

glm y by a b
 /plot = profile(b*a).
Between-Subjects Factors
N
A116
216
B18
28
38
48
Tests of Between-Subjects Effects
Dependent Variable: Y
SourceType III Sum of SquaresdfMean SquareFSig.
Corrected Model217.000(a)731.00040.216.000
Intercept924.5001924.5001199.351.000
A3.12513.1254.054.055
B194.500364.83384.108.000
A * B19.37536.4588.378.001
Error18.50024.771
Total1160.00032
Corrected Total235.50031
a R Squared = .921 (Adjusted R Squared = .899)

B * a

Cite this article

stats writer (2024). How can I plot ANOVA cell means in SPSS?. PSYCHOLOGICAL SCALES. Retrieved from https://scales.arabpsychology.com/stats/how-can-i-plot-anova-cell-means-in-spss/

stats writer. "How can I plot ANOVA cell means in SPSS?." PSYCHOLOGICAL SCALES, 30 Jun. 2024, https://scales.arabpsychology.com/stats/how-can-i-plot-anova-cell-means-in-spss/.

stats writer. "How can I plot ANOVA cell means in SPSS?." PSYCHOLOGICAL SCALES, 2024. https://scales.arabpsychology.com/stats/how-can-i-plot-anova-cell-means-in-spss/.

stats writer (2024) 'How can I plot ANOVA cell means in SPSS?', PSYCHOLOGICAL SCALES. Available at: https://scales.arabpsychology.com/stats/how-can-i-plot-anova-cell-means-in-spss/.

[1] stats writer, "How can I plot ANOVA cell means in SPSS?," PSYCHOLOGICAL SCALES, vol. X, no. Y, ص Z-Z, June, 2024.

stats writer. How can I plot ANOVA cell means in SPSS?. PSYCHOLOGICAL SCALES. 2024;vol(issue):pages.

Download Post (.PDF)
Slide Up
x
PDF
Scroll to Top