JASP 0.14 Tutorial: Confirmatory Factor Analysis (CFA) (Episode 30)

  Рет қаралды 18,222

Alexander Swan, Ph.D.

Alexander Swan, Ph.D.

3 жыл бұрын

EDIT/CORRECTION: There's an error in my description of the chi-square model fit outcome. I state that it is good that the p-value is very small and reflects a good model fit. As mentioned by a keen viewer, this chi-square application is the opposite for other NHST outcomes. Here, a significant chi-square actually represents a bad model fit. Essentially, you want a big p-value for this test. HOWEVER, chi-square tests are impacted poorly by large samples, so they tend to end up small with an N = 300+, which is general convention for Factor Analyses for sample size.
In this JASP tutorial, I go through a Confirmatory Factor Analysis example, exploring the stats and their meaning/interpretation.
UCLA Stats Dept lavaan R package tutorial & data: stats.idre.ucla.edu/r/seminar...
JASP: jasp-stats.org
NOTE: This tutorial uses the new preview/beta build of 0.14.1. This build contains slightly more functions/features than the previous builds used for tutorials on this channel, but it is functionally the same for the purposes of this tutorial.
Find me on Twitter: / profaswan
Go to my website: swanpsych.com
Twitch streams on psych & related topics: / cogpsychprof
Discuss this video and others on my Discord channel: / discord

Пікірлер: 46
@MsAkarum
@MsAkarum 2 жыл бұрын
A very useful explanation indeed. Thank you!
@TheMachoBurrito
@TheMachoBurrito 2 жыл бұрын
simply taught, awesome, thank you
@wnykanskabsi
@wnykanskabsi Жыл бұрын
this is the best vid, thanks
@JamesSmith-kk1yc
@JamesSmith-kk1yc Жыл бұрын
Hello Alexander, It is my understanding that the chi-square in SEM tests the null hypothesis that the predicted model and observed data are the same. You typically want your predictions to match the actual data (covariance-variance matrix) as closely as possible. Therefore, you t want to reject this null hypothesis, and a nonsignificant result for this test indicates the model fits the data well. Please correct me if I'm wrong.
@AlexanderSwan
@AlexanderSwan Жыл бұрын
No, you are correct. This is probably a place where NHST gets confusing and recording multiple videos got the best of me, since the opposite is mostly true everywhere else. I will put a disclaimer for the mistake in the description.
@charlesanda4232
@charlesanda4232 2 жыл бұрын
I had to play this at speed X 0.75
@AlexanderSwan
@AlexanderSwan 2 жыл бұрын
That's a great idea!
@gkhnkrcn
@gkhnkrcn 2 жыл бұрын
I thought the video was left on x1.25 until I saw your comment :)
@pavlojaviel
@pavlojaviel 7 ай бұрын
Thank you for the video, very helpful. Do you know if in JASP it is possible to correct the sample (by weighting cases) when running a CFA?
@AlexanderSwan
@AlexanderSwan 7 ай бұрын
This tutorial is older now, and they may have added it to the CFA in the past couple of years -- check out 0.18 :)
@sunriseatpalamos2009
@sunriseatpalamos2009 Жыл бұрын
Hi Alexander. Thanks for the very informative video. However, could you please specify in the video description to what moment in the video you are referring, when you are saying that there is an error? It would help me a lot (I confess, I am a disaster at stats! :) )
@AlexanderSwan
@AlexanderSwan Жыл бұрын
What error am I referring to? An error I made or an error the analysis I made?
@yonathangoei9276
@yonathangoei9276 3 жыл бұрын
Thank you very much. would appreciate if you could make a video on measurement invariance
@AlexanderSwan
@AlexanderSwan 3 жыл бұрын
Explain a little more what you're after? CFA isn't my strongest technique
@yonathangoei9276
@yonathangoei9276 3 жыл бұрын
@@AlexanderSwan Thank you very much for your prompt response and I am so sorry for my late response. What I meant was how to perform measurement invariance for different groups (different age groups, gender, etc). Usually MI was performed after CFA. Thanks again
@user-sd5vi5vm9f
@user-sd5vi5vm9f 10 ай бұрын
Hi thanks for your video very helpful but I have additional questions about JASP. How could you calculate composite reliability, convergent, and discriminant validity in JASP?
@AlexanderSwan
@AlexanderSwan 10 ай бұрын
CFA can help you with all three. But you can do correlation analyses to get this kind of validity as well. Validity is method-agnostic, because regardless of what an analysis tells you, you still have to logic the accuracy piece that validity reflects.
@alialfaraj5360
@alialfaraj5360 11 ай бұрын
God bless you
@chios1976
@chios1976 2 жыл бұрын
Dear Alexander, thank you so much for this wonderful presantation but I have question about, first of all path diagram on CFA. I apply your directions but my diagram is so close I cannot read values. The second is can we make arrangements on path diagram? Last is how can I apply modification process? May you show us or I need your help. Thanks...
@AlexanderSwan
@AlexanderSwan 2 жыл бұрын
The path diagram in the app is fixed. You can make it bigger or smaller, but you can't really choose how it looks other than that. My recommendation is to either make your own in PPT/Google Slides/Keynote or pop the code you have for the CFA into R and make the path diagram using ggplot2 package. If you're not familiar with that, I would do the first option.
@chios1976
@chios1976 2 жыл бұрын
@@AlexanderSwan Thank you so much for your reply.
@andreabou-zeid162
@andreabou-zeid162 Жыл бұрын
What is the difference between the baseline model and factor model in the model fit table? :-)
@AlexanderSwan
@AlexanderSwan Жыл бұрын
The baseline model does not incorporate your factor model into the chi-square. So it's essentially everything (i.e., all the items) all at once.
@agathasitinjak72
@agathasitinjak72 6 ай бұрын
Every time i put my aitem to the factor, there's always eror on it. What should i do to fix it?
@AlexanderSwan
@AlexanderSwan 6 ай бұрын
I’m not following the reason for the error. Could you ask your question with more specific information?
@francosotero5396
@francosotero5396 7 ай бұрын
It´s sad doing a CFA with 43 items and not be able to edit the plot to extend or reorganice. Im aware of exporting and editing in PPT but its a hell just to distribute the columns and rows :( Hope they add the GGplot package for this specific problem :D
@AlexanderSwan
@AlexanderSwan 7 ай бұрын
Absolutely understand what you are saying! Hope they do too
@taakotuesday
@taakotuesday 2 жыл бұрын
This video is sped up for some reason. It sounds perfect at .75 speed
@AlexanderSwan
@AlexanderSwan 2 жыл бұрын
I speak very slowly & that doesn't work well on a platform like YT. So I speed up the video to make it shorter and more snappy. I'm glad .75 works great for you!
@uponthestars1
@uponthestars1 Жыл бұрын
how do we distinguish which items go into Factor 1 or Factor 2?
@AlexanderSwan
@AlexanderSwan Жыл бұрын
Those are the loadings for each factor. The output should group the items that go into each factor for you. Higher loading values (closer to 1, with your cut off being somewhere around .4), indicate that an item fits better with one facto over the other.
@cataphilus
@cataphilus Жыл бұрын
if the data is ordinal, any recommendation to do CFA. because on jasp the lavaan will be error
@AlexanderSwan
@AlexanderSwan Жыл бұрын
Check out Jamovi instead. There may be additional options in packages that JASP doesn’t offer as of now. Overall, the problem with ordinal data and CFA is that these tests use covariance matrices, and so if you don’t have a defined interval structure in your data, linear algebra can’t move forward
@cataphilus
@cataphilus Жыл бұрын
@@AlexanderSwan thank you sir
@castkovi
@castkovi Жыл бұрын
If you have ordinal data, you still need to change the column type from ordinal to scale as Alexander does. In case your scale is less than 5 point scale, you should change in Advanced the estimator to WLS. Simulations showed that 5 point scale or longer are better off with ML estimator. This video gave me hard time because of the chi-square low p-value... Also, it would be good to address different "not that ideal situations" and what to do...
@BA-fy8kt
@BA-fy8kt Жыл бұрын
What about conducting second order CFT with one higher factor
@AlexanderSwan
@AlexanderSwan Жыл бұрын
I don’t think so
@georgiosvleioras3336
@georgiosvleioras3336 2 жыл бұрын
Thank you for the explanation! You speak a bit fast, for non-statisticians, though...
@salustianojrmacatangay1322
@salustianojrmacatangay1322 2 жыл бұрын
set it to .75x speed
@georgiosvleioras3336
@georgiosvleioras3336 2 жыл бұрын
@@salustianojrmacatangay1322 Thanks!
@peteradu5103
@peteradu5103 2 жыл бұрын
Can I accept this model as fitting with the significant chi square ?
@AlexanderSwan
@AlexanderSwan 2 жыл бұрын
You can, but it's only one piece. I recommend using RMSEA too
@JamesSmith-kk1yc
@JamesSmith-kk1yc Жыл бұрын
I don't think the analysis in this video is correct. In this application, the chi-square tests the null hypothesis that the predicted model and observed data are the same. You typically want your predictions to match the actual data (covariance-variance matrix) as closely as possible. Therefore, you do not want to reject this null hypothesis, and a nonsignificant result for this test indicates a good model fit
@AlexanderSwan
@AlexanderSwan Жыл бұрын
@@JamesSmith-kk1yc The "stated" analysis in the video for the chi-square is not correct (I say low p-value is good, but I got mixed up with other NHST outcomes, because it is kinda bad). The other fit indices are decent, however. I would consider those more than the chi-square, because the chi-square has a huge limitation when it comes to sample sizes (imo -- I think you want large Ns, like 300+ for a CFA). Check out Alavi et al. 2020 for more info, as they explain that chi-square can show a misfit (a small p-value) on large samples.
@mag07ee
@mag07ee 2 жыл бұрын
Why can't I change it to scale?
@AlexanderSwan
@AlexanderSwan 2 жыл бұрын
Any text in a column will prevent the switch
JASP 0.14 Tutorial: Complex Mediation Models (Episode 31)
14:43
Alexander Swan, Ph.D.
Рет қаралды 2,6 М.
Confirmatory factor analysis (CFA) using jamovi (August 2023)
45:53
🌊Насколько Глубокий Океан ? #shorts
00:42
Каха ограбил банк
01:00
К-Media
Рет қаралды 11 МЛН
JASP 0.13.1 Tutorial: Exploratory Factor Analysis (EFA) (Episode 20)
14:32
Alexander Swan, Ph.D.
Рет қаралды 18 М.
JASP - Structural Equation Modeling
30:42
Statistics of DOOM
Рет қаралды 18 М.
Confirmatory Factor Analysis
38:31
David Caughlin
Рет қаралды 2,4 М.
Confirmatory factor analysis using Stata (2023)
37:26
Mike Crowson
Рет қаралды 9 М.
Conceptual example of confirmatory factor analysis
12:50
Mikko Rönkkö
Рет қаралды 1,9 М.
What is Confirmatory Factor Analysis?
26:02
QuantFish
Рет қаралды 2,1 М.
Testing a second order CFA model using AMOS (v2)
28:47
Mike Crowson
Рет қаралды 27 М.
🌊Насколько Глубокий Океан ? #shorts
00:42