introduction to structural equation...

35
Applied Statistics With R Introduction to Structural Equation Modelling John Fox WU Wien May/June 2006 © 2006 by John Fox

Upload: others

Post on 29-Jul-2020

15 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Applied Statistics With R

Introduction to Structural Equation Modelling

John Fox

WU Wien

May/June 2006

© 2006 by John Fox

Page 2: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 1

1. Introduction• Structural-equation models (SEMs) are multiple-equation regression

models in which the response variable in one regression equation canappear as an explanatory variable in another equation.– Indeed, two variables in an SEM can even affect one-another

reciprocally, either directly, or indirectly through a “feedback” loop.

• Structural-equation models can include variables that are not measureddirectly, but rather indirectly through their effects (called indicators) or,sometimes, through their observable causes.– Unmeasured variables are variously termed latent variables, con-

structs, or factors.

• Modern structural-equation methods represent a confluence of work inmany disciplines, including biostatistics, econometrics, psychometrics,and social statistics. The general synthesis of these various traditionsdates to the late 1960s and early 1970s.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 2

• This introduction to SEMs takes up several topics:– The form and specification of observed-variables SEMs.– Instrumental variables estimation.– The “identification problem”: Determining whether or not an SEM,

once specified, can be estimated.– Estimation of observed-variable SEMs.– Structural-equation models with latent variables, measurement errors,

and multiple indicators.– The “LISREL” model: A general structural-equation model with latent

variables.

• We will estimate SEMs using the sem package in R.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 3

2. Specification of Structural-EquationModels• Structural-equation models are multiple-equation regression models

representing putative causal (and hence structural) relationships amonga number of variables, some of which may affect one another mutually.– Claiming that a relationship is causal based on observational data is

no less problematic in an SEM than it is in a single-equation regressionmodel.

– Such a claim is intrinsically problematic and requires support beyondthe data at hand.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 4

• Several classes of variables appears in SEMs:– Endogenous variables are the response variables of the model.∗ There is one structural equation (regression equation) for each

endogenous variable.∗ An endogenous variable may, however, also appear as an explana-

tory variable in other structural equations.∗ For the kinds of models that we will consider, the endogenous

variables are (as in the single-equation linear model) quantitativecontinuous variables.

– Exogenous variables appear only as explanatory variables in thestructural equations.∗ The values of exogenous variables are therefore determined outside

of the model (hence the term).∗ Like the explanatory variables in a linear model, exogenous variables

are assumed to be measured without error (but see the laterdiscussion of latent-variable models).

John Fox WU Wien May/June 2006

Page 3: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 5

∗ Exogenous variables can be categorical (represented, as in a linearmodel, by dummy regressors or other sorts of contrasts).

– Structural errors (or disturbances) represent the aggregated omittedcauses of the endogenous variables, along with measurement error(and possibly intrinsic randomness) in the endogenous variables.∗ There is one error variable for each endogenous variable (and hence

for each structural equation).∗ The errors are assumed to have zero expectations and to be

independent of (or at least uncorrelated with) the exogenousvariables.∗ The errors for different observations are assumed to be independent

of one another, but (depending upon the form of the model) differenterrors for the same observation may be related.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 6

∗ Each error variable is assumed to have constant variance acrossobservations, although different error variables generally will havedifferent variances (and indeed different units of measurement —the square units of the corresponding endogenous variables).∗ As in linear models, we will sometimes assume that the errors are

normally distributed.

• I will use the following notation for writing down SEMs:– Endogenous variables: yk, yk0– Exogenous variables: xj, xj0– Errors: εk, εk0

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 7

– Structural coefficients (i.e., regression coefficients) representing thedirect (partial) effect∗ of an exogenous on an endogenous variable, xj on yk: γkj (gamma).· Note that the subscript of the response variable comes first.∗ of an endogenous variable on another endogenous variable, yk0 onyk: βkk0 (beta).

– Covariances between∗ two exogenous variables, xj and xj0: σjj0∗ two error variables, εk and εk0: σkk0

– When we require them, other covariances are represented similarly.– Variances will be written either as σ2j or as σjj (i.e., the covariance of a

variable with itself), as is convenient.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 8

2.1 Path Diagrams• An intuitively appealing way of representing an SEM is in the form of

a causal graph, called a path diagram. An example, from Duncan,Haller, and Portes’s (1968) study of peer influences on the aspirations ofhigh-school students, appears in Figure 1.

• The following conventions are used in the path diagram:– A directed (single-headed) arrow represents a direct effect of one

variable on another; each such arrow is labelled with a structuralcoefficient.

– A bidirectional (two-headed) arrow represents a covariance, betweenexogenous variables or between errors, that is not given causalinterpretation.

– I give each variable in the model (x, y , and ε) a unique subscript; I findthat this helps to keep track of variables and coefficients.

John Fox WU Wien May/June 2006

Page 4: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 9

x1

x2

x3

x4

y5

y6

ε7

ε8

σ78σ14

γ51

γ52

γ63

γ64

β56 β65

Figure 1. Duncan, Haller, and Portes’s (nonrecursive) peer-influencesmodel: x1, respondent’s IQ; x2, respondent’s family SES; x3, best friend’sfamily SES; x4, best friend’s IQ; y5 , respondent’s occupational aspiration;y6, best friend’s occupational aspiration. So as not to clutter the diagram,only one exogenous covariance, σ14, is shown.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 10

• When two variables are not linked by a directed arrow it does notnecessarily mean that one does not affect the other:– For example, in the Duncan, Haller, and Portes model, respondent’s

IQ (x1) can affect best friend’s occupational aspiration (y6), but onlyindirectly, through respondent’s aspiration (y5).

– The absence of a directed arrow between respondent’s IQ and bestfriend’s aspiration means that there is no partial relationship betweenthe two variables when the direct causes of best friend’s aspiration areheld constant.

– In general, indirect effects can be identified with “compound paths”through the path diagram.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 11

2.2 Structural Equations• The structural equations of a model can be read straightforwardly from

the path diagram.– For example, for the Duncan, Haller, and Portes peer-influences

model:y5i = γ50 + γ51x1i + γ52x2i + β56y6i + ε7iy6i = γ60 + γ63x3i + γ64x4i + β65y5i + ε8i

– I’ll usually simplify the structural equations by(i) suppressing the subscript i for observation;(ii) expressing all x’s and y ’s as deviations from their populations

means (and, later, from their means in the sample).– Putting variables in mean-deviation form gets rid of the constant terms

(here, γ50 and γ60) from the structural equations (which are rarely ofinterest), and will simplify some algebra later on.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 12

– Applying these simplifications to the peer-influences model:y5 = γ51x1 + γ52x2 + β56y6 + ε7y6 = γ63x3 + γ64x4 + β65y5 + ε8

John Fox WU Wien May/June 2006

Page 5: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 13

2.3 Matrix Form of the Model• It is sometimes helpful (e.g., for generality) to cast a structural-equation

model in matrix form.

• To illustrate, I’ll begin by rewriting the Duncan, Haller and Portes model,shifting all observed variables (i.e., with the exception of the errors)to the left-hand side of the model, and showing all variables explicitly;variables missing from an equation therefore get 0 coefficients, while theresponse variable in each equation is shown with a coefficient of 1:

1y5 − β56y6 − γ51x1 − γ52x2 + 0x3 + 0x4 = ε7−β65y5 + 1y6 + 0x1 + 0x2 − γ63x3 − γ64x4 = ε8

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 14

• Collecting the endogenous variables, exogenous variables, errors, andcoefficients into vectors and matrices, we can write∙

1 −β56−β65 1

¸ ∙y5y6

¸+

∙ −γ51 −γ52 0 00 0 −γ63 −γ64

¸⎡⎢⎢⎣x1x2x3x4

⎤⎥⎥⎦ = ∙ ε7ε8¸

• More generally, where there are q endogenous variables (and henceq errors) and m exogenous variables, the model for an individualobservation is

B(q×q)

yi(q×1)

+ Γ(q×m)

xi(m×1)

= εi(q×1)

– The B and Γ matrices of structural coefficients typically contain some0 elements, and the diagonal entries of the B matrix are 1’s.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 15

• We can also write the model for all n observations in the sample:Y(n×q)

B0(q×q)

+ X(n×m)

Γ0(m×q)

= E(n×q)

– I have transposed the structural-coefficient matrices B and Γ, writingeach structural equation as a column (rather than as a row), so thateach observation comprises a row of the matrices Y, X , and E ofendogenous variables, exogenous variables, and errors.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 16

2.4 Recursive, Block-Recursive, and NonrecursiveStructural-Equation Models• An important type of SEM, called a recursive model, has two defining

characteristics:(a) Different error variables are independent (or, at least, uncorrelated).(b) Causation in the model is unidirectional: There are no reciprocal

paths or feedback loops, as shown in Figure 2.

• Put another way, the B matrix for a recursive SEM is lower-triangular,while the error-covariance matrix Σεε is diagonal.

• An illustrative recursive model, from Blau and Duncan’s seminalmonograph, The American Occupational Structure (1967), appears inFigure 3.– For the Blau and Duncan model:

John Fox WU Wien May/June 2006

Page 6: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 17

reciprocalpaths

a feedbackloop

yk yk’ yk yk’

yk”

Figure 2. Reciprocal paths and feedback loops cannot appear in a recur-sive model.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 18

x1

x2

y3

y4

y5

ε6

ε7

ε8

σ12γ32 γ52

γ31

γ42

β43

β53

β54

Figure 3. Blau and Duncan’s “basic stratification” model: x1, father’s edu-cation; x2, father’s occupational status; y3, respondent’s (son’s) education;y4, respondent’s first-job status; y5, respondent’s present (1962) occupa-tional status.John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 19

B =

⎡⎣ 1 0 0−β43 1 0−β53 −β54 1

⎤⎦Σεε =

⎡⎣ σ26 0 00 σ27 00 0 σ28

⎤⎦• Sometimes the requirements for unidirectional causation and indepen-

dent errors are met by subsets (“blocks”) of endogenous variables andtheir associated errors rather than by the individual variables. Such asmodel is called block recursive.

• An illustrative block-recursive model for the Duncan, Haller, and Portespeer-influences data is shown in Figure 4.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 20

x1

x2

x3

x4

y5

y6

ε9

ε10

y7

y8

ε11

ε12

block 1

block 2

Figure 4. An extended, block-recursive model for Duncan, Haller, andPortes’s peer-influences data: x1, respondent’s IQ; x2, respondent’s familySES; x3, best friend’s family SES; x4, best friend’s IQ; y5 , respondent’soccupational aspiration; y6, best friend’s occupational aspiration; y7, re-spondent’s educational aspiration; y8, best friend’s educational aspiration.John Fox WU Wien May/June 2006

Page 7: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 21

– Here

B =

⎡⎢⎢⎣1 −β56 0 0−β65 1 0 0−β75 0 1 −β780 −β86 −β87 1

⎤⎥⎥⎦=

∙B11 0B12 B22

¸

Σεε =

⎡⎢⎢⎣σ29 σ9,10 0 0σ10,9 σ210 0 00 0 σ211 σ11,120 0 σ12,11 σ212

⎤⎥⎥⎦=

∙Σ11 00 Σ21

¸• A model that is neither recursive nor block-recursive (such as the model

for Duncan, Haller and Portes’s data in Figure 1) is termed nonrecursive.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 22

3. Instrumental-Variables Estimation• Instrumental-variables (IV) estimation is a method of deriving estimators

that is useful for understanding whether estimation of a structuralequation model is possible (the “identification problem”) and for obtainingestimates of structural parameters when it is.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 23

3.1 Expectations, Variances and Covariances ofRandom Variables• It is helpful first to review expectations, variances, and covariances of

random variables:– The expectation (or mean) of a random variable X is the average

value of the variable that would be obtained over a very large numberof repetitions of the process that generates the variable:∗ For a discrete random variable X,

E(X) = µX =Xall x

xp(x)

where x is a value of the random variable and p(x) = Pr(X = x).∗ I’m careful here (as usually I am not) to distinguish the random

variable (X) from a value of the random variable (x).

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 24

∗ For a continuous random variable X,

E(X) = µX =

Z +∞

−∞xp(x)dx

where now p(x) is the probability-density function of X evaluated atx.

– Likewise, the variance of a random variable is∗ in the discrete case

Var(X) = σ2X =Xall x

(x− µX)2p(x)

∗ and in the continuous case

Var(X) = σ2X =

Z +∞

−∞(x− µX)

2p(x)dx

∗ In both casesVar(X) = E

£(X − µX)

John Fox WU Wien May/June 2006

Page 8: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 25

∗ The standard deviation of a random variable is the square-root of thevariance:

SD(X) = σX = +qσ2X

– The covariance of two random variables X and Y is a measure of theirlinear relationship; again, a single formula suffices for the discrete andcontinuous case:

Cov(X,Y ) = σXY = E [(X − µX)(Y − µY )]

∗ The correlation of two random variables is defined in terms of theircovariance:

Cor(X,Y ) = ρXY =σXY

σXσY

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 26

3.2 Simple Regression• To understand the IV approach to estimation, consider first the following

route to the ordinary-least-squares (OLS) estimator of the simple-regression model,

y = βx + εwhere the variables x and y are in mean-deviation form, eliminating theregression constant from the model; that is, E(y) = E(x) = 0.– By the usual assumptions of this model, E(ε) = 0; Var(ε) = σ2ε; andx, ε are independent.

– Now multiply both sides of the model by x and take expectations:xy = βx2 + xε

E(xy) = βE(x2) +E(xε)

Cov(x, y) = βVar(x) + Cov(xε)σxy = βσ2x + 0

where Cov(xε) = 0 because x and ε are independent.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 27

– Solving for the regression coefficient β,β =

σxyσ2x

– Of course, we don’t know the population covariance of x and y, nordo we know the population variance of x, but we can estimate both ofthese parameters consistently:

s2x =

P(xi − x)2

n− 1sxy =

P(xi − x)(yi − y)

n− 1In these formulas, the variables are expressed in raw-score form, andso I show the subtraction of the sample means explicitly.

– A consistent estimator of β is then

b =sxys2x=

P(xi − x)(yi − y)P(xi − x)2

which we recognize as the OLS estimator.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 28

• Imagine, alternatively, that x and ε are not independent, but that ε isindependent of some other variable z.– Suppose further that z and x are correlated — that is, Cov(x, z) 6= 0.– Then, proceeding as before, but multiplying through by z rather than

by x (with all variable expressed as deviations from their expectations):zy = βzx + zε

E(zy) = βE(zx) +E(zε)

Cov(z, y) = βCov(z, x) + Cov(zε)σzy = βσzx + 0

β =σzyσzx

where Cov(zε) = 0 because z and ε are independent.– Substituting sample for population covariances gives the instrumental

variables estimator of β:

bIV =szyszx

=

P(zi − z)(yi − y)P(zi − z)(xi − x)

John Fox WU Wien May/June 2006

Page 9: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 29

∗ The variable z is called an instrumental variable (or, simply, aninstrument).∗ bIV is a consistent estimator of the population slope β, because the

sample covariances szy and szx are consistent estimators of thecorresponding population covariances σzy and σzx.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 30

3.3 Multiple Regression• The generalization to multiple-regression models is straightforward.

– For example, for a model with two explanatory variables,y = β1x1 + β2x2 + ε

(with x1, x2, and y all expressed as deviations from their expectations).– If we can assume that the error ε is independent of x1 and x2, then we

can derive the population analog of estimating equations by multiplyingthrough by the two explanatory variables in turn, obtaining

E(x1y) = β1E(x21) + β2E(x1x2) +E(x1ε)

E(x2y) = β1E(x1x2) + β2E(x22) +E(x2ε)

σx1y = β1σ2x1+ β2σx1x2 + 0

σx2y = β1σx1x2 + β2σ2x2+ 0

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 31

∗ Substituting sample for population variances and covariancesproduces the OLS estimating equations:

sx1y = b1s2x1+ b2sx1x2

sx2y = b1sx1x2 + b2s2x2

– Alternatively, if we cannot assume that ε is independent of the x’s, butcan assume that ε is independent of two other variables, z1 and z2,then

E(z1y) = β1E(z1x1) + β2E(z1x2) +E(z1ε)

E(z2y) = β1E(z2x1) + β2E(z2x2) +E(z2ε)

σz1y = β1σz1x1 + β2σz1x2 + 0

σz2y = β1σz2x1 + β2σz2x2 + 0

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 32

– the IV estimating equations are obtained by the now familiar stepof substituting consistent sample estimators for the populationcovariances:

sz1y = b1sz1x1 + b2sz1x2sz2y = b1sz2x1 + b2sz2x2

– For the IV estimating equations to have a unique solution, it’snecessary that there not be an analog of perfect collinearity.∗ For example, neither x1 nor x2 can be uncorrelated with both z1 andz2.

• Good instrumental variables, while remaining uncorrelated with theerror, should be as correlated as possible with the explanatory variables.– In this context, ‘good’ means yielding relatively small coefficient

standard errors (i.e., producing efficient estimates).

John Fox WU Wien May/June 2006

Page 10: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 33

– OLS is a special case of IV estimation, where the instruments and theexplanatory variables are one and the same.∗ When the explanatory variables are uncorrelated with the error, the

explanatory variables are their own best instruments, since they areperfectly correlated with themselves.∗ Indeed, the Gauss-Markov theorem insures that when it is applicable,

the OLS estimator is the best (i.e., minimum variance or mostefficient) linear unbiased estimator (BLUE).

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 34

3.4 Instrumental-Variables Estimation in Matrix Form• Our object is to estimate the model

y(n×1)

= X(n×k+1)

β(k+1×1)

+ ε(n×1)

where ε ∼ Nn(0, σ2εIn).

– Of course, if X and ε are independent, then we can use the OLSestimator

bOLS = (X0X)−1X0y

with estimated covariance matrixbV (bOLS) = s2OLS(X0X)−1

wheres2OLS =

e0OLSeOLS

n− k − 1for

eOLS = y−XbOLS

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 35

• Suppose, however, that we cannot assume that X and ε are indepen-dent, but that we have observations on k + 1 instrumental variables,Z

(n×k+1), that are independent of ε.

– For greater generality, I have not put the variables in mean-deviationform, and so the model includes a constant; the matrices X and Ztherefore each include an initial column of ones.

– A development that parallels the previous scalar treatment leads to theIV estimator

bIV = (Z0X)−1Z0y

with estimated covariance matrixbV (bIV) = s2IV(Z0X)−1Z0Z(X0Z)−1

wheres2IV =

e0IVeIV

n− k − 1for

eIV = y−XbIV

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 36

– Since the results for IV estimation are asymptotic, we could alsoestimate the error variance with n rather than n − k − 1 in thedenominator, but dividing by degrees of freedom produces a largervariance estimate and hence is conservative.

– For bIV to be unique Z0X must be nonsingular (just as X0X must benonsingular for the OLS estimator).

John Fox WU Wien May/June 2006

Page 11: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 37

4. The Identification Problem• If a parameter in a structural-equation model can be estimated then the

parameter is said to be identified ; otherwise, it is underidentified (orunidentified).– If all of the parameters in a structural equation are identified, then so

is the equation.– If all of the equations in an SEM are identified, then so is the model.– Structural equations and models that are not identified are also termed

underidentified.

• If only one estimate of a parameter is available, then the parameter isjust-identified or exactly identified.

• If more than one estimate is available, then the parameter is overidenti-fied.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 38

• The same terminology extends to structural equations and to models:An identified structural equation or SEM with one or more overidentifiedparameters is itself overidentified.

• Establishing whether an SEM is identified is called the identificationproblem.– Identification is usually established one structural equation at a time.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 39

4.1 Identification of Nonrecursive Models: The OrderCondition• Using instrumental variables, we can derive a necessary (but, as it turns

out, not sufficient) condition for identification of nonrecursive modelscalled the order condition.– Because the order condition is not sufficient to establish identification,

it is possible (though rarely the case) that a model can meet the ordercondition but not be identified.

– There is a necessary and sufficient condition for identification calledthe rank condition, which I will not develop here. The rank condition isdescribed in many texts on SEMs.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 40

– The terms “order condition” and “rank condition” derive from theorder (number of rows and columns) and rank (number of linearlyindependent rows and columns) of a matrix that can be formulatedduring the process of identifying a structural equation. We will notpursue this approach.

– Both the order and rank conditions apply to nonrecursive modelswithout restrictions on disturbance covariances.∗ Such restrictions can sometimes serve to identify a model that would

not otherwise be identified.∗ More general approaches are required to establish the identification

of models with disturbance-covariance restrictions. Again, these aretaken up in texts on SEMs.∗ We will, however, use the IV approach to consider the identification of

two classes of models with restrictions on disturbance covariances:recursive and block-recursive models.

John Fox WU Wien May/June 2006

Page 12: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 41

• The order condition is best developed from an example.– Recall the Duncan, Haller, and Portes peer-influences model, repro-

duced in Figure 5.– Let us focus on the first of the two structural equations of the model,

y5 = γ51x1 + γ52x2 + β56y6 + ε7where all variables are expressed as deviations from their expecta-tions.∗ There are three structural parameters to estimate in this equation,γ51, γ52, and β56.

– It would be inappropriate to perform OLS regression of y5 on x1,x2, and y6 to estimate this equation, because we cannot reasonablyassume that the endogenous explanatory variable y6 is uncorrelatedwith the error ε7.∗ ε7 may be correlated with ε8, which is one of the components of y6 .∗ ε7 is a component of y5which is a cause (as well as an effect) of y6.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 42

x1

x2

x3

x4

y5

y6

ε7

ε8

σ78σ14

γ51

γ52

γ63

γ64

β56 β65

Figure 5. Duncan, Haller, and Portes nonrecursive peer-influences model(repeated).

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 43

– This conclusion is more general: We cannot assume that endogenousexplanatory variables are uncorrelated with the error of a structuralequation.∗ As we will see, however, we will be able to make this assumption in

recursive models.– Nevertheless, we can use the four exogenous variables x1, x2, x3, andx4, as instrumental variables to obtain estimating equations for thestructural equation:∗ For example, multiplying through the structural equation by x1 and

taking expectations producesx1y5 = γ51x

21 + γ52x1x2 + β56x1y6 + x1ε7

E(x1y5) = γ51E(x21) + γ52E(x1x2) + β56E(x1y6) +E(x1ε7)

σ15 = γ51σ21 + γ52σ12 + β56σ16 + 0

since σ17 = E(x1ε7) = 0.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 44

∗ Applying all four exogenous variables,IV Equationx1 σ15 = γ51σ

21 + γ52σ12 + β56σ16

x2 σ25 = γ51σ12 + γ52σ22 + β56σ26

x3 σ35 = γ51σ13 + γ52σ23 + β56σ36x4 σ45 = γ51σ14 + γ52σ24 + β56σ46

· If the model is correct, then all of these equations, involvingpopulation variances, covariances, and structural parameters, holdsimultaneously and exactly.· If we had access to the population variances and covariances,

then, we could solve for the structural coefficients γ51, γ52, and β56even though there are four equations and only three parameters.· Since the four equations hold simultaneously, we could obtain the

solution by eliminating any one and solving the remaining three.

John Fox WU Wien May/June 2006

Page 13: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 45

– Translating from population to sample produces four IV estimatingequations for the three structural parameters:

s15 = bγ51s21 + bγ52s12 + bβ56s16s25 = bγ51s12 + bγ52s22 + bβ56s26s35 = bγ51s13 + bγ52s23 + bβ56s36s45 = bγ51s14 + bγ52s24 + bβ56s46

∗ The s2j ’s and sjj 0’s are sample variances and covariances that canbe calculated directly from sample data, while bγ51, bγ52, and bβ56 areestimates of the structural parameters, for which we want to solvethe estimating equations.∗ There is a problem, however: The four estimating equations in the

three unknown parameter estimates will not hold precisely:· Because of sampling variation, there will be no set of estimates

that simultaneously satisfies the four estimating equations.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 46

· That is, the four estimating equations in three unknown parametersare overdetermined.

∗ Under these circumstances, the three parameters and the structuralequation are said to be overidentified.

– It is important to appreciate the nature of the problem here:∗ We have too much rather than too little information.∗ We could simply throw away one of the four estimating equations and

solve the remaining three for consistent estimates of the structuralparameters.∗ The estimates that we would obtain would depend, however, on

which estimating equation was discarded.∗ Moreover, throwing away an estimating equation, while yielding

consistent estimates, discards information that could be used toimprove the efficiency of estimation.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 47

• To illuminate the nature of overidentification, consider the following, evensimpler, example:– We want to estimate the structural equation

y5 = γ51x1 + β54y4 + ε6and have available as instruments the exogenous variables x1, x2, andx3.

– Then, in the population, the following three equations hold simultane-ously:

IV Equationx1 σ15 = γ51σ

21 + β54σ14

x2 σ25 = γ51σ12 + β54σ24x3 σ35 = γ51σ13 + β54σ34

– These linear equations in the parameters γ51 and β54 are illustrated inFigure 6 (a), which is constructed assuming particular values for thepopulation variances and covariances in the equations.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 48

– The important aspect of this illustration is that the three equationsintersect at a single point, determining the structural parameters,which are the solution to the equations.

– The three estimating equations ares15 = bγ51s21 + bβ54s14s25 = bγ51s12 + bβ54s24s35 = bγ51s13 + bβ54s34

– As illustrated in Figure 6 (b), because the sample variances andcovariances are not exactly equal to the corresponding populationvalues, the estimating equations do not in general intersect at acommon point, and therefore have no solution.

– Discarding an estimating equation, however, produces a solution,since each pair of lines intersects at a point.

John Fox WU Wien May/June 2006

Page 14: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 49

11

22

3 3

possible valuesof β54

possible values of γ51

β54

β54

γ51γ51

(a) (b)

^

^

Figure 6. Population equations (a) and corresponding estimating equa-tions (b) for an overidentified structural equation with two parameters andthree estimating equations. The population equations have a solution forthe parameters, but the estimating equations do not.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 50

• Let us return to the Duncan, Haller, and Portes model, and add a pathfrom x3 to y5, so that the first structural equation becomes

y5 = γ51x1 + γ52x2 + γ53x3 + β56y6 + ε7– There are now four parameters to estimate (γ51, γ52, γ53, and β56), and

four IVs (x1, x2, x3, and x4), which produces four estimating equations.– With as many estimating equations as unknown structural parameters,

there is only one way of estimating the parameters, which are thereforejust identified.

– We can think of this situation as a kind of balance sheet with IVs as“credits” and structural parameters as “debits.”

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 51

∗ For a just-identified structural equation, the numbers of credits anddebits are the same:

Credits DebitsIVs parametersx1 γ51x2 γ52x3 γ53x4 β564 4

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 52

– In the original specification of the Duncan, Haller, and Portes model,there were only three parameters in the first structural equation,producing a surplus of IVs, and an overidentified structural equation:

Credits DebitsIVs parametersx1 γ51x2 γ52x3 β56x44 3

John Fox WU Wien May/June 2006

Page 15: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 53

• Now let us add still another path to the model, from x4 to y5, so that thefirst structural equation becomes

y5 = γ51x1 + γ52x2 + γ53x3 + γ54x4 + β56y6 + ε7– Now there are fewer IVs available than parameters to estimate in the

structural equation, and so the equation is underidentified :Credits Debits

IVs parametersx1 γ51x2 γ52x3 γ53x4 γ54

β564 5

– That is, we have only four estimating equations for five unknownparameters, producing an underdetermined system of estimatingequations.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 54

• From these examples, we can abstract the order condition for identifica-tion of a structural equation: For the structural equation to be identified,we need at least as many exogenous variables (instrumental variables)as there are parameters to estimate in the equation.– Since structural equation models have more than one endogenous

variable, the order condition implies that some potential explanatoryvariables much be excluded apriori from each structural equation ofthe model for the model to be identified.

– Put another way, for each endogenous explanatory variable in astructural equation, at least one exogenous variable must be excludedfrom the equation.

– Suppose that there are mexogenous variable in the model:∗ A structural equation with fewer than m structural parameters is

overidentified.∗ A structural equation with exactly m structural parameters is just-

identified.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 55

∗ A structural equation with more than m structural parameters isunderidentified, and cannot be estimated.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 56

4.2 Identification of Recursive and Block-RecursiveModels• The pool of IVs for estimating a structural equation in a recursive

model includes not only the exogenous variables but prior endogenousvariables as well.– Because the explanatory variables in a structural equation are drawn

from among the exogenous and prior endogenous variables, there willalways be at least as many IVs as there are explanatory variables (i.e.,structural parameters to estimate).

– Consequently, structural equations in a recursive model are necessar-ily identified.

• To understand this result, consider the Blau and Duncan basic-stratification model, reproduced in Figure 7.

John Fox WU Wien May/June 2006

Page 16: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 57

x1

x2

y3

y4

y5

ε6

ε7

ε8

σ12γ32 γ52

γ31

γ42

β43

β53

β54

Figure 7. Blau and Duncan’s recursive basic-stratification model (re-peated).

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 58

– The first structural equation of the model isy3 = γ31x1 + γ32x2 + ε6

with “balance sheet”Credits Debits

IVs parametersx1 γ31x2 γ322 2

∗ Because there are equal numbers of IVs and structural parameters,the first structural equation is just-identified.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 59

∗ More generally, the first structural equation in a recursive model canhave only exogenous explanatory variables (or it wouldn’t be the firstequation).· If all the exogenous variables appear as explanatory variables (as

in the Blau and Duncan model), then the first structural equation isjust-identified.· If any exogenous variables are excluded as explanatory variables

from the first structural equation, then the equation is overidentified.– The second structural equation in the Blau and Duncan model is

y4 = γ42x2 + β43y3 + ε7∗ As before, the exogenous variable x1 and x2 can serve as IVs.∗ The prior endogenous variable y3 can also serve as an IV, because

(according to the first structural equation), y3 is a linear combinationof variables (x1, x2, and ε6) that are all uncorrelated with the errorε7 (x1and x2 because they are exogenous, ε6 because it is anothererror variable).

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 60

∗ The balance sheet is thereforeCredits Debits

IVs parametersx1 γ42x2 β43y33 2

∗ Because there is a surplus of IVs, the second structural equation isoveridentified.∗ More generally, the second structural equation in a recursive model

can have only the exogenous variables and the first (i.e., prior)endogenous variable as explanatory variables.

John Fox WU Wien May/June 2006

Page 17: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 61

· All of these predetermined variables are also eligible to serve asIVs.· If all of the predetermined variables appear as explanatory

variables, then the second structural equation is just-identified; ifany are excluded, the equation is overidentified.

– The situation with respect to the third structural equation is similar:y5 = γ52x2 + β53y3 + β54y4 + ε8

∗ Here, the eligible instrumental variables include (as always) theexogenous variables (x1, x2) and the two prior endogenous variables:· y3 because it is a linear combination of exogenous variables (x1

and x2) and an error variable (ε6), all of which are uncorrelated withthe error from the third equation, e8.· y4 because it is a linear combination of variables (x2, y3, and ε7 —

as specified in the second structural equation), which are also alluncorrelated with ε8.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 62

∗ The balance sheet for the third structural equation indicates that theequation is overidentified:

Credits DebitsIVs parametersx1 γ52x2 β53y3 β54y44 3

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 63

– More generally:∗ All prior variables, including exogenous and prior endogenous

variables, are eligible as IVs for estimating a structural equation in arecursive model.∗ If all of these prior variables also appear as explanatory variables in

the structural equation, then the equation is just-identified.∗ If, alternatively, one or more prior variables are excluded, then the

equation is overidentified.∗ A structural equation in a recursive model cannot be underidentified.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 64

• A slight complication: There may only be a partial ordering of theendogenous variables.– Consider, for example, the model in Figure 8.∗ This is a version of Blau and Duncan’s model in which the path fromy3 to y4 has been removed.∗ As a consequence, y3 is no longer prior to y4 in the model — indeed,

the two variables are unordered.∗ Because the errors associated with these endogenous variables, ε6

and ε7, are uncorrelated with each other, however, y3 is still availablefor use as an IV in estimating the equation for y4.∗ Moreover, now y4 is also available for use as an IV in estimating the

equation for y3, so the situation with respect to identification has, ifanything, improved.

John Fox WU Wien May/June 2006

Page 18: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 65

x1

x2

y3

y4

y5

ε6

ε7

ε8

σ12γ32 γ52

γ31

γ42

β53

β54

Figure 8. A recursive model (a modification of Blau and Duncan’s model) inwhich there are two endogenous variables, y3 and y4, that are not ordered.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 66

• In a block-recursive model, all exogenous variables and endogenousvariables in prior blocks are available for use as IVs in estimating thestructural equations in a particular block.– A structural equation in a block-recursive model may therefore be

under-, just-, or overidentified, depending upon whether there arefewer, the same number as, or more IVs than parameters.

– For example, recall the block-recursive model for Duncan, Haller, andPortes’s peer-influences data, reproduced in Figure 9.∗ There are four IVs available to estimate the structural equations in

the first block (for endogenous variables y5 and y6) — the exogenousvariables (x1, x2, x3, and x4).· Because each of these structural equations has four parameters to

estimate, each equation is just-identified.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 67

x1

x2

x3

x4

y5

y6

ε9

ε10

y7

y8

ε11

ε12

block 1

block 2

Figure 9. Block-recursive model for Duncan, Hallter and Portes’s peer-in-fluences data (repeated).

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 68

∗ There are six IVs available to estimate the structural equations inthe second block (for endogenous variables y7 and y8) — the fourexogenous variables plus the two endogenous variables (y5 and y6)from the first block.· Because each structural equation in the second block has five

structural parameters to estimate, each equation is overidentified.· In the absence of the block-recursive restrictions on the disturbance

covariances, only the exogenous variables would be available asIVs to estimate the structural equations in the second block, andthese equations would consequently be underidentified.

John Fox WU Wien May/June 2006

Page 19: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 69

5. Estimation of Structural-Equation Models5.1 Estimating Nonrecursive Models• There are two general and many specific approaches to estimating

SEMs:(a) Single-equation or limited-information methods estimate each struc-

tural equation individually.∗ I will describe a single-equation method called two-stage least

squares (2SLS).∗ Unlike OLS, which is also a limited-information method, 2SLS

produces consistent estimates in nonrecursive SEMs.∗ Unlike direct IV estimation, 2SLS handles overidentified structural

equations in a non-arbitrary manner.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 70

∗ 2SLS also has a reasonable intuitive basis and appears to performwell — it is generally considered the best of the limited-informationmethods.

(b) Systems or full-information methods estimate all of the parametersin the structural-equation model simultaneously, including errorvariances and covariances.∗ I will briefly describe a method called full-information maximum-

likelihood (FIML).∗ Full information methods are asymptotically more efficient than

single-equation methods, although in a model with a misspecifiedequation, they tend to proliferate the specification error throughoutthe model.∗ FIML appears to be the best of the full-information methods.

• Both 2SLS and FIML are implemented in the sem package for R.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 71

5.1.1 Two-Stage Least Squares

• Underidentified structural equations cannot be estimated.

• Just-identified equations can be estimated by direct application of theavailable IVs.– We have as many estimating equations as unknown parameters.

• For an overidentified structural equation, we have more than enoughIVs.– There is a surplus of estimating equations which, in general, are not

satisfied by a common solution.– 2SLS is a method for reducing the IVs to just the right number — but

by combining IVs rather than discarding some altogether.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 72

• Recall the first structural equation from Duncan, Haller, and Portes’speer-influences model:

y5 = γ51x1 + γ52x2 + β56y6 + ε7– This equation is overidentified because there are four IVs available

(x1, x2, x3, and x4) but only three structural parameters to estimate(γ51, γ52, and β56).

– An IV must be correlated with the explanatory variables but uncorre-lated with the error.

– A good IV must be as correlated as possible with the explanatoryvariables, to produce estimated structural coefficients with smallstandard errors.

– 2SLS chooses IVs by examining each explanatory variable in turn:∗ The exogenous explanatory variables x1 and x2 are their own best

instruments because each is perfectly correlated with itself.

John Fox WU Wien May/June 2006

Page 20: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 73

∗ To get a best IV for the endogenous explanatory variable y6, we firstregress this variable on all of the exogenous variables (by OLS),according to the reduced-form model

y6 = π61x1 + π62x2 + π63x3 + π64x4 + δ6producing fitted valuesby6 = bπ61x1 + bπ62x2 + bπ63x3 + bπ64x4∗ Because by6 is a linear combination of the x’s — indeed, the linear

combination most highly correlated with y6 — it is (asymptotically)uncorrelated with the structural error ε7.∗ This is the first stage of 2SLS.

– Now we have just the right number of IVs: x1, x2, and by6, pro-ducing three estimating equations for the three unknown structuralparameters:

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 74

IV 2SLS Estimating Equationx1 s15 = bγ51s21 + bγ52s12 + bβ56s16x2 s25 = bγ51s12 + bγ52s22 + bβ56s26by6 s5b6 = bγ51s1b6 + bγ52s2b6 + bβ56s6b6

where, e.g., s5b6 is the sample covariance between y5 and by6.• The generalization of 2SLS from this example is straightforward:

– Stage 1: Regress each of the endogenous explanatory variables ina structural equation on all of the exogenous variables in the model,obtaining fitted values.

– Stage 2: Use the fitted endogenous explanatory variables from stage1 along with the exogenous explanatory variables as IVs to estimatethe structural equation.

• If a structural equation is just-identified, then the 2SLS estimates areidentical to those produced by direct application of the exogenousvariables as IVs.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 75

• There is an alternative route to the 2SLS estimator which, in the secondstage, replaces each endogenous explanatory variable in the structuralequation with the fitted values from the first stage regression, and thenperforms an OLS regression in the second stage.– The second-stage OLS regression produces the same estimates as

the IV approach.– The name “two-stage least squares” originates from this alternative

approach.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 76

• The 2SLS estimator for the jth structural equation in a nonrecursivemodel can be formulated in matrix form as follows:– Write the jth structural equation as

yj(n×1)

= Yj(n×qj)

βj(qj×1)

+ Xj(n×mj)

γj(mj×1)

+ εj(n×1)

= [Yj,Xj]

∙βj

γj

¸+ εj

whereyj is the response-variable vector in structural equation jYj is the matrix of qj endogenous explanatory variables in equation jβj is the vector of structural parameters for the endogenous

explanatory variablesXj is the matrix of mj exogenous explanatory variables in equation j,

normally including a column of 1’sγj is the vector of structural parameters for the exogenous explanatory

variablesεj is the error vector for structural equation j

John Fox WU Wien May/June 2006

Page 21: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 77

– In the first stage of 2SLS, the endogenous explanatory variables areregressed on all m exogenous variables in the model, obtaining theOLS estimates of the reduced-form regression coefficients

Pj = (X0X)−1X0Yj

and fitted values bYj = XPj = X(X0X)−1X0Yj

– In the second stage of 2SLS, we apply Xj and bYj as instruments tothe structural equation to obtain (after quite a bit of manipulation)∙ bβjbγj

¸=

∙Y0

jX(X0X)−1X0Yj Y

0jXj

X0jYj X0

jXj

¸−1 ∙Y0

jX(X0X)−1X0yjX0

jyj

¸

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 78

– The estimated variance-covariance matrix of the 2SLS estimates isbV ∙ bβjbγj

¸= s2ej

∙Y0

jX(X0X)−1X0Yj Y

0jXj

X0jYj X0

jXj

¸−1where

s2ej =e0jej

n− qj −mj

ej = yj −Yjbβj −Xjbγj

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 79

5.1.2 Full-Information Maximum Likelihood

• Along with the other standard assumptions of SEMs, FIML estimatesare calculated under the assumption that the structural errors aremultivariately normally distributed.

• Under this assumption, the log-likelihood for the model isloge L(B,Γ,Σεε) = n loge |det(B)|−

nq

2loge 2π −

n

2loge det(Σεε)

−12

nXi=1

(Byi+Γxi)0Σ−1εε (Byi+Γxi)

where det represents the determinant.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 80

– The FIML estimates are the values of the parameters that maximizethe likelihood under the constraints placed on the model – for example,that certain entries of B, Γ, and (possibly) Σεε are 0.

– Estimated variances and covariances for the parameters are obtainedfrom the inverse of the information matrix — the negative of theHessian matrix of second-order partial derivatives of the log-likelihood— evaluated at the parameter estimates.

– The full general machinery of maximum-likelihood estimation isavailable — for example, alternative nested models can be comparedby a likelihood-ratio test.

John Fox WU Wien May/June 2006

Page 22: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 81

5.1.3 Estimation Using the sem Package in R

• The tsls function in the sem package is used to estimate structuralequations by 2SLS.– The function works much like the lm function for fitting linear models

by OLS, except that instrumental variables are specified in theinstruments argument as a “one-sided” formula.

– For example, to fit the first equation in the Duncan, Haller, and Portesmodel, we would specify something like

eqn.1 <- tsls(ROccAsp ~ RIQ + RSES + FOccAsp,instruments= ~ RIQ + RSES + FSES + FIQ, data=DHP)

summary(eqn.1)∗ This assumes that we have Duncan, Haller, and Portes’s data in the

data frame DHP, which is not the case.

• The sem function may be used to fit a wide variety of models — includingobserved-variable nonrecursive models — by FIML.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 82

– This function takes three required arguments:∗ ram: A coded formulation of the model, described below.∗ S: The covariance matrix among the observed variables in the

model; may be in upper- or lower-triangular form as well as the full,symmetric matrix.∗ N: The number of observations on which the covariance matrix is

based.– In addition, for an observed-variable model, the argument fixed.x

should be set to the names of the exogenous variables in the model.– ram stands for “recticular-action model,” and stems from a particular

approach, due originally to McArdle, to specifying and estimatingSEMs.∗ Each structural coefficient of the model is represented as a directed

arrow -> in the ram argument to sem.∗ Each error variance and covariance is represented as a bidirectional

arrow, <->.John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 83

– To write out the model in this form, it helps to redraw the path diagram,as in Figure 10 for the Duncan, Haller, and Portes model.

– Then the model can be encoded as follows, specifying each arrow,and giving a name to and start-value for the corresponding parameter(NA = let the program compute the start-value):

model.DHP.1 <- specify.model()RIQ -> ROccAsp, gamma51, NARSES -> ROccAsp, gamma52, NAFSES -> FOccAsp, gamma63, NAFIQ -> FOccAsp, gamma64, NAFOccAsp -> ROccAsp, beta56, NAROccAsp -> FOccAsp, beta65, NAROccAsp <-> ROccAsp, sigma77, NAFOccAsp <-> FOccAsp, sigma88, NAROccAsp <-> FOccAsp, sigma78, NA

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 84

RIQ

RSES

FIQ

FSES

ROccAsp

FOccasp

gamma51

gamma63

gamma64

beta

65

beta

56

sigma88

sigma77

sigma78

Figure 10. Modified path diagram for the Duncan, Haller, and Portesmodel, omitting covariances among exogenous variables, and showing er-ror variances and covariances as double arrows attached to the endoge-nous variables.John Fox WU Wien May/June 2006

Page 23: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 85

– As was common when SEMs were first introduced to sociologists,Duncan, Haller, and Porter estimated their model for standardizedvariables.∗ That is, the covariance matrix among the observed variables is a

correlation matrix.∗ The arguments for using standardized variables in an SEM are no

more compelling than in a regression model.· In particular, it makes no sense to standardize dummy regressors,

for example.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 86

– FIML estimates and standard errors for the Duncan, Haller, and Portesmodel are as follows:

Parameter Estimate Standard Errorγ51 0.237 0.055γ52 0.176 0.046β56 0.398 0.105γ63 0.219 0.046γ64 0.311 0.058β65 0.422 0.134σ27 0.793 0.074σ28 0.717 0.088σ78 −0.495 0.139

∗ The ratio of each estimate to its standard error is a Wald statistic fortesting the null hypothesis that the corresponding parameter is 0,distributed asymptotically as a standard normal variable under thehypothesis.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 87

∗ Note the large (and highly statistically significant) negative estimatederror covariance, corresponding to an error correlation of

r78 =−0.495√

0.793× 0.717 = −.657

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 88

5.2 Estimation of Recursive and Block-RecursiveModels• Because all of the explanatory variables in a structural equation of a

recursive model are uncorrelated with the error, the equation can beconsistently estimated by OLS.– For a recursive model, the OLS, 2SLS, and FIML estimates coincide.

• Estimation of a block-recursive model is essentially the same as of anonrecursive model:– All variables in prior blocks are available for use as IVs in formulating

2SLS estimates.– FIML estimates reflect the restrictions placed on the disturbance

covariances.

John Fox WU Wien May/June 2006

Page 24: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 89

6. Latent Variables, Measurement Errors, andMultiple Indicators• The purpose of this section is to use simple examples to explore the

consequences of measurement error for the estimation of SEMs.

• I will show:– when and how measurement error affects the usual estimators of

structural parameters;– how measurement errors can be taken into account in the process of

estimation;– how multiple indicators of latent variables can be incorporated into a

model.

• Then, in the next section, I will introduce and examine general structural-equation models that include these features.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 90

6.1 Example 1: A Nonrecursive Model WithMeasurement Error in the Endogenous Variables• Consider the model displayed in the path diagram in Figure 11.

• The path diagram uses the following conventions:– Greek letters represent unobservables, including latent variables,

structural errors, measurement errors, covariances, and structuralparameters.

– Roman letters represent observable variables.– Latent variables are enclosed in circles (or, more generally, ellipses),

observed variables in squares (more generally, rectangles).– All variables are expressed as deviations from their expectations.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 91

x1

x2

η5

η6

y3

y4

ε9

ε10

ζ7

ζ8

σ12

γ51

γ62

β56 β65 σ78

Figure 11. A nonrecursive model with measurement error in the endoge-nous variables.John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 92

x’s observable exogenous variablesy’s observable fallible indictors of latent

endogenous variablesη’s (“eta”) latent endogenous variablesζ ’s (“zeta”) structural disturbancesε’s (“epsilon”) measurement errors in endogenous indicatorsγ’s, β’s (“gamma”, “beta”) structural parametersσ’s (“sigma”) covariances• The model consists of two sets of equations:(a) The structural submodel :

η5 = γ51x1 + β56η6 + ζ7η6 = γ62x2 + β65η5 + ζ8

(b) The measurement submodel :y3 = η5 + ε9y4 = η6 + ε10

John Fox WU Wien May/June 2006

Page 25: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 93

• We make the usual assumptions about the behaviour of the structuraldisturbances — e.g., that the ζ ’s are independent of the x’s.

• We also assume “well behaved” measurement errors:– Each ε has an expectation of 0.– Each ε is independent of all other variables in the model (except the

indicator to which it is attached).

• One way of approaching a latent-variable model is by substitutingobservable quantities for latent variables.– For example, working with the first structural equation:

η5 = γ51x1 + β56η6 + ζ7y3 − ε9 = γ51x1 + β56(y4 − ε10) + ζ7

y3 = γ51x1 + β56y4 + ζ 07where the composite error, ζ 07, is

ζ 07 = ζ7 + ε9 − β56ε10

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 94

– Because the exogenous variables x1 and x2 are independent of allcomponents of the composite error, they still can be employed in theusual manner as IVs to estimate γ51 and β56.

• Consequently, introducing measurement error into the endogenousvariables of a nonrecursive model doesn’t compromise our usualestimators.– Measurement error in an endogenous variable is not wholly benign: It

does increase the size of the error variance, and thus decreases theprecision of estimation.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 95

6.2 Example 2: Measurement Error in an ExogenousVariable• Now examine the path diagram in Figure 12.

• Some additional notation:x’s (here) observable exogenous variable or fallible

indicator of latent exogenous variableξ (“xi”) latent exogenous variableδ (“delta”) measurement error in exogenous indicator

• The structural and measurement submodels are as follows:– structural submodel:

y4 = γ46ξ6 + γ42x2 + ζ7y5 = γ53x3 + β54y4 + ζ8

– measurement submodel:x1 = ξ6 + δ9

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 96

x1

x3

x2

y4

y5

ζ7

ζ8

ξ6

δ9

Figure 12. A structural-equation model with measurement error in an ex-ogenous variable.

John Fox WU Wien May/June 2006

Page 26: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 97

• As in the preceding example, I’ll substitute for the latent variable in thefirst structural equation:

y4 = γ46(x1 − δ9) + γ42x2 + ζ7= γ46x1 + γ42x2 + ζ 07

whereζ 07 = ζ7 − γ46δ9

is the composite error.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 98

• If x1 were measured without error, then we would estimate the firststructural equation by OLS regression — i.e., using x1 and x2 as IVs.– Here, however, x1 is not eligible as an IV since it is correlated with δ9,

which is a component of the composite error ζ 07.– Nevertheless, to see what happens, let us multiply the rewritten

structural equation in turn by x1 and x2 and take expectations:σ14 = γ46σ

21 + γ42σ12 − γ46σ

29

σ24 = γ46σ12 + γ42σ22

∗ Notice that if x1 is measured without error, then the measurement-error variance σ29 is 0, and the term −γ46σ29 disappears.

– Solving these equations for γ46 and γ42 produces

γ46 =σ14σ

22 − σ12σ24

σ21σ22 − σ212 − σ29σ

22

γ42 =σ21σ24 − σ12σ14σ21σ

22 − σ212

− γ46σ12σ29

σ21σ22 − σ212

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 99

• Now suppose that we make the mistake of assuming that x1 is measuredwithout error and perform OLS estimation.– The OLS estimator of γ46 “really” estimates

γ046 =σ14σ

22 − σ12σ24

σ21σ22 − σ212

– The denominator of the equation for γ46 is positive, and term −σ29σ22 inthis denominator is negative, so |γ046| < |γ46|.∗ That is, the OLS estimator of γ46 is biased towards zero (or

attenuated).

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 100

– Similarly, the OLS estimator of γ42 really estimates

γ042 =σ21σ24 − σ12σ14σ21σ

22 − σ212

= γ42 +γ46σ12σ

29

σ21σ22 − σ212

= γ42 + biaswhere the bias is 0 if∗ ξ6 does not affect y4 (i.e., γ46 = 0); or∗ ξ6 and x2 are uncorrelated (and hence σ12 = 0); or∗ there is no measurement error in x1 after all (σ29 = 0).

– Otherwise, the bias can be either positive or negative; towards 0 oraway from it.

John Fox WU Wien May/June 2006

Page 27: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 101

• Looked at slightly differently, as the measurement error variance in x1grows larger (i.e., as σ29→∞),

γ042→σ24σ22

– This is the population slope for the simple linear regression of y4 on x2alone.

– That is, when the measurement-error component of x1 gets large,it comes an ineffective control variable as well as an ineffectiveexplanatory variable.

• Although we cannot legitimately estimate the first structural equation byOLS regression of y4 on x1 and x2, the equation is identified becauseboth x2 and x3 are eligible IVs:– Both of these variables are uncorrelated with the composite error ζ 07.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 102

• It is also possible to estimate the measurement-error variance σ29 andthe true-score variance σ26:– Squaring the measurement submodel and taking expectations

producesE¡x21¢= E[(ξ6 + δ9)

2]

= σ26 + σ29because ξ6 and δ9 are uncorrelated [eliminating the cross-productE(ξ6δ9)].

– From our earlier work,σ14 = γ46σ

21 + γ42σ12 − γ46σ

29

∗ Solving for σ29,

σ29 =γ46σ

21 + γ42σ12 − σ14

γ46and so

σ26 = σ21 − σ29

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 103

∗ In all instances, consistent estimates are obtained by substitutingobserved sample variances and covariances for the correspondingpopulation quantities.∗ the proportion of the variance of x1 that is true-score variance is

called the reliability of x1; that is,

reliability(x1) =σ26σ21=

σ26σ26 + σ29

∗ The reliability of an indicator is also interpretable as the squaredcorrelation between the indicator and the latent variable that itmeasures.

• The second structural equation of this model, for y5, presents nodifficulties because x1, x2, and x3 are all uncorrelated with the structuralerror ζ8 and hence are eligible IVs.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 104

6.3 Example 3: Multiple Indicators of a Latent Variable• Figure 13 shows the path diagram for a model that includes two different

indicators x1 and x2 of a latent exogenous variable ξ6.

• The structural and measurement submodels of this model are as follows;– Structural submodel:

y4 = γ46ξ6 + β45y5 + ζ7y5 = γ53x3 + β54y4 + ζ8

– Measurement submodel:x1 = ξ6 + δ9x2 = λξ6 + δ10

– Further notation:λ (“lambda”) regression coefficient relating an indicator

to a latent variable (also called afactor loading)

John Fox WU Wien May/June 2006

Page 28: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 105

x1

x3

x2y4

y5

ζ7

ζ8

ξ6

δ9

δ10

Figure 13. A model with multiple indicators of a latent variable.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 106

– Note that one of the λ’s has been set to 1 to fix the scale of ξ6.∗ That is, the scale of ξ6 is the same as that of the reference indicatorx1.∗ Alternatively, the variance of the latent variable ξ6 could be set to 1

(i.e., standardizing ξ6).∗ Without this kind of restriction, the model is not identified.∗ This sort of scale-setting restriction is called a normalization.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 107

• Once again, I will analyze the first structural equation by substituting forthe latent variable ξ6, but now that can be done in two ways:

1.y4 = γ46(x1 − δ9) + β45y5 + ζ7= γ46x1 + β45y5 + ζ 07

whereζ 07 = ζ7 − γ46δ9

2.y4 = γ46

µx2λ− δ10

λ

¶+ β45y5 + ζ7

=γ46λx2 + β45y5 + ζ 007

whereζ 007 = ζ7 −

γ46λδ10

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 108

• Next, multiply each of these equations by x3 and take expectations:σ34 = γ46σ13 + β45σ35

σ34 =γ46λσ23 + β45σ35

– These equations imply thatλ =

σ23σ13

• Alternative expressions for λ may be obtained by taking expectations ofthe two equations with the endogenous variables, y4 and y5, producing

λ =σ24σ14

andλ =

σ25σ15

– Thus, the factor loading λ is overidentified.

John Fox WU Wien May/June 2006

Page 29: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 109

– It seems odd to use the endogenous variables y4 and y5 as in-struments, but doing so works because they are uncorrelated withthe measurement errors δ9 and δ10 (and covariances involving thestructural error ζ7 cancel).

• Now apply x2 to the first equation and x1 to the second equation,obtaining

σ24 = γ46σ12 + β45σ25

σ14 =γ46λσ12 + β45σ15

because x2 is uncorrelated with ζ 07 and x1 is uncorrelated with ζ 007.– We already know λ and so these two equations can be solved for γ46

and β45.– Moreover, because there is more than one way of calculating

(and hence of estimating) λ, the parameters γ46 and β45 are alsooveridentified.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 110

• In this model, if there were only one fallible indicator of ξ6, the modelwould be underidentified.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 111

7. General Structural Equation Models(“LISREL” Models)• We now have the essential building blocks of general structural-

equation models with latent variables, measurement errors, and multipleindicators, often called “LISREL” models.– LISREL is an acronym for LInear Structural RELations.– This model was introduced by Karl Jöreskog and his coworkers;

Jöreskog and Sörbom are also responsible for the widely usedLISREL computer program.

• There are other formulations of general structural equation models thatare equivalent to the LISREL model.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 112

7.1 Formulation of the LISREL Model• Several types of variables appears in LISREL models, each represented

as a vector:ξ

(n×1)(“xi”) latent exogenous variables

x(q×1)

indicators of latent exogenous variables

δ(q×1)

(“delta”) measurement errors in the x’s

η(m×1)

(“eta”) latent endogenous variables

y(p×1)

indicators of latent endogenous variables

ε(p×1)

(“epsilon”) measurement errors in the y’s

ζ(m×1)

(“zeta”) structural disturbances

John Fox WU Wien May/June 2006

Page 30: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 113

• The model also incorporates several matrices of regression coefficients:structural coefficients relating η’s (latent

B(m×m)

(“beta”) endogenous variables) to each other

structural coefficients relating η’s to ξ’sΓ

(m×n)(“gamma”) (latent endogenous to exogenous variables)

factor loadings relating x’s to ξ’s (indicators toΛx(q×n)

(“lambda-x”) latent exogenous variables)

factor loadings relating y’s to η’s (indicators toΛy(p×m)

(“lambda-y”) latent endogenous variables)

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 114

• Finally, there are four parameter matrices containing variances andcovariances:

variances and covariances of the ζ ’sΨ

(m×m)(“psi”) (structural disturbances)

variances and covariances of the δ’sΘδ(q×q)

(“theta-delta”) (measurement errors in exogenous indicators)

variances and covariances of the ε’sΘε(p×p)

(“theta-epsilon”) (measurement errors in endogenous indicators)

variances and covariances of the ξ’sΦ

(n×n)(“phi”) (latent exogenous variables)

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 115

• The LISREL model consists of structural and measurement submodels.– The structural submodel is similar to the observed-variable structural-

equation model in matrix form (for the ith of N observations):ηi = Bηi + Γξi + ζi

∗ Notice that the structural-coefficient matrices appear on the right-hand side of the model.∗ In this form of the model, B has 0’s down the main diagonal.

– The measurement submodel consists of two matrix equations, for theindicators of the latent exogenous and endogenous variables:

xi = Λxξi + δiyi = Λyηi + εi

∗ Each column of the Λ matrices generally contains an entry that isset to 1, fixing the scale of the corresponding latent variable.∗ Alternatively, the variances of exogenous latent variables in Φ might

be fixed, typically to 1.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 116

7.2 Assumptions of the LISREL Model• The measurement errors, δ and ε,

– have expectations of 0;– are each multivariately-normally distributed;– are independent of each other;– are independent of the latent exogenous variables (ξ’s), latent

endogenous variables (η’s), and structural disturbances (ζ’s).

• The N observations are independently sampled.

• The latent exogenous variables, ξ, are multivariate normal.– This assumption is unnecessary for exogenous variables that are

measured without error.

John Fox WU Wien May/June 2006

Page 31: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 117

• The structural disturbances, ζ,– have expectation 0;– are multivariately-normally distributed;– are independent of the latent exogenous variables (ξ’s).

• Under these assumptions, the observable indicators, x and y, have amultivariate-normal distribution.∙

xiyi

¸∼ Nq+p(0,Σ)

where Σ represents the population covariance matrix of the indicators.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 118

7.3 Estimation of the LISREL Model• The variances and covariances of the observed variables (Σ) are func-

tions of the parameters of the LISREL model (B,Γ,Λx,Λy,Ψ,Θδ ,Θε,and Φ).– In any particular model, there will be restrictions on many of the

elements of the parameter matrices.∗ Most commonly, these restrictions are exclusions: certain parame-

ters are prespecified to be 0.∗ As I have noted, the Λ matrices (or the Φ matrix) must contain

normalizing restrictions to set the metrics of the latent variables.– If the restrictions on the model are sufficient to identify it, then MLEs

of the parameters can be found.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 119

– The log-likelihood under the model isloge L(B,Γ,Λx,Λy,Ψ,Θδ ,Θε,Φ)

= −N(p+ q)

2loge 2π −

N

2

£loge detΣ+ trace(SΣ−1)

¤where∗ Σ is the covariance matrix among the observed variables that is

implied by the parameters of the model.∗ S is the sample covariance matrix among the observed variables.

– This log-likelihood can be thought of as a measure of the proximity ofΣ and S, so the MLEs of the parameters are selected to make the twocovariance matrices as close as possible.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 120

– The relationship between Σ and the parameters is as follows:

Σ(q+p×q+p)

=

⎡⎢⎣ Σxx(q×q)

Σxy(q×p)

Σyx(p×q)

Σyy(p×p)

⎤⎥⎦where

Σxx = ΛxΦΛ0x +Θδ

Σyy = Λy

£(I−B)−1ΓΦΓ0(I−B)0−1 + (I−B)−1Ψ(I−B)0−1¤Λ0y +Θε

Σxy = Σ0xy = ΛxΦΓ

0(I−B)0−1Λ0y

John Fox WU Wien May/June 2006

Page 32: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 121

• As is generally the case in maximum-likelihood estimation:– the asymptotic standard errors for the parameter estimates may

be obtained from the square-roots of the diagonal entries of theinformation matrix;

– alternative nested models can be compared by a likelihood-ratio test.– In particular, the overidentifying restrictions on an overidentified model

can be tested by comparing the maximized log-likelihood underthe model with the log-likelihood of a just-identified model, whichnecessarily perfectly reproduces the observed sample covariances, S.∗ The log-likelihood for a just-identified model is

loge L1 = −N(p + q)

2loge 2π −

N

2[loge detS+ p + q]

∗ Denoting the maximized log-likelihood for the overidentified modelas loge L0, the likelihood-ratio test statistic is, as usual, twice thedifference in the log-likelihoods for the two models:

G20 = 2(loge L1 − loge L0)John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 122

∗ Under the hypothesis that the overidentified model is correct, thisstatistic is distributed as chi-square, with degrees of freedom equalto the degree of overidentification of the model, that is, the differencebetween the number of variances and covariances among theobserved variables in the model, which is

(p+ q)(p+ q + 1)

2,

and the number of free parameters in the model.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 123

7.4 Identification of LISREL Models• Identification of models with latent variables is a complex problem

without a simple general solution.

• A global necessary condition for identification is that the number of freeparameters in the model can be no larger than the number of variancesand covariances among observed variables,

(p+ q)(p+ q + 1)

2– Unlike the order condition for observed-variable nonrecursive models,this condition is insufficiently restrictive to give us any confidence thata model that meets the condition is identified.

– That is, it is easy to meet this condition and still have an underidentifiedmodel.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 124

• A useful rule that sometimes helps is that a model is identified if:(a) all of the measurement errors in the model are uncorrelated with

one-another;(b) there are at least two unique indicators for each latent variable, or if

there is only one indicator for a latent variable, it is measured withouterror;

(c) the structural submodel would be identified were it an observed-variable model.

• The likelihood function for an underidentified model flattens out at themaximum, and consequently– the maximum isn’t unique; and– the information matrix is singular

• Computer programs for structural-equation modelling can usually detectan attempt to estimate an underidentified model, or will produce outputthat is obviously incorrect.

John Fox WU Wien May/June 2006

Page 33: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 125

7.5 Examples7.5.1 A Latent-Variable Model for the Peer-Influences Data

• Figure 14 shows a latent-variable model for Duncan, Haller, and Portes’speer-influences data.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 126

x = 1 1ξ

x = 2 2ξ

x = 3 3ξ

x = 4 4ξ

x = 5 5ξ

x = 6 6ξ

σφ

’s =

’s

η1

η2

ζ1

ζ2

y1 y2

y3 y4

ε1 ε2

ε3 ε4

λy211

1λy32

ψ12β12 β21

γ11

γ12

γ13γ14

γ23γ24

γ25

γ26

Figure 14. Latent-variable model for the peer-influences data.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 127

• The variables in the model are as follows:x1 (ξ1) respondent’s parents’ aspirationsx2 (ξ2) respondent’s family SESx3 (ξ3) respondent’s IQx4 (ξ4) best friend’s IQx5 (ξ5) best friend’s family SESx6 (ξ6) best friend’s parents’ aspirationsy1 respondent’s occupational aspirationy2 respondent’s educational aspirationy3 best friend’s educational aspirationy4 best friend’s occupational aspirationη1 respondent’s general aspirationsη2 best friend’s general aspirations

• In this model, the exogenous variables each have a single indicatorspecified to be measured without error, while the latent endogenousvariables each have two fallible indicators.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 128

• The structural and measurement submodels are as follows:– Structural submodel:∙

η1η2

¸=

∙0 β12β21 0

¸ ∙η1η2

¸

+

∙γ11 γ12 γ13 γ14 0 00 0 γ23 γ24 γ25 γ26

¸⎡⎢⎢⎢⎢⎢⎢⎣ξ1ξ2ξ3ξ4ξ5ξ6

⎤⎥⎥⎥⎥⎥⎥⎦ +∙ζ1ζ2

¸

Ψ = Varµ∙

ζ1ζ2

¸¶=

∙ψ21 ψ12ψ12 ψ22

¸(note: symmetric)

– Measurement submodel:

John Fox WU Wien May/June 2006

Page 34: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 129⎡⎢⎢⎢⎢⎢⎢⎣x1x2x3x4x5x6

⎤⎥⎥⎥⎥⎥⎥⎦ =

⎡⎢⎢⎢⎢⎢⎢⎣ξ1ξ2ξ3ξ4ξ5ξ6

⎤⎥⎥⎥⎥⎥⎥⎦ ; i.e., Λx = I6, Θδ = 0(6×6)

, and Φ = Σxx(6×6)

⎡⎢⎢⎣y1y2y3y4

⎤⎥⎥⎦ =

⎡⎢⎢⎣1 0λy21 00 λy320 1

⎤⎥⎥⎦∙ η1η2¸+

⎡⎢⎢⎣ε1ε2ε3ε4

⎤⎥⎥⎦ , with Θε = diag(θε11, θε22, θ

ε33, θ

ε44)

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 130

• Maximum-likelihood estimates of the parameters of the model and theirstandard errors:

Parameter Estimate Std. Error Parameter Estimate Std. Errorγ11 0.161 0.038 λy21 1.063 0.092γ12 0.250 0.045 λy42 0.930 0.071γ13 0.218 0.043 ψ21 0.281 0.046γ14 0.072 0.050 ψ22 0.264 0.045γ23 0.062 0.052 ψ12 −0.023 0.052γ24 0.229 0.044 θε11 0.412 0.052γ25 0.349 0.045 θε22 0.336 0.053γ26 0.159 0.040 θε33 0.311 0.047β12 0.184 0.096 θε44 0.405 0.047β21 0.235 0.120

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 131

– With the exception of bγ14 and bγ23, the direct effect of each boy’s SESon the other’s aspirations, all of the coefficients of the exogenousvariables are statistically significant.

– The reciprocal paths, bβ12 and bβ21, have respective p-values just smallerthan and just larger than .05 for a two-sided test, but a one-sided testwould be appropriate here anyway.

– The negative covariance between the structural disturbances, bψ12 =−0.023, is now close to 0 and non-significant.

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 132

– Because the indicator variables are standardized in this model, themeasurement-error variances represent the proportion of variance ofeach indicator due to measurement error, and the complements of themeasurement-error variances are the reliabilities of the indicators.∗ For example, the estimated reliability of y1 (the respondent’s reported

occupational aspiration) as an indicator η1 (his general aspirations)is 1− 0.412 = .588.∗ Further details are in the computer examples.

John Fox WU Wien May/June 2006

Page 35: Introduction to Structural Equation Modellingstatmath.wu-wien.ac.at/courses/StatsWithR/Topic-5.pdfIntroduction to Structural-Equation Modelling 17 reciprocal paths a feedback loop

Introduction to Structural-Equation Modelling 133

7.5.2 A Confirmatory-Factor-Analysis Model

• The LISREL model is very general, and special cases of it correspondto a variety of statistical models.

• For example, if there are only exogenous latent variables and theirindicators, the LISREL models specializes to the confirmatory-factor-analysis (CFA) model, which seeks to account for the correlationalstructure of a set of observed variables in terms of a smaller number offactors.

• The path diagram for an illustrative CFA model appears in Figure 15.– The data for this example are taken from Harman’s classic factor-

analysis text.– Harman attributes the data to Holzinger, an important figure in the

development of factor analysis (and intelligence testing).

John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 134

δ1 δ2 δ3 δ4 δ5 δ6 δ7 δ8 δ9

ξ2ξ1 ξ3

x1 x2 x3 x4 x5 x6 x7 x8 x9

ψ12 ψ23

ψ13

λx11 λ

x21 λ

x31 λ

x42 λ

x52 λ

x62 λ

x73 λ

x83 λ

x93

Figure 15. A confirmatory-factor-analysis model for three factors underly-ing nine psychological tests.John Fox WU Wien May/June 2006

Introduction to Structural-Equation Modelling 135

– The first three tests (Word Meaning, Sentence Completion, andOdd Words) are meant to tap a verbal factor; the next three (MixedArithmetic, Remainders, Missing Numbers) an arithmetic factor, andthe last three (Gloves, Boots, Hatchets) a spatial-relations factor.

– The model permits the three factors to be correlated with one-another.– The normalizations employed in this model set the variances of

the factors to 1; the covariances of the factors are then the factorintercorrelations.

• Estimates for this model, and for an alternative CFA model specifyinguncorrelated (“orthogonal”) factors, are given in the computer examples.

John Fox WU Wien May/June 2006