Skip to content

total indirect effects in structural equation modeling using lavaan

5 messages · Marios, yrosseel

#
On 02/21/2013 03:59 PM, Marios wrote:
In the current version of lavaan (0.5-11), there is no function that 
will compute all possible indirect/total effects automatically.

What you can do is to label the coefficients, and then use the ':=' 
operator to define the total/indirect effects that you are interested 
in. Next, you could use se="boot" to get a bootstrap based SE.

See the lavaan paper (http://www.jstatsoft.org/v48/i02/) section 7.4 for 
an example.

Yves.
#
On 02/22/2013 11:40 AM, Marios wrote:
You need to install 0.5-12, where the newly 'defined' parameters 
(defined by the ":=" operator) are standardized too (just like the other 
parameters). This version is not on CRAN yet, but you can install it by 
typing in R:

install.packages("lavaan", repos="http://www.da.ugent.be", type="source")

Yves.