Let's say we would work with this simplified path model.
lavaan -> '
# measurement model
A =~ ItemA + ItemB + ItemC
B =~ ItemD + ItemE + ItemF
C =~ ItemG + ItemH + ItemI
# path model
A ~ B + C'
How would I then test that B and C do not have a quadratic relationship with A.
Would the following be correct? I square the items of B and C and store them under new variable names ("sqr") in my dataset. And include them in my model as follows.
lavaan ->'
# measurement model
A =~ ItemA + ItemB + ItemC
B =~ ItemD + ItemE + ItemF
C =~ ItemG + ItemH + ItemI
B_sqr =~ ItemD_sqr + ItemE_sqr + ItemF_sqr
C_sqr =~ ItemG_sqr + ItemH_sqr + ItemI_sqr
# path model
A ~ B + B_sqr + C + C_sqr'
Then I look to see if R-squared gets higher by adding the quadratic terms and see if the quadratic parameters become significant.
Or would the following option also work:
lavaan ->'
# measurement model
A =~ ItemA + ItemB + ItemC
B =~ ItemD + ItemE + ItemF
C =~ ItemG + ItemH + ItemI
# path model
A ~ B + I(B^2) + C + I(C^2)'
Or is the I operator only applicable in lm objects?
What do you think about all this?