AMOS - Analysis of Moment Structures: HIV Prevention Center University of Kentucky
AMOS - Analysis of Moment Structures: HIV Prevention Center University of Kentucky
Structures
Confirmatory
Factor Next Workshop:
Factor
Analysis November 9
Analysis
See you there!
Exploratory
Factor
Analysis
Structural Equation Modeling
(SEM)
Exogenous variables=independent
Endogenous variables =dependent
Observed variables =measured
Latent variables=unobserved
Structural Equation Graphs
.10 : R2
Observed
Error Variable
.15 : Loading
Latent
Variable
Example: Condom Use Model
Observed variables for
Impulsive decision making Respondent Sex
SEX1
Impulsive
Impulsive
Decision Making FRBEHB1
ISSUEB1
Legend Peer norms about
condoms SXPYRC1 Condom attitude
Observed Latent
Variables Variables
SEX1
Impulsive
Independent
FRBEHB1
ISSUEB1
Legend Dependent
SXPYRC1 Dependent
Observed Latent
Variables Variables
SEX1
Impulsive
efr1 FRBEHB1
ISSUEB1 eiss
Legend
SXPYRC1
Observed Latent
Variables Variables
.15 eSXYRC1
Loadings
Example: Condom Use Model
eidm1 eidm2 eidm2 eidm4
SEX1
Impulsive
efr1 FRBEHB1
ISSUEB1 eiss
Legend
SXPYRC1
Observed Latent
Variables Variables
.15 eSXYRC1
Loadings
Example: Condom Use Model
eidm1 eidm2 eidm2 eidm4
.15 eSXYRC1
Loadings
SEM Assumptions
A Reasonable Sample Size
a good rule of thumb is 15 cases per predictor in a
standard ordinary least squares multiple regression
analysis.
[ “Applied Multivariate Statistics for the Social Sciences”,
by James Stevens]
researchers may go as low as five cases per
parameter estimate in SEM analyses, but only if the
data are perfectly well-behaved
[Bentler and Chou (1987)]
Usually 5 cases per parameter is equivalent to 15
measured variables.
SEM Assumptions (cont’d)
Continuously and Normally Distributed
Endogenous Variables
MCAR
Missing Completely at Random
MAR
Missing at Random
MNAR
Missing Not at Random
Handling Missing data in SEM
Listwise
Pairwise
Mean substitution
Regression methods
Expectation Maximization (EM) approach
Full Information Maximum Likelihood (FIML)**
Multiple imputation(MI)**
AMOS Basic
runs SEM models using syntax
Starting AMOS Graphics
DATASET:
AMOS_data_valid_condom.sav
Drawing in AMOS
In Amos Graphics, a model can be
specified by drawing a diagram on the
screen 1. To draw an observed variable, click
"Diagram" on the top menu, and
click "Draw Observed." Move the
cursor to the place where you want
to place an observed variable and
click your mouse. Drag the box in
order to adjust the size of the box.
You can also use in the tool
box to draw observed variables.
2. Unobserved variables can be drawn
similarly. Click "Diagram" and
"Draw Unobserved." Unobserved
variables are shown as circles.
You may also use in the toolbox
to draw unobserved variables.
Drawing in AMOS
To draw a path, Click “Diagram” on the top menu and
click “Draw Path”.
Instead of using the top menu, you may use the Tool
Box buttons to draw arrows ( and ).
Drawing in AMOS
To draw Error Term to the observed and unobserved
variables.
Use “Unique Variable” button in the Tool Box. Click
and then click a box or a circle to which you want to
add errors or a unique variables.(When you use "Unique
Variable" button, the path coefficient will be automatically
constrained to 1.)
Drawing in AMOS
Let us draw:
1 1
1
Naming the variables in AMOS
double click on the objects in the path
diagram. The Object Properties dialog box
appears.
• OR
Click on the Text tab and
enter the name of the
variable in the Variable name
field:
Naming the variables in AMOS
Example: Name the variables
IDM SEX1
FRBEHB1 ISSUEB1
1 1
efr1 eiss
SXPYRC1
eSXPYRC1
Constraining a parameter in AMOS
The scale of the latent variable or variance of the
latent variable has to be fixed to 1.
Double click on the
arrow between EXPYA2
and SXPYRA2.
The Object Properties
dialog appears.
Click on the Parameters
tab and enter the value
“1” in the Regression
weight field:
Improving the appearance
of the path diagram
You can change the appearance of your path diagram
by moving objects around
To move an object, click on the Move icon on the
toolbar. You will notice that the picture of a little moving
truck appears below your mouse pointer when you
move into the drawing area. This lets you know the
Move function is active.
Then click and hold down your left mouse button on the
object you wish to move. With the mouse button still
depressed, move the object to where you want it, and
let go of your mouse button. Amos Graphics will
automatically redraw all connecting arrows.
Improving the appearance of the
path diagram
To change the size and shape of an object, first
press the Change the shape of objects icon on the
toolbar.
You will notice that the word “shape” appears
under the mouse pointer to let you know the
Shape function is active.
Click and hold down your left mouse button on the
object you wish to re-shape. Change the shape of
the object to your liking and release the mouse
button.
Change the shape of objects also works on two-
headed arrows. Follow the same procedure to
change the direction or arc of any double-headed
arrow.
Improving the appearance of the
path diagram
If you make a mistake, there are always
three icons on the toolbar to quickly bail you
out: the Erase and Undo functions.
Estimate
Unstandardized -.02
Standardized -.08
.17
.25
.02 .06
1.94
1 1 1.36
.15
0.15 is the squared multiple
correlation between
SXPYRC1 SXPYRC1
1
2.80 Condom use and
eSXPYRC1 ALL OTHER variables eSXPYRC1
How to read the
Output in AMOS
Chi-square
decrease
Modifying the Model using AMOS
2.38, .17 -.02 1.45, .25
IDM SEX1
-.57 -.28
-.38 .30
3.74
5.58
FRBEHB1 ISSUEB1
0, 1.94 1 1 0, 1.36
efr1 .49 .16 eiss
.17
3.08 SXPYRC1
1 0, 2.80
eSXPYRC1
IDM SEX1
-.18 -.09
-.10 .12
.02 .05
FRBEHB1 ISSUEB1
efr1 eiss
.37 .08
.14
SXPYRC1
eSXPYRC1
Missing data in AMOS
idm1 0,
Confirmatory Factor Analysis with
Impulsive Decision Making scale
Multiple
Correlation
e1 e2 e3 e4
idm1 Factor
Loadings
1
0,
idm1
Confirmatory Factor Analysis with
Impulsive Decision Making scale:
error variances are the same
Click MODEL FIT , then Manage Models
In the Manage Models window, click on New.
In the Parameter Constraints segment of the window
type “e1=e2=e3=e4”
1 1 1 1 1 1 1 1
idm1
idm1
Chi-squaredifference=56.826-11.621=45.205
df=5-3=2
Chi-squarecritical value=5.99 Significant
Model 2 with Equal error variances fits WORSE
than Model 1
Confirmatory Factor Analysis with
Impulsive Decision Making scale:
error variances are the same
-.62 -.64
-.28 -.38
4.35 2.72
4.12 3.06
3.63 2.16
SXPYRC1 SXPYRC1
1 1
0, 2.95 0, 2.56
eSXPYRC1 eSXPYRC1
-.50 -.50
-.45 -.45
4.35 2.72
4.12 3.06
FRBEHB1 ISSUEB1
FRBEHB1 ISSUEB1
1 1 0, 1.51
SXPYRC1 2.16
1 SXPYRC1
0, 2.95
eSXPYRC1 1
0, 2.56
Chi-squarediff =68.901-65.119=2.282
df=29-26=3 NOT SIGNIFICANT
The model fits better than expected in 496 samples out of 500 samples
(500-496)/500=0.010
So, p-value=0.01 < 0.05 - Model does not fit to the data very well
Handling non-normal data:Bollen-Stine
bootstrapping p-value
Overall Model Fit:
Chi-square=12.88;
Degrees of freedom = 3
1 3.841
2 5.991
3 7.815
4 9.488
5 11.070
6 12.592
7 14.067
8 15.507
9 16.919
10 18.307
11 19.675