How to test reliability and validity in lavaan

545 views
Skip to first unread message

diya roy

unread,
Mar 6, 2018, 8:05:45 PM3/6/18
to lavaan
Hi All,

Can you kindly provide a right documentation to test  reliability and validity in lavaan pkg? The help will be much appreciated.

I am getting the following error for reliability

 lavaan::reliability(fit1)
Error: 'reliability' is not an exported object from 'namespace:lavaan'

diya roy

unread,
Mar 6, 2018, 8:14:02 PM3/6/18
to lavaan
From Sarah's post I fixed the reliability issue ; But how to calculate discriminant validity and AVE values

> library(semTools)
 
###############################################################################
This is semTools 0.4-14
All users of R (or SEM) are invited to submit functions or ideas for functions.
###############################################################################
>  reliability(fit1)
              BE        BA       BAS        PQ         L       INF         C
alpha  0.8299210 0.8465757 0.9026134 0.9000699 0.8467476 0.7586469 0.8941912
omega  0.8346394 0.8547796 0.9169856 0.8987356 0.8509502 0.7803572 0.9009663
omega2 0.8346394 0.8547796 0.9169856 0.8987356 0.8509502 0.7803572 0.9009663
omega3 0.8606124 0.8545139 0.8991377 0.8681249 0.8256715 0.7517767 0.9007113
avevar 0.5592227 0.6023336 0.7032611 0.6908633 0.6606102 0.5593193 0.5759856
           total
alpha  0.9514748
omega  0.9697596
omega2 0.9697596
omega3 0.9436236
avevar 0.6298823

diya roy

unread,
Mar 6, 2018, 9:45:13 PM3/6/18
to lavaan
Also how to calculate critical ratio directly in lavan for CFA or SEM?

Terrence Jorgensen

unread,
Mar 7, 2018, 6:45:59 AM3/7/18
to lavaan
From Sarah's post I fixed the reliability issue ; But how to calculate discriminant validity and AVE values

AVE is in the bottom row of the semTools::reliability() output:

>  reliability(fit1)
              BE        BA       BAS        PQ         L       INF         C
alpha  0.8299210 0.8465757 0.9026134 0.9000699 0.8467476 0.7586469 0.8941912
omega  0.8346394 0.8547796 0.9169856 0.8987356 0.8509502 0.7803572 0.9009663
omega2 0.8346394 0.8547796 0.9169856 0.8987356 0.8509502 0.7803572 0.9009663
omega3 0.8606124 0.8545139 0.8991377 0.8681249 0.8256715 0.7517767 0.9007113
avevar 0.5592227 0.6023336 0.7032611 0.6908633 0.6606102 0.5593193 0.5759856

Discriminant validity is not a statistic, it is a concept.  The idea is that you want to make sure your construct is related to other constructs as you would expect (convergent validity; e.g., in the Big 5, Extraversion is positively correlated with Openness to Experience), but the constructs are not so correlated that they are redundant (divergent validity: the Extraversion--Openness correlation is small to moderate at best, so the items are not measuring the same construct).

Terrence D. Jorgensen
Postdoctoral Researcher, Methods and Statistics
Research Institute for Child Development and Education, the University of Amsterdam

diya roy

unread,
Mar 7, 2018, 8:13:57 AM3/7/18
to lav...@googlegroups.com
Terrence,

Thanks a bunch. I was wondering if I can create the correlation and sqrt(AVE) matrix in one go. Anyways I have done it manually.


Thanks & regards,
Diya Guha Roy

PhD Research Scholar



--
You received this message because you are subscribed to a topic in the Google Groups "lavaan" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/lavaan/oSswMgN2bCE/unsubscribe.
To unsubscribe from this group and all its topics, send an email to lavaan+unsubscribe@googlegroups.com.
To post to this group, send email to lav...@googlegroups.com.
Visit this group at https://groups.google.com/group/lavaan.
For more options, visit https://groups.google.com/d/optout.

Reply all
Reply to author
Forward
0 new messages