AMOS Note
AMOS Note
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
1
Contents
T1: Introduction
T2: Linear Regression & Correlation in SEM
T=
T3: Measurement & Structural models To
pic
T4: AMOS graphic & practice designing models
T5: AMOS output and interpretation
T6: Hypothesis testing
T7: Comparison of models
T8: Managing groups
T9: If model doesn’t fit …
T10: Specification search (exploratory analysis)
T11: Normality and outliers
T12: Bootstrapping
T13: Bayesian’s Estimation
T14: Others (missing data, sample size issues)
2
Structural Equation Modeling
using AMOS
T1: INTRODUCTION
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
3
Contents
4
Structural Equation Modeling
• Linear Modeling (basic analyses involved are
correlation and regression)
• Model for numerical outcome
• Variables that we don’t measure (construct)
can be included.
• Confirmatory analyses can be done.
• Two types of models involved … “structural
model” and “measurement model”
5
Structural Equation Modeling
• Various names:
– Structural Equation Modeling
– Analysis of Moment Structure (AMOS)
– Analysis of Covariance Structure
– Causal modeling!!!
6
Structural Equation Modeling
• How we approach to learn …
– Linear regression using SEM
– Correlation using SEM
– Structural model in SEM
– Measurement model in SEM
– More complex models
7
About AMOS
• AMOS software has graphic interface –
makes very user friendly
• Use to analyze the advanced level of SEM
8
About AMOS
• Some basic rules in AMOS
– (A) Single-headed arrow (unidirectional) is “regression”.
– (B) Double-headed arrow (bidirectional) is “correlation”.
– (C) A variable in square box is “measured” variable.
– (D) A variable in oval or rounded box is “unmeasured”
variable.
Knowledge, value and
C satisfaction are exogenous
variable (predictor or
A independent variable).
B Performance is endogenous
variable (response,
D outcome or dependent
variable)
9
About AMOS
What is ‘moment structure’?
Central moment in Math
µn = E (( X - µ )n )
n = 1, the first moment, µ1= 0
n = 2, the second moment, µ2= variance
n = 3, the third moment, µ3 skewness
n = 4, the fourth moment, µ4 kurtosis
In SEM, variance & covariance are basic
analyses.
10
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
11
Linear Regression
• Simple Linear Regression
Y = a + bX + e
Performance = a + b*Knowledge + e
b
Knowledge Performance e
12
Linear Regression
• Multiple Linear Regression
Y = b0 + b1X1 + b2X2 + b3X3……. + e
Performance = b0 + b1*Knowledge + b2*Value +
b3*Satisfaction + error
Knowledge b1
b2
Value Performance e
b3
Satisfaction
13
Linear Regression
Using kvsperform1.sav
Run SPSS and see!
Unstandardized
Standardized
14
Correlation
• Simple Correlation (Bivariate)
Correlation between X and Y
Correlation between Knowledge and
Performance
r
Knowledge Performance
15
Correlation
• Multiple (Bivariate) Correlations
Using kvsperform1.sav
16
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
17
Measurement model
Ex08.amw
• Factor analysis Showing 2 measurement models
Latent variable or unmeasured variable
Arrow is from 'unmeasured' to
'measured' variable
Notice the regression coeff. '1'
18
Measurement model
Ex08.amw
• Factor analysis Notice 'arrow' from 'unmeasured' to
'measured' variable
Using 3 tests, we are measuring a construct,
which is called 'spatial'.
'Spatial' is a construct which we cannot
measure directly.
19
Measurement model
Ex08.amw
• Factor analysis Notice the regression coeff. '1'
Expenditure:
A Book RM100 RM 100
A Pen US$ 2 RM 7
A Ruler S$ 2 RM 5
What is the total cost? RM 112
20
Structural model
• Regression & correlation
21
Mixed model
Ex06a
22
Mixed model
Ex06a
23
Can we use categorical variable?
Experimental study
24
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
25
Start Menu bars
Working
Programs place
Manage Groups
Amos 7/16 Manage Models
Display parameter format
Amos
Graphics
Computation summary
27
Practice designing a model
Using kvsperform1.sav
Five Tasks
1. Design the model
2. Connect to the data file
3. Select some options for
analysis
4. Run the analysis
5. Check AMOS output
28
Practice designing a model
Using c:\......\Grnt_fem.sav
Five Tasks
1. Design the model
2. Connect to the data file
3. Select some options for
analysis
4. Run the analysis
5. Check AMOS output
29
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
30
Important Results
31
Unstandardized / Standardized
Unstandardized Standardized
S.H. arrow b (reg. weight) Standardized b
D.H. arrow Covariance Correlation
Variables Variance r2 (Sq Multiple Corr.)a
a on endogenous variables (response, dependent variable)
Using kvsperform1.sav
Unstandardized Standardized
32
Model-fit measures
Saturated model and the tested (default) model were compared.
If it is not significant, the two models are not different.
Then, the tested (default) model is considered 'fit' in SEM language.
Using kvsperform2.sav
34
Total / Direct / Indirect effects
Unstandardized total / direct / indirect effects
Using kvsperform1.sav
Knowledge Performance
Direct = 1.026
Indirect = (0.968*0.978)+(0.861*1.117)
= 1.908
Total = 2.934
35
Total / Direct / Indirect effects
Visit e
x ample
Standardized total/direct/indirect effects p aper
Using kvsperform1.sav
Knowledge Performance
Direct = 0.246
Indirect = (0.708*0.321)+(0.569*0.406)
= 0.458
Total = 0.704
36
Try Factor Analysis
Confirmatory common factor analysis
mw )
8.a .sav Two common factors:
x 0 m Spatial and verbal abilities
E t_fe
rn
(G
Two common factors are correlated
(if uncorrelated, it is orthogonal).
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
38
Hypothesis testing
Using kvsperform2.sav
Let's test whether correlation between knowledge and value is 'zero' or not?
You may also test whether it is different from any other value say (0.5) or not?
39
Hypothesis testing
Using kvsperform2.sav
Let's test whether the variances of knowledge and value are equal or not?
1
1. Click "view the input path diagram."
2. Right click on variable "knowledge" and select
"Object Properties."
3. Enter 'var1' to "Variance" box in 'Parameters tab.'
4. Do the same thing for "value."
5. Run the analysis
5. Chi-square = 0.18, df = 1, P = 0.675
6. It means that the variances are not significantly
different.
3
40
Hypothesis testing
Using kvsperform2.sav
Let's test whether the means of knowledge and value equal or not?
41
ch
r a ppr
o a
Hypothesis testing
t he
o
An
Using kvsperform2.sav
Let's test whether the means of knowledge and value equal or not?
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
43
av Comparison of models
2. s
rm
fo
A B
r
pe
vsk
ing
Us
Let's test whether the two models are different or not? What does it mean?
If we remove 2 double-headed arrows (between knowledge and value and between value and
satisfaction) from model A, does it change significantly?
1. We assign "cor1" and "cor2" for 2 correlation.
2. Analyse >>> Manage Models…
3. Change “Default model” to “Model A”
4. Click "New" 5
5. Type "Model B" in Model Name
6. Type "cor1=cor2=0" in "Parameter Constraints"
7. Run the analysis
8. AMOS output --> Model Comparison 6
9. Find the P value (0.439)
44
av Comparison of models
2. s
rm
fo
A B
r
pe
vsk
ing
Us
Let's test whether the two models are different or not? What does it mean?
If we remove 1 double-headed arrow (between knowledge and value) from the model A, does
it change significantly?
1. We assign "cor1" between knowledge and value.
2. Analyse >>> Manage Models…
3. Change “Default model” to “Model A” 4
4. Click "New"
5. Type "Model B" in Model Name
6. Type "cor1=0" in "Parameter Constraints"
7. Run the analysis
8. AMOS output --> Model Comparison 5
9. Find the P value (0.558)
45
av Comparison of models
2. s
rm
fo
A B
r
pe
vsk
ing
Us
This P value: Compairing with saturated model This P value: Compairing with saturated model
Model Comparison
between A & B
46
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
47
av Managing Groups
2. s
rm
fo
2
Us
49
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
50
If model doesn't fit?
For confirmatory analyses, if model doesn't fit,
we just report.
For exploratory analyses, we continue to
explore which model could fit better.
51
av
fo
rm
2. s
If model doesn't fit?
Using Modification index
r
pe
vsk
ing
Us
Say, this is an exploratory study. Logic, Formal, Intuitive, and DL_C are
attitude variables. These attitudes of teachers could determine their teaching
practice (Repeat, Exercise, DL_P, and Creative). Researchers consider that Repeat
and Exercise are “Old” teaching styles and DL_P and Creative are “New” teaching
styles.
Let’s explore this study ….. try using modification indices to improve the model.
53
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
54
Specification Search
For exploratory study
Using teaching practice.sav
55
Add all the terms that we would like to test …
Correlation between attitude variables, correlation between unique variables, and
more regression lines from attitudes to two latent variables.
1. Go to View -> Analysis Properties -> under Numerical tab, change iteration limit
to 50.
2. Go to Analyse -> Specification Search;
3. Click this icon ; Then click on the lines that we want to test;
4. Click "option" ; select "next search" and click "stepwise"
5. Run the analysis
56
The output can be sorted by, e.g. click on P value. The best model is underlined.
Double clicking on the row will show you the model on the path diagram. Decide
(Choose) the model carefully. It should be biologically plausible.
57
Specification Search
mw v)
8.a .sa
0 m
Ex t_fe
G rn
(
Remove reg. coeff. 1 on 2 measurement model; set variance 1 for spatial and
verbal; make all regression lines to optional;
Go to option, next search, and use "All subsets" (more sure to get good model)
58
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
59
Normality (univariate and multivariate)
60
Mahalanobis distance (MD) to detect (multivariate) outliers
df CP on MD2 CP on MD
1 5.02 2.24
2 7.38 2.72
3 9.35 3.06
4 11.14 3.34
5 12.83 3.58
6 14.45 3.80
7 16.01 4.00
Bigger value of MD reflects more distant. 8 17.53 4.19
Generally, cut point for MD2 is X2df(0.975) . 9 19.02 4.36
(If df=1, all MD2 above 5.02 are outliers) 10 20.48 4.53
11 21.92 4.68
* p1 and p2 are the position of data point on 12 23.34 4.83
the two axes plot (like scatter diagram). 13 24.74 4.97
14 26.12 5.11
15 27.49 5.24
Ref: Wing-Kam Fung (1999). Outlier Diagnostics in Several Multivariate CP = cut point
Samples. The Statistician, Vol. 48, No. 1 (1999), pp. 73-84.
61
Structural Equation Modeling
using AMOS
T12: Bootstrapping
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
62
Bootstrapping
► SEM needs normal distribution assumption.
► All results obtained earlier based on formula (based on normality assumption)
► Bootstrapping is … not based on any distribution, not using any formula.
► In bootstrapping, repeated sampling is done (e.g. 500 times) from the sample
and calculate the Standard Errors which do not need any distribution
assumption.
How to do?
In Analysis Properties, under
“Bootstrap” tab, do the following:
Average of
regression coeff.
64
► Not only that, traditional methods do not have formula to calculate 95% CI for
some statistics (e.g. R2). Bootstrap can do this.
65
Structural Equation Modeling
using AMOS
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
66
Bayesian Estimation
► Inferential statistics using Maximum Likelihood Estimation or Least-square
estimation: Population parameter is totally unknown & fixed.
► But in Bayesian approach, it is considered unknown but random, and allows to
use whatever known information to add to the analysis.
► E.g. A test score is 0 to 100. We are sure that the mean score of a group must
be between 0 and 100, and the variance is between 0 & 502. If we put a little
more effort, we may come up with a narrower range than this. This is called
"Prior distribution" (known information before analysis).
► The parameter is not totally unknown but proposed with distribution.
► This "prior distribution", together with the information from the existing data,
the estimation is made (i.e. Posterior distribution).
► What is the benefit? Adding prior information into analysis, the estimation
becomes more efficient (smaller CI width for the same sample size) and more
power to reject the null with the same sample size.
► This facility is available in AMOS.
67
Bayesian Estimation
kvsperform2.sav Traditional result:
► How to do?
► View -> Analysis properties -> Estimation -> Estimate
means and intercepts
► Analyze -> Bayesian estimation : then Bayesian estimation
starts.
68
Number of samples taken
►Right click on one
row. Select "Show
prior"
►Enter the range of
prior distribution.
by
Lin Naing @ Mohd. Ayub Sadiq
PAPRSB Institute of Health Sciences
Universiti Brunei Darussalam
70
Sample size issue:
AMOS 6.0 guideline (p 70):
The table shows that we need
sample size of 200 and above in
order to get correct P value (in
testing correlation using t test.)
► Listwise deletion
► Pairwise deletion
► Data imputation (missing replacement)
All methods assume that data are missing at random.
72
Missing data handling (Ch 17, 18, 30 & 31):
Ex
1 7. a
Available Data Imputation in AMOS: m
w
74
Thank you
very much.