Here are links to our lecture notes on the different course topics...
Intro: The Pyramid of Success
Correlation, Least-Squares Principle, and Multiple Regression
Path Analysis
Exploratory Factor Analysis (here, here, and here)
Confirmatory Factor Analysis (here, here, and here)...
...and Associated Basic Concepts (free/fixed parameters and model identification; degrees of freedom; model fit; reporting fit)
ONYX Program
Writing Up SEM/CFA Results
Full Structural Models (here, here, and here); also see the following article for discussion of what a "model" represents:
Rodgers, J. L. (2010). The epistemology of mathematical and statistical modelling. A quiet revolution. American Psychologist, 65, 1-12.
Video clip of legendary physicist Richard Feynman discussing conclusions one can draw from tests of theoretical models.
Comparative Model Testing and Nestedness
Beyond the Basics of SEM (contains all our topics for roughly the second half of the course)
Diagram for Assignment 2
Refresher Diagram on SEM Terminology
SEM The Musical: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 12.5
Graphic arts programs
SEM The Musical 12.5
We will be performing SEM The Musical 12.5 this upcoming Thursday, November 29. Why the designation "12.5"? For roughly the last dozen years, SEM had been the fourth course in our HDFS graduate statistics sequence (after Intro, ANOVA/Regression, and Multivariate) and always taught in the spring. However, we revamped the statistics sequence, knocking out the Multivariate course, moving SEM to third in the order, and adding Longitudinal in the fourth position. Starting with the current semester, SEM is now a fall course. Because only six months (rather than 12) have elapsed since the last SEM Musical, we are therefore referring to the upcoming one as 12.5.
As always, we'll sing some new songs (shown below) and some classics of the previous 12 years. Just click on any of the following numbers to access a prior musical: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12.
Todd Little Parcels Indicators
Lyrics by Alan Reifman
(May be sung to the tune of “[My Baby Does the] Hanky Panky,” Greenwich/Barry, popularized by Tommy James & the Shondells)
[Video of performance; added 12/4/2018]
Todd Little parcels indicators,
Todd Little parcels indicators,
He’s one of modeling’s innovators,
He checks residuals’ “correlators*,”
Todd Little parcels indicators...
Todd Little parcels indicators,
Todd Little parcels indicators,
He’s one of modeling’s innovators,
He checks residuals’ “correlators,”
Todd Little parcels indicators...
You’ve got a bunch of indicators, you know,
You have to decide, how they’re gonna go,
Should you combine them, into smaller sets?
Do so at random or with other intent?
They’re still debating, yeah they’re still debating...
Todd Little parcels indicators,
Todd Little parcels indicators,
He’s one of modeling’s innovators,
He checks residuals’ “correlators,”
Todd Little parcels indicators...
(Guitar solo)
You’ve got a bunch of indicators, you know,
You have to decide, how they’re gonna go,
Should you combine them, into smaller sets?
Do so at random or with other intent?
They’re still debating, yeah they’re still debating...
Todd Little parcels indicators,
Todd Little parcels indicators,
He’s one of modeling’s innovators,
He checks residuals’ “correlators,”
Todd Little parcels indicators...
He’s one of modeling’s innovators,
He checks residuals’ “correlators,”
Todd Little parcels indicators ,
Todd Little parcels indicators... (fade out)
---
*There is, of course, no such term as “correlator.” I made it up to maintain the rhyme. What I’m referring to is how one may choose to combine into a parcel indicators that, while initially separate, show a residual correlation. Little et al. (2013, “Why the items versus parcels controversy needn’t be one,” Psychological Methods) note that: “...when a correlated residual is evident in an item-level solution, the most advantageous parcel solution may be one that aggregates those correlated items together” (p. 290).
Oh Mplus!
Lyrics by Alan Reifman
(May be sung to the tune of “Holy War,” Lukather/Vanston/Williams for Toto)
[Video of performance; added 12/18/2018]
(Guitar riff four times)
So, you need, some new, S-E-M software,
From lots of options, you can choose,
I’d say use AMOS, for the basics,
But Mplus, when things, are abstruse,
Ready, to start,
Your data, must,
Be in plain-text,
With no labels on top,
Run it, run it,
Then check, warnings,
So you can make sure,
That your run, didn’t stop,
For more, advanced stuff,
Check out all, the working papers,
Things should, be clear, eventually,
Oh Mplus!
Yes, you’re such a quirky program,
Adding covs, for which no one asked,
You’ve got quite, a learning curve,
To master, all the details,
It is a, substantial task!
(Guitar riffs twice)
Now, if you want latent classes,
Or, multilevel modeling,
Mplus keeps updating, its routines,
So it has got, the things you need,
You can get help,
In figuring, out, the details,
A book by Geiser’s, crystal clear,
There also is,
A website, to help you,
Where they do, Q & A,
Give it a try,
But don’t lose, your patience,
It takes some time, to find your way,
Oh Mplus!
Yes, you’re such a quirky program,
Adding covs, for which no one asked,
You’ve got quite, a learning curve,
To master, all the details,
It is a, substantial task!
(Guitar solos)
Oh Mplus!
Yes, you’re such a quirky program,
Adding covs, for which no one asked,
You’ve got quite, a learning curve,
To master, all the details,
It is a substantial task!
Oh Mplus!
Yes, you’re such a quirky program,
Adding covs, for which no one asked,
You’ve got quite, a learning curve,
To master, all the details,
It is a substantial task!
SEM The Musical 12
The twelfth annual SEM The Musical will be held on Thursday, May 3, during our class. The above logo was contributed by one of our students, Casey A. Smith. We'll sing new songs (to be listed below as they're written) and some favorites from the previous 11 musicals (links: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11).
Welcome to the SEM Parade
Lyrics by Jonathan Villarreal
(May be sung to the tune of “Welcome to the Black Parade”,Bryar, Iero, Way, Way, & Toro, for My Chemical Romance)
When we were, a new class,
Our professor, took us through the basics,
To see a working model,
He said, class, when you’re finished,
Would you make, a structural equation model,
To find RMSEA,
He said, will you, connect them,
The pathways, and get degrees of freedom,
And compare your delta chi-squares?
Because one day, you’ll leave here,
As scholars, to do your own research,
And join the SEM Parade,
When we were, a new class,
Our professor, took us through the basics,
To see a working model,
He said, class, when you’re finished,
Would you make, a structural equation model,
To find RMSEA,
(Drum-led speed-up)
Sometimes we get the feeling,
These are good factor loadings,
And other times, it feels like it’s all wrong,
When through it all,
The models we draw,
In Onyx and AMOS,
And when it’s done, we want you all to know,
We’ll run Mplus, we’ll run Mplus,
And though this class is done, believe us,
We’ll continue to run Mplus,
We’ll run Mplus,
And three people cannot run it,
Remote desktop will not allow it,
An error that sends you reeling,
Iterations exceeded,
This model will not run at all,
So do the math,
And change a path,
Let’s make our syntax clear,
Triumphant in the end,
We heed the call,
To run Mplus,
We’ll run Mplus,
And though this class is done, believe us,
We’ll continue to run Mplus,
We’ll run Mplus,
And through maximum likelihood estimation,
We’ll accept the adjusted,
Model, and write up our results (oh, oh, oh)
Make sure it’s in STDYX (oh, oh, oh)
Take a look at analyses,
Cause it does not fit at all,
The CFI, Is below point 90,
Didn’t calculate, Degrees of freedom,
It’s too low, The Tucker-Lewis,
We compared it all,
We want to cite our source,
For best fit,
David Kenny,
Don’t forget,
To discuss correlations,
“Causal” paths,
For all our factors,
List them all,
Or at least if significant,
We’re just a class,
We’re not statisticians,
Just a class, who had to run these tests,
We’re just a class,
We’re not Todd Little,
WE – DID – IT,
We’ll run Mplus,
We’ll run Mplus,
And though this class is done, believe us,
We’ll continue to run Mplus,
We’ll run Mplus,
And through maximum likelihood estimation,
We’ll accept the adjusted model,
The CFI,
Is below point 90,
Didn’t calculate,
Degrees of freedom,
It’s too low,
The Tucker-Lewis,
We compared it all,
We want to cite our source,
The CFI (we’ll run Mplus),
Is below point 90 (we’ll run Mplus),
Didn’t calculate (we’ll run Mplus),
Degrees of freedom,
It’s too low,
The Tucker-Lewis,
We compared it all,
We want to cite our source (we’ll run Mplus)
The CFI
Lyrics by Alan Reifman
May be sung to the tune of “English Eyes” (Kimball/Paich/J. Porcaro /S. Porcaro for Toto)
What you’ve run, you want to see how well it fits,
Do the known, and the implied r’s, match bit-by-bit?
The NFI, is one way, but it rises just by adding paths,
Can parsimony, be embedded, right there in the maths?
It takes account, com-plex-i-ty, CFI,
You want to get, values above point-9-5,
(Instrumentals)
It compares, your model to the null version, which has no links,
To ensure, your model fits better, than one you know that stinks,
In the formula, the df track, how many paths you use,
In this way, the more you saturate, the more you lose,
It takes account, com-plex-i-ty, CFI,
You want to get, values above point-9-5,
CFI!
CFI!
(Keyboard/guitar back-and-forth)
[Slow and quiet:
How's your fit?
What indices should you be using now?]
Of sample-size bias, the CFI is relatively free,
As a fit index, it enjoys great popularity,
It’s in programs, such as AMOS, Onyx, and Mplus,
So you can find it, without going through, any fuss,
It takes account, com-plex-i-ty, CFI,
You want to get, values above point-9-5,
It takes account, com-plex-i-ty, CFI,
You want to get, values above point-9-5,
CFI!
CFI!
(More instrumentals)
CFI!
(Guitar solo)
CFI!
CFI!
Dr. Cong (pronounced “Tsong” like tsunami)
Lyrics by Alan Reifman
May be sung to the tune of “Miss Sun” (David Paich, popularized by Boz Scaggs)
Been teaching stats, a long time,
Since you, came from U-S-C,
You’ve taught, lots of students,
In QM 1, and 2, and 3,
Dr. Cong, what can we say?
We wish you, all the best, out at U-T-A,
We hope it isn’t long,
Before our paths, will cross again, in some way,
You’ve served, on our committees,
Methods quals, won’t be the same,
Who’s going to, ask the students,
With a sample, what’s your aim?
Dr. Cong, what can we say?
We wish you, all the best, out at U-T-A,
We hope it isn’t long,
Before our paths, will cross again, in some way (Cross again in some way)
(Guitar solo)
Dr. Cong, what can we say?
You’ve been a, friend of ours, for 10 years, every day,
We hope it isn’t long,
Before our paths, will cross again, in some way,
...In some way...
(Brief interlude)
Dr. Cong, what can we say?
We wish you, all the best, out at U-T-A,
We hope it isn’t long,
Before our paths, will cross again, in some way...
(Instrumentals)
SEM The Musical 11
(Updated May 5, 2017)
The eleventh annual SEM The Musical was held Thursday, May 4, during our class. We had two new songs this year, one by Dr. Reifman and one by student Derrick Holland. Derrick's song keeps our streak alive of having at least one student-written song every year. We also, of course, sang a bunch of favorites from the previous ten musicals (links: 1, 2, 3, 4, 5, 6, 7, 8, 9, 10). See below for this year's new songs...
Why Won’t It Run?
Lyrics by Alan Reifman
May be sung to the tune of “On the Run” (Lukather/Paich/Waybill for Toto)
SEM involves, some complex math,
Before you go, you need to check, you’ve added each path,
Lots of little details, for you to keep in sight,
Formatting the data, and making sure, your syntax is right,
Have you verified, what you’ll fix to one?
Otherwise, your troubles, have just begun,
Why won’t it run, why all these error signs?
Why won’t it run? Only hints, of what could’ve, gone wrong,
Why won’t it run? Check your steps, line-by-line,
You can put, all your angst, into song!
(Instrumental)
You never know, what a new model, can bring,
Punctuation, constraints, it could be anything,
Maybe what you have, is a Heywood Case?
You’ll need a sharp eye, to keep things in place,
Maximum likelihood, seeks a minimum to achieve,
Gonna take a miracle, for you to receive,
Oh, oh, oh, why won’t it run, why won’t the steps converge?
Why won’t it run, are the magnitude scales far apart?
Why won’t it run, when will I be, on the verge?
Doing this, can tax your heart!
(Instrumental and Guitar Solo)
Hungry Like a Low Chi-Square
Lyrics by Derrick Holland
May be sung to the tune of "Hungry Like a Wolf" (Duran Duran)
Open the connection, get ready to run,
Make sure variables, are in a dot-dat file,
Do do do do do do do dodo dododo dodo,
List, all your variables, that you will use,
Make sure all missing variables, are -99*,
Do do do do do do do dodo dododo dodo,
All pathways are free,
Unless you fix a path to 1,
The very end goal,
It’s important you know,
And I'm hungry, like a low chi-square,
Straddle the line,
With comparative models,
I'm on the hunt, for a good CFI,
Check your TLI, and RMSEA,
And I'm hungry, like a low chi-square,
You get an error, so you start to freak out,
Mplus tells you, that variables are not defined,
Do do do do do do do dodo dododo dodo,
You get a low CFI, important paths are behind,
You search in theory, for paths that are not benign,
Do do do do do do do dodo dododo dodo,
All pathways are free,
Unless you fix one path to 1,
The very end goal,
It’s important you know,
And I'm hungry, like a low chi-square,
Straddle the line,
With comparative models,
I'm on the hunt, for a good CFI,
Check your TLI, and RMSEA,
And I'm hungry, like a low chi-square,
Searching for paths,
I break from theory,
I'm on the hunt,
But I won’t get pubbed,
Latent constructs, made up of manifest
And I'm hungry like low chi-squares,
Draw many lines,
If you use ONYX,
I'm on the hunt, for a good CFI,
Check your TLI, and RMSEA,
And I'm hungry, like a low chi-square,
---
*This is a specification in the Mplus program
Partial Least Squares (Small-Sample Alternative to Conventional SEM)
Partial Least Squares (PLS) is a variation on Structural Equation Modeling (SEM). Riou, Guyon, and Falissard (2016) state that, relative to conventional SEM, PLS “is more suitable to … work with smaller sample sizes.” PLS is recommended for exploratory purposes, and is often used with single-indicator constructs. The technique seems to be used predominantly within the field of Management Information Systems (MIS).
Significance testing is done through bootstrapping, with 100 random variations of the original data set being generated and the model rerun in each random data set. An actual path coefficient from one’s model can then be evaluated for extremity, relative to the distribution of the same coefficient estimated 100 times from the bootstrap.
Though PLS may have reputation for making it easier to obtain significant results, this view appears overstated; a simulation study found that “for N = 40, PLS had 3% and 1% higher power than regression for strong and medium effect sizes [and…] the same power as regression at weak effect size” (Goodhue, Lewis, & Thompson, 2006).
Fit indices, such as NFI, CFI, RMSEA, are not available.
WarpPLS (Kock, 2015) is a program I've found useful and that has a three-month free trial version. Note that the probabilities given in WarpPLS output are one-tailed, so that if you want to report two-tailed p-values, you must double the printed value (e.g., p = .02 one-tailed represents p = .04 two-tailed).
Discussion of the pros and cons of PLS, and of the circumstances for which it may -- or may not -- be appropriate, is available in Goodhue, Thompson, and Lewis (2013); Marcoulides, Chin, and Saunders (2009); McIntosh, Edwards, and Antonakis (2014); and other sources. See also this discussion piece by Kock.
References
Goodhue, D., Lewis, W., & Thompson, R. 2006. “PLS, small sample size and statistical power in MIS research,” in Proceedings of the 39th Hawaii International Conference on System Sciences, R. Sprague Jr. (ed.), Los Alamitos, CA: IEEE Computer Society Press. (link)
Goodhue D. L., Thompson R. L., & Lewis W. (2013). Why you shouldn’t use PLS: Four reasons to be uneasy about using PLS in analyzing path models. In 46th Hawaii International Conference on System Sciences (pp. 4739–4748). Wailea, HI: HICSS.
Kock, N. (2015). WarpPLS 5.0 User Manual. Laredo, TX: ScriptWarp Systems. (link)
Marcoulides, G. A., Chin, W. W., & Saunders, C. (2009). A critical look at partial least squares modeling. MIS Quarterly, 33(1), 171-175. (link)
McIntosh, C. N., Edwards, J. R., & Antonakis, J. (2014). Reflections on partial least squares path modeling. Organizational Research Methods, 17, 210-251. (abstract)
Riou, J., Guyon, H., & Falissard, B. (2016). An introduction to the partial least squares approach to structural equation modelling: A method for exploratory psychiatric research. International Journal of Methods in Psychiatric Research, 25, 220-231. Published online first at doi: 10.1002/mpr.1497.
Significance testing is done through bootstrapping, with 100 random variations of the original data set being generated and the model rerun in each random data set. An actual path coefficient from one’s model can then be evaluated for extremity, relative to the distribution of the same coefficient estimated 100 times from the bootstrap.
Though PLS may have reputation for making it easier to obtain significant results, this view appears overstated; a simulation study found that “for N = 40, PLS had 3% and 1% higher power than regression for strong and medium effect sizes [and…] the same power as regression at weak effect size” (Goodhue, Lewis, & Thompson, 2006).
Fit indices, such as NFI, CFI, RMSEA, are not available.
WarpPLS (Kock, 2015) is a program I've found useful and that has a three-month free trial version. Note that the probabilities given in WarpPLS output are one-tailed, so that if you want to report two-tailed p-values, you must double the printed value (e.g., p = .02 one-tailed represents p = .04 two-tailed).
Discussion of the pros and cons of PLS, and of the circumstances for which it may -- or may not -- be appropriate, is available in Goodhue, Thompson, and Lewis (2013); Marcoulides, Chin, and Saunders (2009); McIntosh, Edwards, and Antonakis (2014); and other sources. See also this discussion piece by Kock.
References
Goodhue, D., Lewis, W., & Thompson, R. 2006. “PLS, small sample size and statistical power in MIS research,” in Proceedings of the 39th Hawaii International Conference on System Sciences, R. Sprague Jr. (ed.), Los Alamitos, CA: IEEE Computer Society Press. (link)
Goodhue D. L., Thompson R. L., & Lewis W. (2013). Why you shouldn’t use PLS: Four reasons to be uneasy about using PLS in analyzing path models. In 46th Hawaii International Conference on System Sciences (pp. 4739–4748). Wailea, HI: HICSS.
Kock, N. (2015). WarpPLS 5.0 User Manual. Laredo, TX: ScriptWarp Systems. (link)
Marcoulides, G. A., Chin, W. W., & Saunders, C. (2009). A critical look at partial least squares modeling. MIS Quarterly, 33(1), 171-175. (link)
McIntosh, C. N., Edwards, J. R., & Antonakis, J. (2014). Reflections on partial least squares path modeling. Organizational Research Methods, 17, 210-251. (abstract)
Riou, J., Guyon, H., & Falissard, B. (2016). An introduction to the partial least squares approach to structural equation modelling: A method for exploratory psychiatric research. International Journal of Methods in Psychiatric Research, 25, 220-231. Published online first at doi: 10.1002/mpr.1497.
Reminder of Terminology in an SEM
To the beginning SEM practitioner, terms such as "parameter," "factor loading," and "directional path" may be confusing. Here's a drawing on the whiteboard (with some touch-ups in PowerPoint) to help clarify proper usage. Thanks to the students who photographed the board!
Introduction to ONYX
ONYX is a free SEM package developed in Germany. We will use it for Assignment 1, a CFA on the Hendrick and Hendrick love styles. ONYX is a graphic-arts-based program (like the commercial product AMOS), so your first experience designing a structural equation model will involve what I hope is an intuitive approach of drawing a picture (before we switch to the more technical, but more broadly applicable, Mplus for later assignments). Here are some tips I have come up with for using ONYX, given its differences from other SEM programs:
1. Everything is done through right-clicking to bring up menus.
2. You can use an SPSS data file or a plain-text (tab-delimited) ".dat" file saved from an SPSS data file. The ONYX user manual lists available options for designating missing data. Once you've drawn your model, you can use "Load Data" to connect to the .dat file, yielding what's called a "Data Panel."
3. Use the "Create Variable" option to generate either latent or observed variables.
4. You should name latent variables (in ALL CAPITALS) via the right-clicking. However, but you’ll have to drag in the measured variables from the "Data Panel" to the variables' respective boxes in the model. By hovering over the measured-variable boxes, you can verify that the data have been linked.
5. By right-clicking on top of a variable, you can use the "Add Path" tool (the default is to draw unidirectional "causal" paths, whereas holding down the Shift key while using "Add Path" yields dual-headed correlational arrows).
6. All unstandardized factor loadings start out fixed at 1; you should free all of them (i.e., letting them take on freely estimated values). To identify the model (i.e., make sure you're not estimating more quantities than you have information for), construct variances should be fixed to 1.*
7. The default settings yield an unstandardized solution, whereas usually we're interested in a standardized one. You can obtain a standardized solution by right-clicking on each indicator’s box and selecting “z-score Transform.”
8. Covariances (correlations between factors) are also fixed and should be freed.
9. Unlike other programs, which have you submit a "job" or a "run," ONYX is constantly running in the background and responds to changes you make in model specifications. Right-clicking and selecting “Show Estimate Summary” will show current results.
10. The following article provides a concise summary of ONYX, including the claim that its method of seeking a solution is superior to that of other programs (see Figure 6 and the text beginning on the prior page at "Multiple Optima").
von Oertzen, T., Brandmaier, A. M., & Tsang, S. (2015). Structural equation modeling with Ωnyx, Structural Equation Modeling, 22, 148-161.
---
*Fixing (or constraining) variables and (under)identification are discussed here.
1. Everything is done through right-clicking to bring up menus.
2. You can use an SPSS data file or a plain-text (tab-delimited) ".dat" file saved from an SPSS data file. The ONYX user manual lists available options for designating missing data. Once you've drawn your model, you can use "Load Data" to connect to the .dat file, yielding what's called a "Data Panel."
3. Use the "Create Variable" option to generate either latent or observed variables.
4. You should name latent variables (in ALL CAPITALS) via the right-clicking. However, but you’ll have to drag in the measured variables from the "Data Panel" to the variables' respective boxes in the model. By hovering over the measured-variable boxes, you can verify that the data have been linked.
5. By right-clicking on top of a variable, you can use the "Add Path" tool (the default is to draw unidirectional "causal" paths, whereas holding down the Shift key while using "Add Path" yields dual-headed correlational arrows).
6. All unstandardized factor loadings start out fixed at 1; you should free all of them (i.e., letting them take on freely estimated values). To identify the model (i.e., make sure you're not estimating more quantities than you have information for), construct variances should be fixed to 1.*
7. The default settings yield an unstandardized solution, whereas usually we're interested in a standardized one. You can obtain a standardized solution by right-clicking on each indicator’s box and selecting “z-score Transform.”
8. Covariances (correlations between factors) are also fixed and should be freed.
9. Unlike other programs, which have you submit a "job" or a "run," ONYX is constantly running in the background and responds to changes you make in model specifications. Right-clicking and selecting “Show Estimate Summary” will show current results.
10. The following article provides a concise summary of ONYX, including the claim that its method of seeking a solution is superior to that of other programs (see Figure 6 and the text beginning on the prior page at "Multiple Optima").
von Oertzen, T., Brandmaier, A. M., & Tsang, S. (2015). Structural equation modeling with Ωnyx, Structural Equation Modeling, 22, 148-161.
---
*Fixing (or constraining) variables and (under)identification are discussed here.
SEM The Musical 10
SEM Musical TEN!
Lyrics by Alan Reifman (retread from previous years)
(May be sung to the tune of “Let’s Get it Started,” Will Adams et al. for the Black Eyed Peas)
(Softly) The models keep runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and...
We’re back again, to have some fun,
We’re gonna bust some rhyme, have a good time,
We’re gonna sing some songs, about SEM technique,
Access your inner geek, let your voices speak,
SEM is different, your measurement model’s explicit,
The whole model, gets tested for fit,
Is it identified? We know how hard you’ve tried,
Knowns and unknowns, side by side,
It takes you on a ride, finally you’re satisfied,
Your output’s now just fine, you’ve arrived, you can take pride…
NFI, TLI, CFI,
Calculate estimates, let it run, have some fun, yeah…
SEM Musical (TEN!), SEM Musical (HERE!),
SEM Musical (TEN!), SEM Musical (HERE!),
SEM Musical (TEN!), SEM Musical (HERE!),
SEM Musical (TEN!), SEM Musical (HERE!),
Yeah...
Build your constructs, get this straight,
Make sure the indicators, correlate,
Draw your pathways, residuals too,
Don’t leave out, the fixed 1 value,
Take your time, think it through,
Don’t worry if you’re new, we’ll walk with you,
Step by step, right up the pyramid,
For SEM, we’re really groovin,’
Hope you get an acceptable solution,
Submit your model and get it movin,’
NFI, TLI, CFI,
Calculate estimates, let it run, have some fun, yeah…
SEM Musical (TEN!), SEM Musical (HERE!),
SEM Musical (TEN!), SEM Musical (HERE!),
SEM Musical (TEN!), SEM Musical (HERE!),
SEM Musical (TEN!), SEM Musical (HERE!),
Yeah...
The Part That’s Error-Free
Lyrics by Alan Reifman
(May be sung to the tune of “Biggest Part of Me,” David Pack for Ambrosia)
Boxes, they hold the manifestations,
Bubbles, are error locations,
Constructs, house the shared variation,
They're the part, that’s error-free,
Loadings, show measures, are correlated,
That makes, indicators validated,
Errors, in the bubbles, they are gated,
So constructs, are error-free,
Well...
You remove error,
And the paths, become more true*,
This is such, a key thing,
Latent constructs, do for you,
So draw it now,
Tell measurement error, to shoo.
You can estimate, the paths,
Without error, troubling you,
Sometimes, you have just, total-scale measures,
Of those, certain constructs, that you treasure,
Alpha, gives a way to block displeasure,
Controls, unreliability,
Parcels, a technique, that can’t be plainer,
Items, placed into, random containers,
These sets, can then serve, as indicators,
Constructs now, are error-free,
Well-l-l-l-l...
You remove error,
And the paths, become more true,
This is such, a key thing,
Latent constructs, do for you,
So draw it now,
Tell the measurement error, to shoo,
You can estimate, the paths,
Without error, troubling you,
(Instrumentals)
It’s an SEM hallmark,
Going back to CFA,
It’s a major advantage, of using LV’s,
Not all techniques, give you this,
Measurement error, doesn’t go away,
So use latent constructs, to be error-free,
Be error-free,
Be error-free...
*Stephenson, M. T., & Holbert, R. L. (2003). A Monte Carlo simulation of observable versus latent variable structural equation modeling techniques. Communication Research, 30, 332-354.
See also previous lecture modules here and here.
Those Kinds of Paths (Are Autoregressive)
Lyrics by Alan Reifman
(May be sung to the tune of “Because the Night,” Springsteen/Smith)
Panel models, longitudinally,
Follow the same people, over time,
Each major construct, we include repeatedly,
It gets us the time-ordering, of causality,
So, come on now, no hand-calculated math,
In cross-lagged models, we run paths,
From Construct A at one time, to B at the next,
We also have paths, from the same construct,
Time 1 to Time 2, and Time 2 to Time 3,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Autoregressive paths, play a crucial role,
They control for earlier levels, of a later DV,
So when a cross-lagged path, is significant,
It shows association, beyond stability,
So, come on now, no hand-calculated math,
In cross-lagged models, we run paths,
From Construct A at one time, to B at the next,
We also have paths, from the same construct,
Time 1 to Time 2, and Time 2 to Time 3,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
(Guitar solo)
These kinds, of paths,
Predict, to later versions, of themselves,
Without them, analyses would lack rigor,
So include them...
Time 1 to Time 2, Time 2 to Time 3,
Time 1 to Time 2, Time 2 to Time 3,
Time 1 to Time 2, Time 2 to Time 3,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability,
Those kinds of paths, are auto-regressive,
Those kinds of paths, test stability...
Constructs (Don’t be Afraid of Changing!)
Lyrics by Diane Wittie
(May be sung to the tune of “Landslide,” Stevie Nicks)
Gathered the data, and they abound,
I cleaned them up, then I went to town,
And I saw some variables, that looked interesting,
And now my sleep, would be sound,
Oh, yes I can begin, naming latent constructs,
But will those, constructs make any sense?
Will they adequately represent,
What I envision?
Can I implement, my central concepts?
Uh-hum, I do think so,
Well, don’t be, afraid of changing,
’Cause your constructs, need to make sense,
Think through, your decisions,
You may need, revisions,
Don't do anything, you'll rue,
(Brief guitar)
So, don’t be, afraid of changing,
’Cause your constructs, need to make sense,
Think through, your decisions,
You may need, revisions,
Don't do anything, you'll rue,
To your theory, be true,
So, analyze your data, see what you've found,
Your model, may earn great renown!
If you see factor loadings, at plus or minus .4,
Well maybe, high points you will score,
If you see structural paths, that are significant,
Yes, high points, you will score!
Mediational Models
(Updated April 2, 2024)
Many SEM-based studies examine mediation between variables. To mediate is to go in the middle, like a negotiation mediator comes between the labor union and management.
In statistical analysis, we often start out with a relationship between two variables. Using an example from one of my grad-school mentors, Patricia Gurin, cigarette smoking and lung cancer are positively associated.
Why does this relationship exist? A more fine-grained understanding would be that smoking leads to lung tissue damage, and tissue damage leads to cancer. Tissue damage would thus be considered the mediator or mechanism.
Reuben Baron and David Kenny published an article in 1986 on mediation that has been cited over 126,000 times (as of April 2024)! Kenny summarizes the process in a nutshell here. In the following figure, I apply Baron and Kenny's "old school" method to Gurin's example. Note that one would run the model twice.
(Illustration of Baron and Kenny's [1986] logic. Example from Patricia Gurin, University of Michigan, circa 2002-2003, link)
Many SEM-based studies examine mediation between variables. To mediate is to go in the middle, like a negotiation mediator comes between the labor union and management.
In statistical analysis, we often start out with a relationship between two variables. Using an example from one of my grad-school mentors, Patricia Gurin, cigarette smoking and lung cancer are positively associated.
Cigarette Smoking ==> Lung Cancer
Why does this relationship exist? A more fine-grained understanding would be that smoking leads to lung tissue damage, and tissue damage leads to cancer. Tissue damage would thus be considered the mediator or mechanism.
Cigarette Smoking ==> Tissue Damage ==> Lung Cancer
Reuben Baron and David Kenny published an article in 1986 on mediation that has been cited over 126,000 times (as of April 2024)! Kenny summarizes the process in a nutshell here. In the following figure, I apply Baron and Kenny's "old school" method to Gurin's example. Note that one would run the model twice.
(Illustration of Baron and Kenny's [1986] logic. Example from Patricia Gurin, University of Michigan, circa 2002-2003, link)
This worksheet from Jason Newsom contains a nice four-step chart for implementing Baron and Kenny's framework for mediation.
The above diagram presents the scenario of full mediation (i.e., the initially significant direct path from antecedent to outcome becomes nonsignificant). One can then say that the mediator accounts fully for the antecedent-outcome relationship. If the initial direct path from antecedent to outcome remains significant after addition of the two mediational paths, but the initial direct path is reduced in magnitude, one can claim partial mediation (see Huselid and Cooper, 1994, "Gender roles as mediators of sex differences in expressions of pathology").
(As noted above, my perspective is that the antecedent and outcome should first be shown to relate significantly, before one pursues the further steps to test mediation. For an opposing view, that a significant antecedent-outcome path should not be a "gatekeeper" for mediation analyses, see here.)
As Kenny writes on his website, "More contemporary analyses focus on the indirect effect." The leading names associated with contemporary mediational analysis are Andrew Hayes and Kristopher Preacher, who indeed emphasize indirect effects. The indirect effect can be calculated by multiplying the standardized paths from antecedent to mediator, and from mediator to outcome (think back to our unit on path-analysis tracing rules).
The indirect effect is .15 in the above example. If each of the two segments of the indirect effect (A to M, and M to O) is each statisically significant (i.e., different from zero), we would be confident that the indirect effect also is significant. As Hayes (2009, "Beyond Baron and Kenny: Statistical mediation analysis in the new millennium") notes, however, "it is possible for an indirect effect to be detectably different from zero even though one of its constituent paths is not." What is called for is a significance test of the indirect effect of .15 (or whatever value one has).
The problem is that there is no existing theoretical distribution such as the z, t, F, or chi-square distribution to judge the statistical significance of an indirect effect (i.e., whether or not one's obtained indirect effect falls in the upper or lower 2.5% of the distribution for a two-tailed p < .05 significance level). Therefore, researchers use a "synthetic" statistical distribution for testing the significance of indirect effects, known as a "bootstrap" distribution. Kenny discusses this on his website and it is also illustrated in slide 6 of this slideshow. In 2022, my colleague Sylvia Niehuis and I published an encyclopedia entry on bootstrapping, which can be obtained via ResearchGate.
Yzerbyt, V., Muller, D., Batailler, C., & Judd, C. M. (2018). New recommendations for testing indirect effects in mediational models: The need to report and test component paths. Journal of Personality and Social Psychology, 115, 929–943.
The above diagram presents the scenario of full mediation (i.e., the initially significant direct path from antecedent to outcome becomes nonsignificant). One can then say that the mediator accounts fully for the antecedent-outcome relationship. If the initial direct path from antecedent to outcome remains significant after addition of the two mediational paths, but the initial direct path is reduced in magnitude, one can claim partial mediation (see Huselid and Cooper, 1994, "Gender roles as mediators of sex differences in expressions of pathology").
(As noted above, my perspective is that the antecedent and outcome should first be shown to relate significantly, before one pursues the further steps to test mediation. For an opposing view, that a significant antecedent-outcome path should not be a "gatekeeper" for mediation analyses, see here.)
As Kenny writes on his website, "More contemporary analyses focus on the indirect effect." The leading names associated with contemporary mediational analysis are Andrew Hayes and Kristopher Preacher, who indeed emphasize indirect effects. The indirect effect can be calculated by multiplying the standardized paths from antecedent to mediator, and from mediator to outcome (think back to our unit on path-analysis tracing rules).
The indirect effect is .15 in the above example. If each of the two segments of the indirect effect (A to M, and M to O) is each statisically significant (i.e., different from zero), we would be confident that the indirect effect also is significant. As Hayes (2009, "Beyond Baron and Kenny: Statistical mediation analysis in the new millennium") notes, however, "it is possible for an indirect effect to be detectably different from zero even though one of its constituent paths is not." What is called for is a significance test of the indirect effect of .15 (or whatever value one has).
The problem is that there is no existing theoretical distribution such as the z, t, F, or chi-square distribution to judge the statistical significance of an indirect effect (i.e., whether or not one's obtained indirect effect falls in the upper or lower 2.5% of the distribution for a two-tailed p < .05 significance level). Therefore, researchers use a "synthetic" statistical distribution for testing the significance of indirect effects, known as a "bootstrap" distribution. Kenny discusses this on his website and it is also illustrated in slide 6 of this slideshow. In 2022, my colleague Sylvia Niehuis and I published an encyclopedia entry on bootstrapping, which can be obtained via ResearchGate.
So where do things stand in the field regarding the "classic" Baron and Kenny approach (with its emphasis on the significance of different paths) vs. the "modern" Hayes and Preacher approach (with its focus on the significance of the indirect pathway from antecedent to mediator to outcome)? As the above quote from Kenny suggests, the Hayes/Preacher method predominates in the field, with some commentators seemingly thinking the Baron/Kenny framework is as outmoded as viewing movies through VHS tapes or using a rotary phone.
The Hayes/Preacher method is not without its skeptics, however. Vincent Yzerbyt and colleagues point out that, under certain circumstances, the overall indirect effect can be significant even when only one of the components (antecedent-to-mediator or mediator-to-outcome) is large. Further, they recommend that, "Claims of mediation should properly be guided by
the component approach and be based on joint-significance tests [i.e., showing that the antecedent-to-mediator and mediator-to-outcome paths are both significant] to
avoid spurious mediation claims" (p. 941).
For an earlier illustration of how one might draw on both the classic and modern approaches to mediation, please see the following:
Niehuis, S., Reifman, A., Fischer, J. L., & Lee, K.-H. (2016). Do episodic self- and partner-uncertainty mediate the association between attachment orientations and emotional responses to relationship-threatening events in dating couples? Cognition and Emotion, 30, 1232–1245.
One sometimes posits multiple mediators in a model. For an illustration of what are known as parallel mediation (i.e., the mediators have no causal relations amongst themselves) and serial mediation (i.e., one mediator causes another mediator and so on, in a sequence), see:
Guthrie Yarwood, M. F. (2013).The relationship between love styles and digital dating outcomes: A multiple mediation test of the Perceived Importance of Dating Features Scale. Dissertation, Texas Tech University (LINK). See especially pp. 56-62.
An additional source for studying mediation in SEM is:
Li, S. (2011). Testing mediation using multiple regression and structural modeling analyses in secondary data. Evaluation Review, 35, 240-268.
Guthrie Yarwood, M. F. (2013).The relationship between love styles and digital dating outcomes: A multiple mediation test of the Perceived Importance of Dating Features Scale. Dissertation, Texas Tech University (LINK). See especially pp. 56-62.
SEM The Musical 9
Our ninth annual SEM The Musical was held on April 30, 2015. We performed some new songs this year, as shown below. We also performed songs from previous SEM Musicals (links: 1, 2, 3, 4, 5, 6, 7, 8).
SEM Musical NINE!
Lyrics by Alan Reifman (retread from previous years)
(May be sung to the tune of “Let’s Get it Started,” Will Adams et al. for the Black Eyed Peas)
(Softly) The models keep runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and runnin-runnin, and...
We’re back again, to have some fun,
We’re gonna bust some rhyme, have a good time,
We’re gonna sing some songs, about SEM technique,
Access your inner geek, let your voices speak,
SEM is different, your measurement model’s explicit,
The whole model, gets tested for fit,
Is it identified? We know how hard you’ve tried,
Knowns and unknowns, side by side,
It takes you on a ride, finally you’re satisfied,
Your output’s now just fine, you’ve arrived, you can take pride…
NFI, TLI, CFI,
Calculate estimates, let it run, have some fun, yeah…
SEM Musical (NINE!), SEM Musical (HERE!),
SEM Musical (NINE!), SEM Musical (HERE!),
SEM Musical (NINE!), SEM Musical (HERE!),
SEM Musical (NINE!), SEM Musical (HERE!),
Yeah,
Build your constructs, get this straight,
Make sure the indicators, correlate,
Draw your pathways, residuals too,
Don’t leave out, the fixed 1 value,
Take your time, think it through,
Don’t worry if you’re new, we’ll walk with you,
Step by step, right up the pyramid,
For SEM, we’re really groovin,’
Hope you get an acceptable solution,
Submit your model and get it movin,’
NFI, TLI, CFI,
Calculate estimates, let it run, have some fun, yeah…
SEM Musical (NINE!), SEM Musical (HERE!),
SEM Musical (NINE!), SEM Musical (HERE!),
SEM Musical (NINE!), SEM Musical (HERE!),
SEM Musical (NINE!), SEM Musical (HERE!),
Yeah…
Let's Run the S-E-M
Lyrics by Tobi Ruwase
(May be sung to the tune of "Let's Call the Whole Thing Off," George & Ira Gershwin)
We have finally, come to the end,
Of Dr. Alan Reifman’s class,
QM 1 to 4 have taken two years,
From correlation to regression,
Goodness knows, what the end will be,
As we prep, for our exams,
It’s time for us, to go down memory lane... (slight pause)
Some things, that we’ve learnt:
We need constructs and we need items,
We need items, for each of our constructs,
Constructs and items, items and constructs,
Let’s run the SEM,
Open the data, run your bivariates,
Check for loadings, higher than the cut-off,
Correlations! Loadings! Inform your decisions,
Let’s run the SEM,
But oh! If we run the SEM (slow),
There may be a glitch,
And oh! If we get a glitch,
Then AMOS would not run,
So, we’ve got correlations, we proceed to AMOS,
Select the data file, from SPSS,
Click on OK, now we’ve got our data,
Now we run SEM,
Oh! Let’s run the SEM,
We call it, the BAM TOOL!!!
In the AMOS toolbar,
It draws your constructs, and then your items,
Constructs and items, items and constructs,
Let’s run the SEM,
Using your cursor, for two types of arrows,
Uni-directed or two-headed arrows,
Construct to items, Oh, structural paths,
Let’s run the SEM,
But oh! If we run the SEM,
There may be a glitch,
And oh! If we get a glitch,
Then AMOS would not run,
So label your constructs, don’t forget items,
Time to run the AMOS, don’t forget properties,
Means and intercepts, for the missing data,
Now we run SEM,
Oh! Lets’ run the SEM,
We need construct and we need items,
We need items, for each of our constructs,
Constructs and items, items and constructs,
Let’s run the SEM,
Open the data, run your bivariates,
Check for loadings, higher than the cut-off,
Correlations! Loadings! Inform your decisions,
Let’s run the SEM,
But oh! If we run the SEM,
There may be a glitch,
And oh! If we get a glitch,
Then AMOS would not run,
So, we’ve got correlations, we proceed to AMOS,
Click on OK, now we’ve got our data,
Now we run SEM,
Oh! Let’s run the SEM,
Let’s run the SEMMMMMMMMMMMM........
The AMOS Structural Equation Modeling program has a lot of graphical features, which the beginning SEM student must adjust to. Let's do an earlier song ("Once You Work in AMOS") on the topic before our new one.
Click, Hold, and Drag
Lyrics by Alan Reifman, inspired by Tobi Ruwase
(May be sung to the tune of "Jump, Jive, and Wail," Louis Prima, popularized in recent decades by the Brian Setzer Orchestra)
Video of this song being performed.
Tobi, Tobi, drew a big model, on her pad,
Tobi, Tobi, drew a big model, on her pad,
When you learn AMOS,
You gotta make the paths, zig and zag,
Oh, you gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag away...
(Saxophone solo)
All these shapes, with a label, she's got to tag,
All these shapes, with a label, she's got to tag,
With the variable names,
From SPSS, in the bag,
Oh, you gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag away...
(Guitar solo)
A model is a model, and an AMOS error, is a nag,
A model is a model, and an AMOS error, is a nag,
You gotta draw things right,
So other statisticians, will not rag,
Let's make sure, her drawing work, doesn't lag,
Let's make sure, her drawing work, doesn't lag,
So that she can get,
Her model to run, without a snag,
Oh, you gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag away...
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag away...
Oh, you gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag,
You gotta click and hold, then you drag away...
You gotta click and hold...
You gotta click and hold...
You gotta click and hold...
(Guitar flourish)
Common Model Mistakes
Lyrics by Alan Reifman
(May be sung to the tune of "My Favorite Mistake," Crow/Trott)
Performance videos of this song from SEM The Musical 9 and 10.
Omitting, residual bubbles,
Will surely, get you in trouble,
When AMOS gives your model, a run,
Deleting a, fixed-one loading,
Should trigger a sense, of foreboding,
The error messages, are no fun,
You should know, as you go,
When you're, just beginning,
These are some of, the more subtle errors,
You should know, as you go,
These are, common mistakes,
(Instrumental)
Misnaming, your indicators,
Will bring an, emotional nadir,
You'll have to find out, just where you failed,
Grouping scales, with low correlation,
Your constructs, will bring frustration,
Check Pearson r's, and then you'll sail,
You should know, as you go,
When you're, just beginning,
These are some of, the more subtle errors,
You should know, as you go,
These are common mistakes,
These are common mistakes,
(Bridge)
Well, SEM is, quite technical,
Little things, will send a ripple,
If you get, an error message,
Look at the, above suggestions,
They should help you, find your way,
(Instrumental)
Keep in mind, you will find,
These aren't, the only ones,
That you'll encounter,
Other things, can go wrong,
Keep your concentration, high,
These mistakes, can make you cry,
These are common mistakes,
These are common mistakes,
These are common mistakes...
Fit It
Lyrics by Brandon Logan
(May be sung to the tune of "Whip It," G. Casale/M. Mothersbaugh for Devo)
Performance video.
Check that fit,
Really question it,
Pick out a stat,
Take a look at that,
When a matrix, comes along,
You must fit it,
To prove that, the model’s strong,
You must fit it,
When something’s going wrong,
You must fit it,
Now fit it,
N-F-I,
Get it high,
Com-par...
...i-tive or,
Absolute,
Try to increase it,
The C-F-I,
Go fit it,
Fit it good,
Minimum is not achieved,
You won’t fit it,
Constraints to be released,
So you can fit it,
This must be policed,
For you can fit it,
I say fit it,
Fit it good,
I say fit it,
Fit it good,
(Interlude)
Check that fit,
Really question it,
Pick out a stat,
Take a look at that,
When a matrix comes along,
You must fit it,
To prove that, the model’s strong,
You must fit it,
When something’s going wrong,
You must fit it,
Now fit it,
N-F-I,
Get it high,
Com-par...
...i-tive or,
Absolute,
Try to increase it,
The C-F-I...
Now fit it,
N-F-I,
Get it high,
Com-par...
...i-tive or,
Absolute,
Try to increase it,
The C-F-I
Go fit it,
Oh, fit it good!
We'll now perform some "classics" and, finally, our traditional closing number: Parsi-Mony
SEM The Musical 8
UPDATE: Our eighth annual SEM The Musical was held on April 29, 2014. We had three new songs this year, which are shown below. We also performed some songs from previous SEM Musicals (links: 1, 2, 3, 4, 5, 6, 7).
Ivette Noriega, sporting her homemade Daft Punk helmet, and Dr. Reifman perform "Saturated Your Model." You may click on the photo to enlarge it.
Saturated Your Model (example)
Lyrics by Ivette Noriega and Alan Reifman
(May be sung to the tune of “Get Lucky,” Bangalter/de Homem-Christo/Williams/Rodgers)
Performance videos of this song from SEM The Musical 9 and 10.
In the world, of SEM graphs,
All the paths, have beginnings,
It keeps, statisticians spinning (uh-huh),
AMOS will be helping,
(Look)
You've, gone too far,
You’ve linked all, paths there are,
None you’ve left out,
Einstein’s quote, did you flout?
Fit indices are at 1,
Degrees of freedom are none,
You’ve got to know, what you’ve done,
You’ve saturated your model!
Fit indices are at 1,
Degrees of freedom are none,
You’ve got to know, what you’ve done,
You’ve saturated your model!
You’ve saturated your model,
You’ve saturated your model,
You’ve saturated your model,
You’ve saturated your model,
(Instrumental)
S-E-M, has no limits,
Your theory, is depicted,
What is it, you’re testing?
Parsimony says, leave out paths (uh-huh),
You've, gone too far,
You’ve linked all, paths there are,
None you’ve left out,
Einstein’s quote, did you flout?
Fit indices are at 1,
Degrees of freedom are none,
You’ve got to know, what you’ve done,
You’ve saturated your model!
Fit indices are at 1,
Degrees of freedom are none,
You’ve got to know what you’ve done,
You’ve saturated your model!
You’ve saturated your model,
You’ve saturated your model,
You’ve saturated your model,
You’ve saturated your model,
(Voice-synthesizer in background, shown in red)
Fit indices are at 1,
Fit indices are at 1,
Fit indices are at 1,
Fit indices are at 1
Fit indices are at 1 (all of them),
Fit indices are at 1 (it's hard to interpret),
Fit indices are at 1,
Fit indices are at 1,
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You've, gone too far,
You’ve linked all, paths there are,
None you’ve left out,
Einstein’s quote, did you flout?
Fit indices are at 1,
Degrees of freedom are none,
You’ve got to know, what you’ve done,
You’ve saturated your model!
Fit indices are at 1,
Degrees of freedom are none,
You’ve got to know, what you’ve done,
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model!
You’ve saturated your model...
***
The "Spice Guys," Nicholas (Hairy Spice) and Alan (Veggie Spice), perform "If You Wanna Join My Construct."
If You Wanna Join My Construct (You've Got to Load with My Friends)
Lyrics by Nicholas Johnston and Alan Reifman
May be sung to the tune of “Wannabe” (Spice Girls/Rowe/Stannard)
Performance video of this song from SEM The Musical 9 and 10.
Yo, I’ll tell you what to draw, what you really need to draw,
So, tell me what to draw, what I really need to draw,
I’ll tell you what to draw, what you really need to draw,
So, tell me what to draw, what I really need to draw,
I need a circle, need a box, I need a circle, need a box...,
Really, really, really, really, really, need a box,
If you like my construct, then load significantly,
If you wanna join me, minimize residuality,
Now don't go wasting, iterations,
Get your r's together, we could load just fine,
I’ll tell you what to draw, what you really need to draw,
So, tell me what to draw, what I really need to draw,
I need a circle, need a box, I need a circle, need a box...,
Really, really, really, really, really, need a box,
If you want to join my construct, you gotta load with my friends,
Sharing variation, on that constructs depend,
If you want to join my construct, you have got to show,
High r’s with the other, manifests, you know,
What do you think about that, now that you know the deal?
Say you fit my construct, is your manifest for real?
Got a small residual, I'll give you a try,
If the construct won't account for your variance, then I'll say goodbye,
Yo, I’ll tell you what to draw, what you really need to draw,
So, tell me what to draw, what I really need to draw,
I need a circle, need a box, I need a circle, need a box...,
Really, really, really, really, really, need a box,
If you want to join my construct, you gotta load with my friends,
Sharing variation, on that constructs depend,
If you want to join my construct, you have got to show,
High r’s with the other, manifests, you know,
So here's a story, from r to p,
You wanna get with me, you gotta load significantly,
We got CFA tests in place, and coefficients to taste,
You then see, on your screen, which V loads, on the C,
All your V's, you can see, reflect variance, manifestly,
And if you please, you'll see...
Get your constructs drawn, and run your model now,
Get your constructs drawn, and run your model now,
If you want to join my construct, you gotta load with my friends,
Sharing variation, on that constructs depend,
If you want to join my construct, you have got to show,
High r’s with the other, manifests, you know,
If you want to join my construct...
You gotta, you gotta, you gotta, you gotta, you gotta, load, load, load, load....
Get your constructs drawn and run your model now,
Get your constructs drawn and run your model now (uh, uh, uh, uh...).
Get your constructs drawn and run your model now,
Get your constructs drawn zigazig-ah,
If you want to join my construct...
Non-Exchangeable
Lyrics by Alan Reifman
May be sung to the tune of “Unforgettable” (Irving Gordon; popularized by Nat King Cole)
Non-exchangeable,
Some dyads’ fate,
They’re arrange-able,
By role, or trait,
Such as hetero, spouses or steadies,
Teacher-student pairs, boss and employees,
(Slow) These are studied,
From a distinguishable, view,
But, exchangeable,
Are some, you see,
It’s not absolute,
Who’s A, and B,
Friends, or twins, or old college roommates,
Same-sex spouses, or pairs who go on dates,
More complex stats,
Will be needed, for you...
[Interlude -- Instrumental and vocal improvisation]
Non-exchangeable,
Some dyads’ fate,
They’re arrange-able,
By role, or trait,
Other pairs are, interchangeable,
Their data are, re-arrangeable,
So their, APIM models,
Are harder, to do...
Thanks to Satabdi and Rebecca for the photos!
SEM The Musical 7
SEM The Musical 7 is now complete. New songs for this year are listed below, along with photos from some of the performances. Thanks to Hannah Korkow, Andrea Parker, Nancy Trevino Schafer, and Paulina Velez for the pictures. Links to the songs from our previous musicals are as follows: 1, 2, 3, 4, 5, 6.
The Road to S-E-M
Lyrics by Alan Reifman
May be sung to the tune of “Shambala” (Daniel Moore, popularized by Three Dog Night)
Factor analysis, and how to correlate,
On the road to S-E-M,
Need to know regression, and draw paths so straight,
On the road to S-E-M,
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
Run your S-E-M,
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
Run your S-E-M,
You’ll draw little boxes, and these larger hoops,
On the road to S-E-M,
You’ll run panel models, and multiple groups,
On the road to S-E-M,
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
Run your S-E-M,
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
Run your S-E-M,
What... is your NFI,
Once you’ve run, your S-E-M?
What... is your TLI,
Once you’ve run, your S-E-M?
(Brief guitar solo)
The measurement model, that’s a CFA,
On the road to S-E-M,
There’s the structural part, paths that flow one way,
On the road to S-E-M,
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
Run your S-E-M,
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
Run your S-E-M,
What... is, Hoelter’s CN,
Once you’ve run, your S-E-M?
What... is your CFI,
Once you’ve run, your S-E-M?
And, chi-square to df,
Once you’ve run, your S-E-M?
And, RM-SEA,
Once you’ve run, your S-E-M?
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
Run your S-E-M,
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
On the road to S-E-M,
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
On... the... road...
Ooh-ooh-hoo, ooh-ooh-ooh, yeah...
On the road to S-E-M...
(More guitar)
His right hand a blur, Dr. Reifman shows off some of his air-guitar technique.
---
Why Don’t You Run a Set of Nested Models?
Lyrics by Alan Reifman
(May be sung to the tune of [I Don’t Know Why You Don’t Take Me] Downtown; Laird/McAnally/Hemby; popularized by Lady Antebellum)
Well, I was trying to get a model going,
Staring at AMOS, bright on my screen,
I tried to think, but not really knowing,
Had a few pathways,
But really now, what does it mean?
Knew a scale, which could be a mediator,
Could draw paths, right through X-Y-Z,
Inside my mind, I became a debater,
Should I model cause-to-effect, directly?
But then... a low voice, said to me:
“Why don’t you run, a set of nested models?
Why don’t you run, a test, to check and see,
If the new paths, lower the chi-square?
I mean, significant-ly?”
“It is a very simple, calculation,
Subtract the smaller, from the larger chi-square,
Then you compare results, to a table,
And that’s how you, test nested models, if you dare,
Oh-oh-oh, if you dare...”
I want to keep my, number of paths low,
To follow notions, of parsimony,
Einstein said to keep, scientific theories,
As simple as they, can possibly be,
But no simpler!
And here... comes that voice...
“Why don’t you run, a set of nested models?
Why don’t you run, a test, to check and see,
If the new paths, lower the chi-square?
I mean, significant-ly?”
“It is a very simple, calculation,
Subtract the smaller, from the larger chi-square,
Then you compare results, to a table,
And that’s how you, test nested models, if you dare...”
(Guitar solos)
“Why don’t you run, a set of nested models?
Why don’t you run, a test, to check and see,
If the new paths, lower the chi-square?
I mean, significant-ly?”
“It is a very simple, calculation,
Subtract the smaller, from the larger chi-square,
Then you compare results, to a table,
And that’s how you, test nested models, if you dare,
Oh-oh-oh, if you dare...”
“Yeah, why don’t you run a set of nested models?”
OK, I’ll run a set of nested models...
(Music fades out)
Now I get it...
Violeta Kadieva, the first student ever to write two songs for a single musical (see next two songs).
Trouble When I Ran You
Lyrics by Violeta Kadieva
(May be sung to the tune of “I Knew You Were Trouble,” Swift/Martin/Shellback)
I discovered how, to draw AMOS models,
And I was having fun, getting it to run,
It dawned on me, it dawned on me, it dawned on me…. (ee-ee-ee-ee-ee)
I had to run a, new measurement model,
I used AMOS, to fit hypothesized paths,
And draw the diagram, draw the diagram, draw the diagrammmm (ee-ee-ee-ee-ee)
And I raaannnn the modeelll, with all the vaaaariables,
And I also included, the factor indicators there,
And I knew you were trouble when I ran you,
So shame on me that,
I did not draw, another alternative model,
To check if it, could be a better fit,
And I knew you were trouble when I ran you,
So shame on me that,
I did not draw another, alternative model,
Noooow I am so wondering about it,
Runs? No! Trouble, trouble, trouble,
Runs? No! Trouble, trouble, trouble,
So what can I do? Let’s run another one,
Explore another one, by adding other paths,
And check if it's a better one, it's a better one, and improves the model (ee-ee-ee-ee-ee)
I checked the chi squares, with and without new paths,
So, the model changed degrees, the delta of the change is,
We'll just have to see, we'll just have to see, we'll just have to see (ee-ee-ee-ee-ee),
The chi squaaaare table, showwwwed signiiiificant improvement,
And I realized having more paths, improves the model signiiificantly,
I knew you were trouble when I ran you,
So shame on me that,
I did not draw another alternative model,
To check if it could be a better fit,
And I knew you were trouble when I ran you,
So shame on me that,
I did not draw any equivalent models,
Now I am so wondering about it,
Runs? No! Trouble, trouble, trouble,
Runs? No! Trouble, trouble, trouble,
So when the model, is improved significantly,
By costing us only, a few degrees of freedom,
And lowering the chi square significantly,
We have to accept the alternative model as a better model to use,
Yes exactlyyy…
(Lengthy sound-effects riff)
I knew you were trouble when I ran you,
So shame on me that,
I did not draw another alternative model,
To check if it could be a better fit,
I knew you were trouble when I ran you,
So shame on me that,
I did not draw any equivalent models either,
Now I am so wondering about it,
Runs? No! Trouble, trouble, trouble,
Runs? No! Trouble, trouble, trouble,
I knew you were trouble when I ran you,
Trouble, trouble, trouble,
I knew you were trouble when I ran you,
Trouble, trouble, trouble...
Lyrics by Violeta Kadieva (performance accompanied by Esperanza Bregendahl, right)
(May be sung to the tune of "Terrified," DioGuardi/Reeves, popularized by Katharine
McPhee)
You, AMOS stats,
Are the greatest... find,
In the world, of software,
You're the S-E-M package...
Did not make it, with my loadings, to the standard,
Of the point-4 magnitude...
I ran it again, with a new notion,
Each iteration, sends my heart, like a shooting star,
I'm looking at, the weak connections,
But I think that, I might not be too far...
And I-I-I-I-I...
And I-I-I-I-I... I'm terrified…
For the first time, and hopefully the last time,
In S-E-M life (ummm-mmm)
This, could be good,
I'm ready to update, my diagram,
And nothing's worse,
Than not seeking..., a novel path,
And this could be, all that I need,
Maybe if I try...
My revised model, is now in motion,
Each iteration, seems likes it getting near,
I'm looking at, much stronger loadings,
Looking at the fit, I now cheer!
And I-I-I-I-I... ,
And I-I-I-I-I... I'm still terrified,
For the first time and hopefully the last time
In S-E-M… life,
I only, just looked, at the Root Mean Square*,
And the Root Mean Square's, below oh-5,
So don't you doubt, what I've been running,
To point-9, the fit indices are close,
As a modeler, I feel alive...
I checked it again, looked at the fit measures,
Each iteration, is giving a small chi-square,
And its ratio, to degrees of freedom's, not even 3,
And I-I-I-I-I... I did it,
And I am not terrified anymore,
For the first time and hopefully the last time,
In S-E-M… life…life…life,
S-E-M life...[*Root Mean Square Error of Approximation, more commonly known as the RMSEA.]
The next song, "Nice Nice Beta," was performed by Lisa Merchant (left, with brass knuckles spelling out "AMOS"), Kaitlin Leckie (with the Beta necklace), and I-Shan Yang (not pictured)
Nice Nice Beta
Lyrics by Kaitlin Leckie,
(May be sung to the tune of "Ice Ice Baby," Vanilla Ice/Earthquake/M. Smooth; based on earlier song "Under Pressure," Queen [Deacon/May/Mercury/Taylor] and Bowie)
Yo SEM let’s run it
(Hook) Nice nice Beta
Nice nice Beta
All right stop.
Correlate and regress them, SEM is back with a brand new edition,
Something grabs a hold of me tightly, could be a residual influence slightly,
Will it be significant? I don't know,
Minimum achieved? Fo sho'!
To the output, I must get a handle, Maximum Likelihood estimate? Full.
Husband and wife, data distinguished,
Exchangeable? Plan is extinguished,
Who checks Betas? Should be everybody,
Anything less than .20, is a felony,
Means and intercepts, with missing, estimate,
Better hit the minimum, the model won’t wait,
If there was an error, yo I’ll will solve it,
Check out the model, while AMOS resolves it
(Hook) Nice nice Beta,
Nice nice Beta,
.20 is a nice nice Beta,
.20 is a nice nice Beta,
Now that the arrows are jumping, the constructs kicked in,
The indicators are pumping, stats to the point,
To the point of no faking, cooking up models, like a pound of bacon,
Burning them if you ain’t thorough and nimble,
I go crazy when I see a Greek symbol,
And a dataset with the groups all stacked,
I’m on a roll and it’s time to see impact,
AMOS version 21-point-0,
With estimates on, so missings won’t blow,
Means on standby, waiting just to say hi,
Did you stop? No I just standardized,
Kept on pursuing the solution, find it relates but no causal attribution,
Effects immense, yo so I determined it’s Actor Partner Interdependence,
Results so hot they’re creatin’ haters,
Research hovers on single-level data,
Jealous ‘cause my model’s lookin’ fine,
TLI with nine-five; CFI with point-nine,
How’s that for goodness of fit?
The haters acting ill, because the model’s such a hit*,
Factor loadings, rang out like a bell,
Check my indicators-all I see is swell,
Following the constructs real fast,
Judged by the indicators-shows that they’ll last,
Factor to factor the model’s packed,
I’m trying to determine if the model lacks,
Effects on the actors and partners you see,
Daring dyadic data analyses,
If there was an error, yo I’ll solve it,
Check out the model, while AMOS resolves it
Nice Nice Beta,
.20 is a nice nice Beta (repeat)
*[One could substitute "hot sh--," but we're a family-oriented group!]
Fit & Fine
Lyrics by Andrea Parker, Anuradha Sastry, and Paulina Velez
(May be sung to the tune of “Suit & Tie,” Timberlake/Mosley/Carter/Harmon/Fauntleroy/Stubbs/Wilson/Still; performed by Justin Timberlake, featuring Jay Z)
Checking on the CFI, TLI, NFI,
Checking on the CFI, TLI, NFI,
Can I show you a few things?
A few things, a few things, how the model fits,
Checking on the CFI, TLI, NFI,
Checking on the CFI, TLI, NFI,
Let me show you a few things, Let me show you a few things,
Are you ready Reifman?
[Verse 1]
I can't wait, till I get to run my model in AMOS,
Got a large data set, just like a census,
I cleaned up the data and I just have to run them,
Hope it fits fine, cause it's all mine,
Hey baby, I have three latent constructs,
If the loadings are above 0.4,
We might learn something,
Hoping that the minimum is achieved when we run it,
Fits so fine, tonight,
[Hook]
And as long as I've got my CFI,
I'mma move on to the NFI,
And they are both above 0.9,
This might be a good fit,
TLI is also high,
RMSEA as low as Kenny likes,
Fit is tested in AMOS, tonight,
Let me show you a few things,
Let me show you a few things,
Show you a few things about fit,
While we’re running a model,
This is a good fit,
Show you a few things about fit,
Hey,
[Verse 2]
Stop, let me get a good look at Hoelter’s,
Ohhh so neat, now I know why Berndt likes it,
Ohhh chi-square is big and might make it rubbish,
But that's alright, cause the rest are fine,
Ohhh go on and celebrate with a party,
I guess friends are mad, cause they wish they had it,
Uuuu my model, the fittest, yeah you're a classic,
And you're all mine tonight,
[Hook]
And as long as I've got my CFI,
I'mma move on to the NFI,
And they are both above 0.9,
This might be a good fit,
TLI is also high,
RMSEA as low as Kenny likes,
Fit is tested in AMOS tonight,
Let me show you a few things,
Let me show you a few things,
Show you a few things about fit,
While we’re running a model,
This is a good fit,
Show you a few things about fit...
Subscribe to:
Comments (Atom)


















