Thank you very much Yves!

I have managed to get the total indirect effects that i wanted but it seems
to only work on the unstandardized coefficients. I use "standardized =TRUE"
in the "summary" command but the "std.all" column has the same values as
the "Estimate" (unstandardized) column for the new parameters defined by
the ":=" operator. All other parameters i.e. using "~" have been
standardized.

How do i go about calculating the indirect effects based on standardized
coefficients?

Thanks again,

Marios

On 22 February 2013 10:02, yrosseel <yrosseel@gmail.com> wrote:

> On 02/21/2013 03:59 PM, Marios wrote:
>
>> My question.......I would like to calculate the total indirect effects of
>> all variables on the right-hand-side of the regression eqn's so that i can
>> work out the total effect (indirect effects + direct effect)
>>
>> I know the direct effect and i can calculate the total indirect effects by
>> hand but i was wondering if there is a function that can calculate this?
>>
>
> 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/<http://www.jstatsoft.org/v48/i02/>)
> section 7.4 for an example.
>
> Yves.
>
> ______________________________**________________
> R-help@r-project.org mailing list
> https://stat.ethz.ch/mailman/**listinfo/r-help<https://stat.ethz.ch/mailman/listinfo/r-help>
> PLEASE do read the posting guide http://www.R-project.org/**
> posting-guide.html <http://www.R-project.org/posting-guide.html>
> and provide commented, minimal, self-contained, reproducible code.
>

	[[alternative HTML version deleted]]

