Skip to content
Prev 307215 / 398503 Next

two indirect effects of path analysis

On 10/07/2012 02:17 AM, Elaine Kuo wrote:
You need to write down all the regressions that are involved in your 
model. For each 'dependent' variable, there is a regression formula:

model <- '
Y ~ X + Z + M
M ~ X + Z
'

Optionally, you can label the parameters, and define some indirect effects:

model <- '
Y ~ c1*X + c2*Z + b*M
M ~ a1*X + a2*Z

ab1 := a1*b
ab2 := a2*b

totalx := ab1 + c1
totalz := ab2 + c2
'

Hope this helps,

Yves.