


















Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!



















Joop J. Hox Utrecht University, the Netherlands
At present, multilevel structural equation models use mostly a technique developed by Muthen (1989, 1994). This technique, which is by now available in the programs Mplus, EQS, and in the preprocessor STREAMS works by decomposing the sample data into a pooled within groups and a scaled between groups covariance matrix, and analyzing these simultaneously using multi-group modeling. Since the between groups covariance matrix estimates a composite of the population within and between matrices, the analysis model tends to become complicated in this approach. Also, to keep the analysis manageable, the analysis neglects the fact that with unbalanced groups, the between groups covariance matrix reflects a mixture of populations. Various simulations have shown that with reasonable sample sizes at both levels, ignoring the unbalance does not produce sizeable bias. A different approach, suggested by Goldstein is to use a conventional multilevel regression program as a preprocessor to produce a direct maximum likelihood estimate of the population within and between covariance matrices. This paper examines the advantages and disadvantages of the two approaches, using example data.
Key words: SEM, hierarchical model, two-level SEM
A general analysis approach that includes both factor and path analysis is Structural Equation
Modeling , or SEM. The interest in SEM is often on theoretical constructs , which are represented
by the latent factors. The factor model, which is often called the measurement model, specifies
how the latent factors are measured by the observed variables. The relationships between the
theoretical constructs are represented by regression or path coefficients between the factors. The
structural equation model implies a structure for the covariances between the observed variables,
which explains the alternative name Structural equation Analysis. However, the model can be extended to include means of observed variables or factors in the model, which makes structural
equation modeling a more accurate name.
Structural equation models for multilevel data have been elaborated, among others, by
Goldstein and McDonald (Goldstein & McDonald, 1988; McDonald & Goldstein, 1989,
McDonald, 1994), Muthén and Satorra (Muthén, 1989; Muthén & Satorra, 1989) and Longford
and Muthén (Longford & Muthén, 1992). I refer to McArdle and Hamagami (1996) for a
comparison between multilevel regression techniques and standard multigroup SEM. The
approach by Muthén is particularly interesting, because he shows that structural equation
modeling (SEM) of multilevel data is possible using available SEM software, such as Lisrel
(Jöreskog & Sörbom, 1996), Eqs, or Amos (Arbucle & Wothke, 1999). For an introductory
exposition of Muthén's method, see Muthén (1994), Hox (1995), Kaplan and Elliot (1997) and
Li, Duncan, Harmer, Acock, and Stoolmiller (1998). Meanwhile, software has appeared that
includes these multilevel extensions directly in the SEM program (M plus , see Muthén &
Muthén, 1998; Eqs 6.0, as promised in spring 2000) or acts as a front end for conventional SEM
software (Streams, see Gustaffson & Stahl, 1999). Heck and Thomas (2000) present an extended
example of multilevel SEM, which uses Muthén’s method and discusses the implementation
details for the programs Lisrel, Streams, and Mplus.
This paper discusses two different approaches to multilevel SEM: the approach originally
proposed by Muthén, and an approach that is based on direct estimation of the covariance
matrices at the distinct levels, as proposed by Goldstein (1987, 1995) and applied by Rowe and
Hill (1998).
Multilevel structural models assume that we have a population of individuals that are divided into groups. The individual data are collected in a p -variate vector Y ig (subscript i for individuals, g for groups). Cronbach and Webb (1975) propose to decompose the individual data Y ig into a between groups component Y B (^) = Y g , and a within groups component
Y B (^) = Y ig − Y g. In other words, for each individual we replace the observed Total score Y T =
Y ig by its components: the group component Y B (the disaggregated group mean) and the individual component Y W (the individual deviation from the group mean.) These two components have the attractive property that they are orthogonal and additive (cf. Searle, Casella & McCulloch, 1992):
Y T = Y B + Y W (1.1)
This decomposition can be used to compute a between groups covariance matrix ΣΣΣΣB (the population covariance matrix of the disaggregated group means Y B) and a within groups covariance matrix ΣΣΣΣW (the population covariance matrix of the individual deviations from the group means Y W). These covariance matrices are also orthogonal and additive:
S T = S B + S W (1.2)
g g g
G
∑ d^ id^ i
Muthén (1989, 1990) shows that S PW is the maximum likelihood estimator of ΣΣΣΣW, with sample
size N-G , and S* B is the maximum likelihood estimator of the composite ΣΣΣΣW + c ΣΣΣΣB, with sample
size G , and c equal to the common group size n :
S PW = Σ! (^) W (1.6)
and
S * B^ = Σ!^ W + c Σ! (^) B (1.7)
Equations 1.6 and 1.7 suggest using the multi-group option of conventional SEM software for a
simultaneous analysis at both levels. However, if we model the between groups structure, we
cannot simply construct and test a model for S B, because S B estimates a combination of ΣΣΣΣW and
ΣΣΣΣB. Instead, we have to specify for S B two models: one for the within groups structure and one
for the between groups structure. The procedure is that we specify two groups, with covariance
matrices S PW and S B (based on N-G and G observations). The model for ΣΣΣΣW must be specified for
both S PW and S B, with equality restrictions between both `groups' to guarantee that we are indeed
estimating the same model in both covariance matrices, and the model for ΣΣΣΣB is specified for S B,
with the scale factor c built into the model.
The reasoning given above applies only in the so-called balanced case, that is, if all
groups have the same group size. In the balanced case, the scale factor c is equal to the common
group size n. The unbalanced case, where the group sizes differ, with G groups of unequal sizes,
is more complicated. In this case, S PW is still the maximum likelihood estimator of ΣΣΣΣW, but S *B
now estimates a different expression for each set of groups with distinct group size d :
S * Bd^ = Σ!^ W + cd Σ! (^) B (1.8)
where equation 1.8 holds for each distinct set of groups with a common group size equal to nd ,
and cd=nd (Muthén, 1990, 1994). Full Information Maximum Likelihood (FIML) estimation for
unbalanced groups implies specifying a separate between-group model for each distinct group
size. These between groups models have different scaling parameters cd for each distinct group
size, and require equality constraints across all other parameters and inclusion of a mean
structure (Muthén, 1994, p. 385). Thus, using conventional SEM software for the unbalanced
case requires a complicated modeling scheme that creates a different ‘group’ for each set of
groups with the same group size. This results in large and complex models, with possibly groups
with a sample size less than the number of elements in the corresponding covariance matrix. This
makes full Maximum Likelihood estimation problematic, and therefore Muthén (1989, 1990)
proposes to ignore the unbalance, and to compute a single S* B. The model for S* B includes an ad
hoc estimator c*^ for the scaling parameter, which is close to the average sample size:
( )
2 2
G g g
∑ (1.9)
This solution is not a full maximum likelihood solution. The result is a Limited Information
Maximum Likelihood (LIML) solution, which McDonald (1994) calls a pseudobalanced
solution. Muthén (1989, 1990) shows that S* B is a consistent and unbiased estimator of the
composite ΣΣΣΣW + cΣΣΣΣB. This means that with large samples (of both individuals and groups!) S B
generally becomes a close estimate of ΣΣΣΣB, and the pseudobalanced solution should produce a
good approximation given adequate sample sizes.
Since S B is not a maximum likelihood estimator, the analysis produces only approximate
parameter estimates and standard errors. However, when the group sizes are not extremely
different, the pseudobalanced estimates will be close enough to the full maximum likelihood
estimates to be useful in their own right. Comparisons of pseudobalanced estimates with full
maximum likelihood estimates or with known population values have been made by Muthén
(1990, 1994), Hox (1993), and McDonald (1994). Their main conclusion is that the
pseudobalanced parameter estimates are fairly accurate and useful for a variety of multilevel
problems. A large simulation study by Hox and Maas (2000) assesses the robustness of the
pseudobalanced method against unequal groups, small sample sizes at both the individual and
the group level, in the presence of a low or a high intraclass correlation (ICC). In this study, the
within groups part of the model poses no problems. The most important problem in the between
groups part of the model, is the occurrence of inadmissible estimates, when the group level
sample size is small (50) and the intracluster correlation is low. When an admissible solution is
for the between groups model, the actual model can become quite complicated. In addition, some
software has difficulties finding good starting values. Several software writers have addressed
these problems. The program STREAMS (Gustaffson & Stahl, 1999) acts as a preprocessor for
standard SEM software. For two-level SEM, it calculates the pooled within and scaled between
matrices, and writes the complicated setup, including starting values based on previous analyses.
The program Mplus (Muthén & Muthén, 1998) hides all the complications of the pseudo-
balanced approach from the user. It also uses by default robust estimators for the standard errors
and adjusts the chi-square test statistic for the heterogeneity that results from mixing groups of
different sizes (cf. Muthén & Satorra, 1995).
1.2.1 An Example of a Multilevel Factor Analysis Using the Pseudobalanced Approach
The example data are taken from Van Peet (1992). They are the scores on six intelligence measures of 187 children from 37 families. The six intelligence measures are: word list, cards, matrices, figures, animals, and occupations. The data have a multilevel structure, with children nested within families. If intelligence is strongly influenced by shared genetic and environmental influences in the families, we may expect rather strong between family effects. To begin, the individual scores on the six measures are decomposed into disaggregated group means and individual deviations from the group means. Table 1.1 shows the means and variances of the scores, and the Intra Class Correlation (ICC),^1 with the family and individual level variances calculated using standard formulas for the variances. Note that, within rounding errors, the family level variance and the individual level variance sum to the total variance.
(^1) The ICC can be estimated by analysis of variance procedures (Hays, 1994), or from the intercept-only model using a multilevel approach. Here, it is estimated from the pooled within groups and between groups variances.
Table 1.1 Means, variances and ICC for family data Total Family Individual Measure Mean Variance Variance Variance ICC
Word list 29.8 15.21 7.48 7.73. Cards 32.7 28.47 13.65 14.82. Matrices 31.7 16.38 5.24 11.14. Figures 27.1 21.23 6.84 14.38. Animals 28.7 22.82 8.46 14.36. Occupations 28.3 21.42 9.11 12.31.
The results in Table 5.1 suggest that there are indeed sizeable family effects. To analyze the factor structure of the six measures on the individual and family level, we compute the pooled within family covariance matrix S PW and the scaled between family covariance matrix S B, using equations (1.4) and (1.5). The results are in Table 1.2 and 1.3.
Table 11.2 Pooled within families covariances and correlations 1 2 3 4 5 6 Word list 9.59 .24 .30 .20 .09. Cards 3.16 18.37 .49 .14 .14. Matrices 3.49 7.83 13.81 .14 .11. Figures 2.64 2.56 2.12 17.38 .26. Animals 1.15 2.45 1.74 4.66 17.81_._ Occupations 0.60 0.15 1.02 3.10 7.42 15. Note: italic entries in upper diagonal are the correlations
wordlist cards matrices figures animals occupats
numeric perception
Figure 1.1 Within families model for Van Peet data
We start by estimating some ‘benchmark’ models, to test whether there is any between family structure at all. The simplest model is the null model that omits the specification of a family level model. If the null model holds, there is no family level structure at all; all covariances in S B are the result of individual sampling variation. If this null-model holds, we may as well continue our analyses using simple single level analysis methods. The next model is the independence model, which specifies only variances on the family level, but no covariances. A graphical representation of the independence model for S B is given in Figure 1.2.
wordlist cards matrices figures animals occupats
numeric perception
wl crds matr figs anim occ 2.25 2.25 2.25 2.25 2.25 2.
Figure 1.2 Within model + independence model for between structure, Van Peet data
Note that in Figure 1.2 I have fixed the loadings for the family level variables (the six ‘factors’ in the circles going from ‘wl’ to ‘occ’) not to one, as is usual, but to 2.25, which is the square root of the scale factor. This is to transform the family level variables to their proper scale. Since this is a fixed value, it has no influence on the global fit of the model, but it is necessary for a correct interpretation. The independence model estimates for the family level structure only the variances of the family level variables ‘wl’ to ‘occ’, If the independence model holds, there is family level variance, but no substantively interesting structural model. Nevertheless, in this case it is still useful to apply multilevel analysis, because this produces unbiased estimates of the individual model parameters. Since there is no interesting between groups model in this case, we can simply analyze the pooled within matrix, at some cost in loosing information from G observations. If the independence model is rejected, there is some kind of structural model on the family level. To examine the best possible fit given the individual level model, we can estimate the saturated model; which fits a full covariance matrix to the family level observations. This places no restrictions on the family model.^1 Table 1.4 shows the results of estimating these models:
Table 1.5 Family level benchmark models
Family model Chi-square df p
Null 125.4 29. Independence 52.5 23. Saturated 7.2 8.
Both the null model and the independence model are rejected. Next, we specify for the family level the same two models we have used for the individual level. Again, the two factor model fits well. However, on the family level a one factor model fits almost as well, as Table 5.3 shows:
(^1) To establish the within groups structure, we can specify the saturated model for the between structure, and then explore the within model simultaneously in both S PW and S B. However, since S PW is usually based on many more observations than S B, little information is lost by only analyzing S PW, while this makes the setups much simpler.
Table 1.6 Individual and family level estimates, standard SEM software Individual level Family level Numeric Perception resid. var. General resid. var. Word list 1* 8.13 (1.03) 1* 1.79 (1.14) Cards 2.34 (.66) 10.76 (2.44) 1.24 (.36) 3.95 (1.84) Matrices 2.39 (.74) 5.80 (2.28) 0.82 (.22) -.03 (.66) Figures .63 (.21) 15.81 (1.97) 0.56 (.27) 2.45 (1.45) Animals 1.51 (.55) 6.70 (3.92) 0.98 (.31) 1.36 (1.33) Occupations 1* 10.43 (2.08) 0.41 (.30)ns^ 5.69 (1.97) Standard errors in parentheses. Correlation between individual factors: 0.22; * = fixed; ns = not significant
There is a small anomaly in Table 1.6: one of the error variances at the family level is negative. The value is very small, and this kind of problem tends to occur when the sample sizes is small. Thirty-seven families is indeed a small sample, and the usual treatment is to fix the small negative variance estimate at zero. Table 1.6 suggests an interpretation that on the family level, where the effects of the shared genetic and environmental influences are visible, one general ( g ) factor is sufficient to explain the covariances between the intelligence measures. On the individual level, where the effects of individual idiosyncratic influences are visible, we need two factors. These results could be fitted into Cattel's (1971) theory of fluid and crystallized intelligence, which states that, as a result of individual factors (education, physical and social environment), the general g-factor `crystallizes' into specific individual competencies. Gustaffson and Stahl (1999) also analyze this data set, and arrive at a different model. The results given above were produced using standard SEM software on the pooled within and the scaled between covariance matrix, produced by the program SPLIT2 (Hox, 1994). Using Mplus (Muthén & Muthén, 1998), we can analyze the multilevel factor model directly. If we use Mplus to produce a Maximum Likelihood solution, the results are almost identical: a chi-square of 21.7 (df=17, p=0.20) and estimates and standard errors that are very close to the estimates given in Table 1.6. However, by default Mplus produces for two-level models maximum likelihood estimates with robust standard errors and a corrected chi-square test. The corrected chi-square is 24.0 (df=17, p=0.12), which is somewhat different from the standard chi-square. The Mplus maximum likelihood estimates and robust standard errors are in Table 1.7.
Table 1.7 Individual and family level estimates, Mplus robust standard errors Individual level Family level Numeric Perception resid. var. General resid. var. Word list 1* 8.13 (1.02) 1* 1.80 (1.42) Cards 2.34 (.60) 10.75 (2.76) 1.24 (.43) 3.96 (1.55) Matrices 2.39 (.86) 5.81 (2.51) 0.82 (.23) -.04 (.56) Figures .63 (.17) 15.81 (1.51) 0.56 (.28) 2.46 (1.12) Animals 1.51 (.55) 6.70 (3.91) 0.98 (.27) 1.37 (.88) Occupations 1* 10.43 (1.74) 0.41 (.23)ns^ 5.71 (2.18) Standard errors in parentheses. Correlation between individual factors: 0.22; * = fixed; ns = not significant
The results are not greatly different from the standard asymptotic standard errors. Still, using the
Mplus robust estimates, the covariance between the within-families factors, which is barely
significant using the asymptotic standard error (p=0.047), is clearly significant when the
corrected standard error is used (p=0.034).
1.2.2 Goodness of Fit Using the Pseudobalanced Approach
Standard SEM programs, and specialized programs like STREAMS and Mplus, produce in
addition to the chi-square test a large number of goodness-of-fit indices that indicate how well
the model fits the data. Statistical tests for model fit have the problem that their power varies
with the sample size. If we have a very large sample, the statistical test will almost certainly
be significant. Thus, with large samples, we will always reject our model, even if the model
actually describes the data very well. Conversely, with a very small sample, the model will
always be accepted, even if it fits rather badly.
Given the sensitivity of the chi-square statistic for sample size, researchers have
proposed a variety of alternative fit indices to assess model fit. All goodness-of-fit measures
are some function of the chi-square and the degrees of freedom. Most of these fit indices not
only consider the fit of the model, but also its simplicity. A saturated model, that specifies all
possible paths between all variables, always fits the data perfectly, but it is just as complex as
the observed data. In general, there is a trade-off between the fit of a model and the simplicity
of a model. Several goodness-of-fit indices assess simultaneously both the fit and the
entire model. Therefore, the goodness-of-fit is reflects both the fit in the within model and the
between model. Since the sample size for the within ‘group’ is generally the largest, this part
of the model dominates the value of the fit indices. Clearly, we would prefer to assess the fit
for both parts of the model separately.
Since the within groups sample size is usually much larger than the between groups
sample size, we do not loose much information if we model the within groups matrix
separately, and interpret the fit indices produced in this analysis separately.
A simple way to obtain goodness-of-fit indices for the between model is to specify for
the within groups matrix a saturated model. The saturated model estimates all covariances
between all variables. It has no degrees of freedom, and always fits the data perfectly. As a
result, the degree of fit indicated by the goodness-of-fit indices, represents the fit of the
between model. This is not the best way to assess the fit of the between model, because the
perfect fit of the within model also influences the value of the fit index. Fit indices that are
mostly sensitive to the degree of fit will show a spuriously good fit, while fit indices that also
reflect the parsimony of the model may even show a spurious lack of fit.
A better way to indicate the fit of the within and between model separately is to
calculate these by hand. Most fit indices are a function of the chi-square, sample size N , and
degrees of freedom df. Some consider only the model under consideration, the target model
M (^) t , others also consider a baseline model, usually the independence model. By estimating the
independence and the target model for the within matrix, with a saturated model for the
between matrix, we can assess how large the contribution to the overall chi-square is for the
various within models. In the same way, by estimating the independence and the target model
for the between matrix, with a saturated model for the within matrix, we can assess how large
the contribution to the overall chi-square is for the various between models. Using this
information, we can calculate the most common goodness-of-fit indices. Most SEM software
produces the needed information, and the references and formulas are in the user manuals and
in the general literature (e.g. Gerbing & Anderson, 1992).
Table 1.8 gives the separate chi-squares, degrees of freedom, and sample sizes for the
independence model and the final model for the family intelligence example.
Table 1.8 Chi-squares and degrees of freedom for individual and family level models separately 7 Individual level, Between model saturated
Family level, within model saturated independence 2 factors independence 1 factor chi-square 148.26 7.27 45.23 13. Df 15 8 15 13 N 150 150 37 37
The calculation of the widely used goodness-of-fit index GFI is too complicated to be carried out by hand. The comparative fit index CFI (Bentler, 1990) is given by
2 (^1 ) t t I I
CFI df df
χ χ
In equation (1.10), χ t 2 is the chi-square of the target model, χ (^) I^2 is the chi-square for the
independence model, and df (^) t and df (^) I are the degrees of freedom for the target and the independence model. If the difference of the chi-square and the degrees of freedom is negative, it is replaced by zero. The Tucker-Lewis index, TLI, which is also known as the Non-Normed Fit Index, NNFI, is given by
2 2
(^12) 1
I t I t I I
TLI df^ df df
χ χ
χ
Finally, the Root Mean Square Error of Approximation RMSEA is given by
2 t t
t
df RMSEA N df
χ − = (1.12).
Using equations (1.10) to (1.12) and the values in Table 1.8, we can calculate the CFI, TLI and RMSEA separately for the within and between models. The results are in Table 1.9.
6 6 6 hij (^) h 1 h hij (^) h 1 hij (^) h 1 hj Y γ d u u = = =
= (^) ∑ + (^) ∑ +∑ (1.17).
The model described by equations (1.13) and (1.14), provides us with estimates of the six item means, and of their variances and covariances at the pupil and school level. Since in this application we are mostly interested in the variances and covariances, RML estimation is preferred to FML estimation. Table 1.9 below presents the RML estimates of the covariances and the corresponding correlations at the individual level, and Table 1.10 presents the same at the family level.
Table 1.9 Covariances and correlations at the individual level 1 2 3 4 5 6 Word list 9.65^ .24^ .31^ .20^ .08^. Cards 3.21^ 18.38^ .49^ .14^ .13^. Matrices 3.57^ 7.89^ 13.92^ .14^ .10^. Figures 2.59^ 2.56^ 2.13^ 17.93^ .26^. Animals 1.03^ 2.41^ 1.61^ 4.74^ 18.03^. Occupations 0.55^ 0.12^ 0.93^ 3.19^ 7.52^ 15. Note: italic entries in upper diagonal are the correlations
Table 1.10 Covariances and correlations at the family level 1 2 3 4 5 6 Word list 5.92 .68 .77 .20 .90. Cards 5.29 10.37 .81 .72 .58. Matrices 3.02 4.18 2.57 .84 1.01. Figures 0.89 4.29 2.50 3.42 .34. Animals 4.91 4.18 3.64 1.43 5.06_._ Occupations 2.77 2.08 0.59 0.35 1.57 6. Note: italic entries in upper diagonal are the correlations
Table 1.9 is equivalent to the pooled within families covariance matrix in Table 1.2. The actual values in both tables are certainly very close. Table 1.10, the between families matrix, is not equivalent to the scaled between families matrix in Table 1.3. The covariance matrix in Table 1.3 is the scaled between groups matrix, which is equals to the within groups matrix plus the between groups matrix multiplied by the average group size. The average group size for these
family data, indicated by the scaling factor in equation (1.6) is 5.04, and as a result the actual values in Table 1.3 are rather large. Table 1.10 is a direct estimate of the between family covariance matrix itself. It is a maximum likelihood estimator of the population between family covariance matrix, and can be entered directly into a standard SEM program for analysis. As a result, if we are interested in the population structure of the within families or between families covariances, we can input the corresponding sample matrix from Table 1.9 or 1.10 directly into a SEM program. There is no need to analyze them simultaneously, using the two-group option, unless we want to impose constraints across the two levels. There is one problematic entry in the family level matrix; the correlation between ‘matrices’ and ‘animals’ is estimated as 1.01, an impossible value. It is interesting to note that this impossible value is associated with the scale ‘matrices’, which in the pseudobalanced estimates in Table 1.6 has a small negative variance on the family level. Both impossible values point to the same variable, and the source of the problem is in both cases the small sample size at the family level. In the case of the negative variance estimate, the usual solution is to fix its value to zero. Some SEM programs can continue estimation with an improper input matrix (e.g., Amos, cf. Arbucle & Wothke, 1999). For our data, the result will be a negative variance estimate, which subsequently must be fixed at zero. If a SEM program cannot accommodate an improper covariance matrix, a practical solution is the ridge option, which is to multiply the diagonal of the covariance matrix with a number slightly larger than one (the Lisrel program does this automatically, cf. Jöreskog & Sörbom, 1996). In our case, the automatic ridge option in Lisrel multiplies all diagonal values by 2.0 to obtain a proper input matrix.^1 If we analyze the individual level and family level covariance matrices separately, we find the parameter estimates reported all together in Table 1.11. For the individual level, the chi- square is 7.12 (df=8, p=.52), with all fit indices indicating a good fit. For the family level (after the ridge-correction) the chi-square is 6.47 (df=9, p=.69), with all fit indices indicating a good fit.
(^1) The ridge factor chosen by Lisrel is rather large. Lisrel can be instructed to use a smaller value, such as 1.1, which would be sufficient. The Amos estimates on the improper matrix are close to the Lisrel estimates, but for an improper matrix Amos does not calculate the chi-square test. The ridge-solution presented here can be followed using any of the available SEM software.