Conducting A Path Analysis With SPSS/AMOS
Conducting A Path Analysis With SPSS/AMOS
Download the PATH-INGRAM.sav data file from my SPSS data page and then bring it into
SPSS. The data are those from the research that led to this publication:
Ingram, K. L., Cope, J. G., Harju, B. L., & Wuensch, K. L. (2000). Applying to graduate school: A test
of the theory of planned behavior. Journal of Social Behavior and Personality, 15, 215-226.
Obtain the simple correlations among the variables:
Attitude SubNorm PBC Intent Behavior
One can conduct a path analysis with a series of multiple regression analyses. We shall test a
model corresponding to Ajzen’s Theory of Planned Behavior – look at the model presented in the
article cited above, which is available online. Notice that the final variable, Behavior, has paths to it
only from Intention and PBC. To find the coefficients for those paths we simply conduct a multiple
regression to predict Behavior from Intention and PBC. Here is the output.
Model Summary
Total 16382.583 59
Beta t Sig.
The Beta weights are the path coefficients leading to Behavior: .336 from PBC and .350 from
Intention.
Path-SPSS-AMOS.docx
2
In the model, Intention has paths to it from Attitude, Subjective Norm, and Perceived
Behavioral Control, so we predict Intention from Attitude, Subjective Norm, and Perceived Behavioral
Control. Here is the output:
Model Summary
b
ANOVA
Total 866.583 59
Beta t Sig.
The path coefficients leading to Intention are: .807 from Attitude, .095 from Subjective Norms,
and .126 from Perceived Behavioral Control.
AMOS
Since students at ECU no longer have access to AMOS, I am not going to cover it this
semester.
Now let us use AMOS. The data file is already open in SPSS. Click Analyze, IBM SPSS
AMOS. In the AMOS window which will open click File, New:
3
You are going to draw a path diagram like that on the next page. Click on the “Draw
observed variables” icon which I have circled on the image above. Move the cursor over into the
drawing space on the right. Keep your drawing in the central, white, area – not let it extend into the
gray area bounding it. Hold down the left mouse button while you move the cursor to draw a
rectangle. Release the mouse button and move the cursor to another location and draw another
rectangle. Annoyed that you can’t draw five rectangles of the same dimensions. Do it this way
instead:
Draw one rectangle. Now click the Duplicate Objects icon, boxed in
black in the image to the right, point at that rectangle, hold down the left
mouse button while you move to the desired location for the second
rectangle, and release the mouse button.
You can change the shape of the rectangles later, using the “Change
the shape of objects” tool (boxed in green in the image to the right), and you
can move the rectangles later using the “Move objects” tool (boxed in blue in
the image to the right).
Click on the “List variables in data set” icon (boxed in orange in the
image to the right). From the window that results, drag and drop variable
names to the boxes. A more cumbersome way to do this is: Right-click the
rectangle, select Object Properties, then enter in the Object Properties
window the name of the observed variable. Close the widow and enter
variable names in the remaining rectangles in the same way.
Click the “Analysis properties” icon -- to display the Analysis Properties window. On
the Estimation and Output tabs check boxes as shown below.
5
Click the “View the output path diagram” setting (boxed in red in the image to
the right). You will get the path diagram with unstandardized coefficients.
Click the
“View text” icon
to see
extensive text
output from the
analysis.
7
The Copy to Clipboard icon (green dot, above) can be used to copy the output to another
document via the clipboard. Click the Options icon (red dot, above) to select whether you want to
view/copy just part of the output or all of the output.
Models
Do note that the parameters are estimated by maximum likelihood (ML) methods rather than
by ordinary least squares (OLS) methods. OLS methods minimize the squared deviations between
values of the criterion variable and those predicted by the model. ML (an iterative procedure)
attempts to maximize the likelihood that obtained values of the criterion variable will be correctly
predicted.
Estimate
Intent SubNorm .095
Intent PBC -.126
Intent Attitude .807
Behavior Intent .350
Behavior PBC .336
The path coefficients above match those we obtained earlier by multiple regression.
Estimate
Attitude <--> PBC .665
Attitude <--> SubNorm .472
PBC <--> SubNorm .505
Estimate
Intent .600
Behavior .343
Above are the squared multiple correlation coefficients we saw in the two multiple regressions.
The total effect of one variable on another can be divided into direct effects (no intervening variables
involved) and indirect effects (through one or more intervening variables). Consider the effect of PBC
on Behavior. The direct effect is .336 (the path coefficient from PBC to Behavior). The indirect effect,
through Intention is computed as the product of the path coefficient from PBC to Intention and the
path coefficient from Intention to Behavior, (.126)(.350) = .044. The total effect is the sum of direct
and indirect effects, .336 + (.126) = .292.
10
Standardized Total Effects (Group number 1 - Default model)
The “Standardized Indirect Effect” is what Preacher and Hays (2008) called the “index of
mediation.” It is computed by taking the unstandardized indirect effect coefficient and multiplying it by
the ratio of the standard deviation of X to the standard deviation of Y. For the data here, Attitude’s
indirect effect on Behavior is .675(6.959/16.663) = .282. Behavior increases by .282 standard
deviations for every one standard deviation increase in attitude.
Here are the bootstrapped bias-corrected confidence intervals and p values for the indirect
effects.
Indirect Effects - Two Tailed Significance (BC) (Group number 1 - Default model)
Standardized Indirect Effects - Upper Bounds (BC) (Group number 1 - Default model)
NPAR is the number of parameters in the model. In the saturated (just-identified) model there
are 15 parameters – 5 variances (one for each variable) and 10 path coefficients. For our tested
(default) model there are 13 parameters – we dropped two paths. For the independence model (one
where all of the paths have been deleted) there are five parameters (the variances of the five
variables).
CMIN is a Chi-square statistic comparing the tested model and the independence model to the
saturated model. We saw the former a bit earlier. CMIN/DF, the relative chi-square, is an index of
how much the fit of data to model has been reduced by dropping one or more paths. One rule of
thumb is to decide you have dropped too many paths if this index exceeds 2 or 3.
RMR, GFI
12
Model RMR GFI AGFI PGFI
Default model 3.564 .994 .957 .133
Saturated model .000 1.000
Independence model 36.681 .471 .207 .314
RMR, the root mean square residual, is an index of the amount by which the estimated (by your model)
variances and covariances differ from the observed variances and covariances. Smaller is better, of course.
GFI, the goodness of fit index, tells you what proportion of the variance in the sample variance-
covariance matrix is accounted for by the model. This should exceed .9 for a good model. For the saturated
model it will be a perfect 1. AGFI (adjusted GFI) is an alternate GFI index in which the value of the index is
adjusted for the number of parameters in the model. The fewer the number of parameters in the model relative
to the number of data points (variances and covariances in the sample variance-covariance matrix), the closer
the AGFI will be to the GFI. The PGFI (P is for parsimony), the index is adjusted to reward simple models and
penalize models in which few paths have been deleted. Note that for our data the PGFI is larger for the
independence model than for our tested model.
Baseline Comparisons
These goodness of fit indices compare your model to the independence model rather than to the
saturated model. The Normed Fit Index (NFI) is simply the difference between the two models’ chi-squares
divided by the chi-square for the independence model. For our data, that is (134.142)-.847)/134.142 = .994.
Values of .9 or higher (some say .95 or higher) indicate good fit. The Comparative Fit Index (CFI) uses a
similar approach (with a noncentral chi-square) and is said to be a good index for use even with small samples.
It ranges from 0 to 1, like the NFI, and .95 (or .9 or higher) indicates good fit.
Parsimony-Adjusted Measures
PRATIO is the ratio of how many paths you dropped to how many you could have dropped (all
of them). The Parsimony Normed Fit Index (PNFI), is the product of NFI and PRATIO, and PCFI is
the product of the CFI and PRATIO. The PNFI and PCFI are intended to reward those whose models
are parsimonious (contain few paths).
13
RMSEA
The Root Mean Square Error of Approximation (RMSEA) estimates lack of fit compared to the
saturated model. RMSEA of .05 or less indicates good fit, and .08 or less adequate fit. LO 90 and HI
90 are the lower and upper ends of a 90% confidence interval on this estimate. PCLOSE is the p
value testing the null that RMSEA is no greater than .05.
HOELTER
HOELTER HOELTER
Model
.05 .01
Default model 418 642
Independence model 9 11
If your sample size were larger than this, you would reject the null hypothesis that your model
fit the data just as well as does the saturated model.
Matrix Input
AMOS will accept as input a correlation matrix (accompanied by standard deviations and
sample sizes) or a variance/covariance matrix. The SPSS syntax below would input such a matrix:
14
MATRIX DATA VARIABLES=ROWTYPE_ Attitude SubNorm PBC Intent Behavior.
BEGIN DATA
N 60 60 60 60 60
SD 6.96 12.32 7.62 3.83 16.66
CORR 1
CORR .472 1
CORR .665 .505 1
CORR .767 .411 .458 1
CORR .525 .379 .496 .503 1
END DATA.
After running the syntax you would just click Analyze, AMOS, and proceed as before. If you
had the correlations but not the standard deviations, you could just specify a value of 1 for each
standard deviation. You would not be able to get the unstandardized coefficients, but they are
generally not of interest anyhow.
AMOS Files
Amos creates several files during the course of conducting a path analysis. Here is what I
have learned about them, mostly by trial and error.
.amw = a path diagram, with coefficients etc.
.amp = table output – all the statistical output details. Open it with the AMOS file manager.
.AmosOutput – looks the same as .amp, but takes up more space on drive.
.AmosTN = thumbnail image of path diagram
*.bk# -- probably a backup file
AMOS Bugs
The last time I taught this lesson (October, 2014), with the students drawing the path diagram
etc., when we asked for the analysis about half of us were told that one or more variables were not
named. Checking the properties of each element of the diagram, we confirmed that all variables were
named. I have encountered this error much too often, and my experience has been that the only way
to resolve it is to start all over again. Very annoying !
The last time I renewed the license code for AMOS, every time I tried to run AMOS it told me
the license had expired, despite the license authorization wizard having told me that the license had
been successfully renewed and would not expire until the following year. I had to completely uninstall
and then reinstall AMOS to get it to work.
15
Notes
To bring a path diagram into Word, just Edit, Copy to Clipboard, and then paste it into Word.
If you pull up an .amw path diagram but have not specified an input data file, you cannot alter
the diagram and re-analyze the data. The .amw file includes the coefficients etc., but not the input
data.
If you input an altered data file and then call up the original .amw, you can Calculate
Estimates again and get a new set of coefficients etc. WARNING – when you exit you will find that
the old .amp and .AmosOutput have been updated with the results of the analysis on the modified
data. The original .amw file remains unaltered.
Links
Introduction to Path Analysis – maybe more than you want to know.
Wuensch’s Stats Lessons Page
Karl L. Wuensch
Dept. of Psychology
East Carolina University
Greenville, NC 27858-4353
July, 2017