580 likes | 1.16k Views
Structural Equation Modeling (SEM) Essentials. Purpose of this module is to provide a very brief presentation of the things one needs to know about SEM before learning how apply SEM. by Jim Grace. Where You can Learn More about SEM.
E N D
Structural Equation Modeling (SEM) Essentials Purpose of this module is to provide a very brief presentation of the things one needs to know about SEM before learning how apply SEM. byJim Grace
Where You can Learn More about SEM Grace (2006) Structural Equation Modeling and Natural Systems. Cambridge Univ. Press. Shipley (2000) Cause and Correlation in Biology. Cambridge Univ. Press. Kline (2005) Principles and Practice of Structural Equation Modeling. (2nd Edition) Guilford Press. Bollen (1989) Structural Equations with Latent Variables. John Wiley and Sons. Lee (2007) Structural Equation Modeling: A Bayesian Approach. John Wiley and Sons.
Outline I. Essential Points about SEM II. Structural Equation Models: Form and Function
1 11 y1 graphical form x1 equational form y1 = γ11x1 + ζ1 I. SEM Essentials: 1. SEM is a form of graphical modeling, and therefore, a system in which relationships can be represented in either graphical or equational form. 2. An equation is said to be structural if there exists sufficient evidence from all available sources to support the interpretation that x1 has a causal effect on y1.
Complex Hypothesis x1 y3 ζ3 y1 y2 ζ1 ζ2 • e.g. • y1 = γ11x1 + ζ1 • y2 = β 21y1 + γ 21x1 + ζ 2 • y3 = β 32y2 + γ31x1 + ζ 3 Corresponding Equations 3. Structural equation modeling can be defined as the use of two or more structural equations to represent complex hypotheses.
4. Some practical criteria for supporting an assumption ofcausal relationships in structural equations: a. manipulations of x can repeatably be demonstrated to be followed by responses in y, and/or b. we can assume that the values of x that we have can serve as indicators for the values of x that existed when effects on y were being generated, and/or c. if it can be assumed that a manipulation of x would result in a subsequent change in the values of y Relevant References: Pearl (2000) Causality. Cambridge University Press. Shipley (2000) Cause and Correlation in Biology. Cambridge
Contemporary 5. A Grossly Oversimplified History of SEM Wright (1918) path analysis Joreskog (1973) SEM factor analysis Spearman (1904) Lee (2007) testing alt. models r, chi-square likelihood Conven- tional Statistics Pearson (1890s) Fisher (1922) Neyman & E. Pearson (1934) Bayesian Analysis Bayes & LaPlace (1773/1774) Raftery (1993) MCMC (1948-) note that SEM is a framework and incorporates new statistical techniques as they become available (if appropriate to its purpose)
6. SEM is a framework for building and evaluating multivariate hypotheses about multiple processes. It is not dependent on a particular estimation method. 7. When it comes to statistical methodology, it is important to distinguish between the priorities of the methodology versus those of the scientific enterprise. Regarding the diagram below, in SEM we use statistics for the purposes of the scientific enterprise. Statistics and other Methodological Tools, Procedures, and Principles. The Scientific Enterprise
multivariate descriptive statistics structural equation modeling realistic predictive models univariate descriptive statistics univariate data modeling Data exploration, methodology and theory development simplistic models detailed process models Understanding of Processes The Relationship of SEM to the Scientific Enterprise modified from Starfield and Bleloch (1991)
structural equation modeling exploratory/ model-building applications confirmatory/ hypothesis-testing applications one aim of SEM 8. SEM seeks to progress knowledge through cumulative learning. Current work is striving to increase the capacity for model memory and model generality.
9. It is not widely understood that the univariate model, and especially ANOVA, is not well suited for studying systems, but rather, is designed for studying individual processes, net effects, or for identifying predictors. 10. The dominance of the univariate statistical model in the natural sciences has, in my personal view, retarded the progress of science.
11. An interest in systems under multivariate control motivates us to explicitly consider the relative importances of multiple processes and how they interact. We seek to consider simultaneously the main factors that determine how system responses behave. 12. SEM is one of the few applications of statistical inference where the results of estimation are frequently “you have the wrong model!”. This feedback comes from the unique feature that in SEM we compare patterns in the data to those implied by the model. This is an extremely important form of learning about systems.
Multivariate Models x1 x1 y1 x2 x2 y2 x3 y1 x3 F y3 x4 x4 y4 x5 x5 y5 13. Illustrations of fixed-structure protocol models: Univariate Models Do these model structures match the causal forces that influenced the data? If not, what can they tell you about the processes operating?
14. Structural equation modeling and its associated scientific goals represent an ambitious undertaking. We should be both humbled by the limits of our successes and inspired by the learning that takes place during the journey.
II. Structural Equation Models: Form and Function A. Anatomy of Observed Variable Models
Some Terminology path coefficients direct effect of x1 on y2 21 x1 y2 11 21 2 y1 exogenous variable 1 endogenous variables indirect effect of x1 on y2 is11times 21
model B, which has paths between all variables is “saturated” (vs A, which is “unsaturated”) A B x1 y1 y2 x1 y1 y2 ζ2 ζ2 ζ1 ζ1 C D x1 y2 x1 y2 ζ2 ζ2 x2 y1 x2 y1 ζ1 ζ1 nonrecursive
First Rule of Path Coefficients: the path coefficients for unanalyzed relationships (curved arrows) between exogenous variables are simply the correlations (standardized form) or covariances (unstandardized form). x1x2y1 ----------------------------- x1 1.0 x2 0.40 1.0 y1 0.50 0.60 1.0 x1 y1 .40 x2
Second Rule of Path Coefficients: when variables are connected by a single causal path, the path coefficient is simply the standardized or unstandardized regression coefficient (note that a standardized regression coefficient = a simple correlation.) 11 = .50 21 = .60 x1 y1 y2 ------------------------------------------------- x1 1.0 y1 0.50 1.0 y2 0.30 0.60 1.0 x1 y1 y2 (gamma) used to represent effect of exogenous on endogenous. (beta) used to represent effect of endogenous on endogenous.
Third Rule of Path Coefficients: strength of a compound path is the product of the coefficients along the path. .50 .60 x1 y1 y2 Thus, in this example the effect of x1 on y2 = 0.5 x 0.6 = 0.30 Since the strength of the indirect path from x1 to y2 equals the correlation between x1 and y2, we say x1 and y2 are conditionally independent.
What does it mean when two separated variables are not conditionally independent? x1y1y2 ------------------------------------------------- x1 1.0 y1 0.55 1.0 y2 0.50 0.60 1.0 r = .55 r = .60 x1 y1 y2 0.55 x 0.60 = 0.33, which is not equal to 0.50
The inequality implies that the true model is additional process x1 y2 y1 Fourth Rule of Path Coefficients: when variables are connected by more than one causal pathway, the path coefficients are "partial" regression coefficients. Which pairs of variables are connected by two causal paths? answer: x1 and y2 (obvious one), but also y1 and y2, which are connected by the joint influence of x1 on both of them.
And for another case: x1 y1 x2 A case of shared causal influence: the unanalyzed relation between x1 and x2 represents the effects of an unspecified joint causal process. Therefore, x1 and y1 connected by two causal paths. x2 and y1 likewise.
How to Interpret Partial Path Coefficients: - The Concept of Statistical Control .31 x1 y2 The effect of y1 on y2 is controlled for the joint effects of x1. .48 .40 y1 I have an article on this subject that is brief and to the point. Grace, J.B. and K.A. Bollen 2005. Interpreting the results from multiple regression and structural equation models. Bull. Ecological Soc. Amer. 86:283-295.
Interpretation of Partial Coefficients Analogy to an electronic equalizer from Sourceforge.net With all other variables in model held to their means, how much does a response variable change when a predictor is varied?
Fifth Rule of Path Coefficients: paths from error variables are correlations or covariances. R2 = 0.44 .31 x1 y2 .73 R2 = 0.16 .40 .48 2 y1 .56 equation for path from error variable .92 1 .84 alternative is to show values for zetas, which = 1-R2
Now, imagine y1 and y2 are joint responses R2 = 0.25 y2 2 .50 x1y1y2 ------------------------------- x1 1.0 y1 0.40 1.0 y2 0.50 0.60 1.0 x1 .40 y1 1 R2 = 0.16 Sixth Rule of Path Coefficients: unanalyzed residual correlations between endogenous variables are partial correlations or covariances.
.40 R2 = 0.25 y2 2 .50 x1 .40 y1 1 the partial correlation between y1 and y2 is typically represented as a correlated error term R2 = 0.16 This implies that some other factor is influencing y1 and y2
Seventh Rule of Path Coefficients:total effect one variable has on another equals the sum of its direct and indirect effects. x1 y2 ζ2 x2 y1 Total Effects: .15 x1x2 y1 ------------------------------- y1 0.64 -0.11 --- y2 0.32 -0.03 0.27 ζ1 Eighth Rule of Path Coefficients: sum of all pathways between two variables (causal and noncausal) equals the correlation/covariance. note: correlation between x1 and y1 = 0.55, which equals 0.64 - 0.80*0.11 .64 .80 .27 -.11
Suppression Effect - when presence of another variable causes path coefficient to strongly differ from bivariate correlation. x1 x2 y1 y2 ----------------------------------------------- x11.0 x20.80 1.0 y1 0.55 0.40 1.0 y2 0.30 0.23 0.35 1.0 x1 y2 ζ2 x2 y1 .15 ζ1 .64 .80 .27 -.11 path coefficient for x2 to y1 very different from correlation, (results from overwhelming influence from x1.)
II. Structural Equation Models: Form and Function B. Anatomy of Latent Variable Models
Latent Variables Latent variables are those whose presence we suspect or theorize, but for which we have no direct measures. fixed loading* Intelligence 1.0 1.0 ζ IQ score latent variable observed indicator error variable *note that we must specify some parameter, either error, loading, or variance of latent variable.
Latent Variables (cont.) Purposes Served by Latent Variables: (1) Specification of difference between observed data and processes of interest. (2) Allow us to estimate and correct for measurement error. (3) Represent certain kinds of hypotheses.
Range of Examples single-indicator multi-method Elevation soil C estimate from map Soil Organic loss on ignition repeated measures repeatability observer 1 singing range, t1 Caribou Counts Territory Size singing range, t2 observer 2 singing range, t3
The Concept of Measurement Error the argument for universal use of latent variables 1. Observed variable models, path or other, assume all independent variables are measured without error. 2. Reliability - the degree to which a measurement is repeatable (i.e., a measure of precision). illustration 0.60 y x y R2 = 0.30 x error in measuring x is ascribed to error in predicting/explaining y
Example Imagine that some of the observed variance in x is due to error of measurement. calibration data set based on repeated measurement trials average correlation between trials = 0.90 therefore, average R-square = 0.81 plotx-trial1x-trial2x-trial3 1 1.272 1.206 1.281 2 1.604 1.577 1.671 3 2.177 2.192 2.104 4 1.983 2.080 1.999 . ........ ........ ....... n 2.460 2.266 2.418 reliability = square root of R2 measurement error variance = (1 - R2) times VARx imagine in this case VARx = 3.14, so error variance = 0.19 x 3.14 = 0.60 LV1 LV2 .65 1.0 .90 x y .60 R2 = .42
II. Structural Equation Models: Form and Function C. Estimation and Evaluation
1. The Multiequational Framework (a) the observed variable model We can model the interdependences among a set of predictors and responses using an extension of the general linear model that accommodates the dependences of response variables on other response variables. • y= α + Βy + Γx + ζ Φ = cov (x) = q x q matrix of covariances among xs y = p x 1 vector of responses α = p x 1 vector of intercepts Ψ = cov (ζ) = q x q matrix of covariances among errors Β = p x p coefficient matrix of ys on ys Γ = p x q coefficient matrix of ys on xs x = q x 1 vector of exogenous predictors ζ = p x 1 vector of errors for the elements of y
(b) the latent variable model The LISREL Equations Jöreskög 1973 η = α + Β η + Γξ + ζ where: η is a vector of latent responses, ξ is a vector of latent predictors, Β and Γ are matrices of coefficients, ζ is a vector of errors for η, and α is a vector of intercepts for η (c) the measurement model x = Λxξ + δ y = Λyη + ε where: Λx is a vector of loadings that link observed x variables to latent predictors, Λy is a vector of loadings that link observed y variables to latent responses, and δ and ε are vectors are errors
2. Estimation Methods (a) decomposition of correlations (original path analysis) (b) least-squares procedures (historic or in special cases) (c) maximum likelihood (standard method) (d) Markov chain Monte Carlo (MCMC) methods (including Bayesian applications)
Bayesian References: Bayesian SEM: Lee, SY (2007) Structural Equation Modeling: A Bayesian Approach. Wiley & Sons. Bayesian Networks: Neopolitan, R.E. (2004). Learning Bayesian Networks. Upper Saddle River, NJ, Prentice Hall Publs.
SEM is Based on the Analysis of Covariances! Why? Analysis of correlations represents loss of information. illustration with regressions having same slope and intercept A B r = 0.86 r = 0.50 Analysis of covariances allows for estimation of both standardized and unstandardized parameters.
2. Estimation (cont.) – analysis of covariance structure The most commonly used method of estimation over the past 3 decades has been through the analysis of covariance structure (think – analysis of patterns of correlations among variables). { } σ11 σ12 σ22 σ13 σ23 σ33 Σ = compare Observed Correlations* Model-Implied Correlations { } 1.0 .241.0 .01 .70 1.0 S = * typically the unstandardized correlations, or covariances
3. Evaluation Hypothesized Model Observed Covariance Matrix { } + σ11 σ12 σ22 σ13 σ23 σ33 x1 y2 Σ = y1 estimation (e.g., maximum likelihood) compare Model Fit Evaluations Parameter Estimates { } 1.3 .24.41 .01 9.7 12.3 S Implied Covariance Matrix =
Model Identification - Summary 1. For the model parameters to be estimated with unique values, they must be identified. As in linear algebra, we have a requirement that we need as many known pieces of information as we do unknown parameters. 2. Several factors can prevent identification, including: a. too many paths specified in model b. certain kinds of model specifications can make parameters unidentified c. multicollinearity d. combination of a complex model and a small sample 3. Good news is that most software checks for identification (in something called the information matrix) and lets you know which parameters are not identified.
Fitting Functions The most commonly used fitting function in maximum likelihood estimation of structural equation models is based on the log likelihood ratio, which compares the likelihood for a given model to the likelihood of a model with perfect fit. Note that when sample matrix and implied matrix are equal, terms 1 and 3 = 0 and terms 2 and 4 = 0. Thus, perfect model fit yields a value of FML of 0.
Fitting Functions (cont.) Maximum likelihood estimators, such as FML, possess several important properties: (1) asymptotically unbiased, (2) scale invariant, and (3) best estimators. Assumptions: (1) and S matrices are positive definite (i.e., that they do not have a singular determinant such as might arise from a negative variance estimate, an implied correlation greater than 1.0, or from one row of a matrix being a linear function of another), and (2) data follow a multinormal distribution.
Assessment of Fit between Sample Covariance and Model- Implied Covariance Matrix The Χ2 Test One of the most commonly used approaches to performing such tests (the model Χ2 test) utilizes the fact that the maximum likelihood fitting function FML follows a X2 (chi-square) distribution. X2 = n-1(FML) Here, n refers to the sample size, thus X2 is a direct function of sample size.
Illustration of the use of Χ2 correlation matrix 1.0 0.4 1.0 0.35 0.5 1.0 issue: should there be a path from x to y2? y2 x 0.40 0.50 y1 rxy2expected to be 0.2 (0.40 x 0.50) X2 = 1.82 with 1 df and 50 samples P = 0.18 Essentially, our ability to detect significant differences from our base model, depends as usual on sample size. X2 = 3.64 with 1 df and 100 samples P = 0.056 X2 = 7.27 with 1 df and 200 samples P = 0.007