Skip to content

Commit a3c8691

Browse files
20240929 - fix error
1 parent 4630cd1 commit a3c8691

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

08-Structural-Equation-Modeling.Rmd

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -560,7 +560,7 @@ formativeModel3_syntax <- '
560560
561561
formative =~ NA*v1 + l11*v1+ l21*v2 + 1*v3 + l41*v4
562562
563-
# Label the variance of the formative composite
563+
# Label the variance of the formative composite
564564
565565
formative ~~ varformative*formative
566566
@@ -608,8 +608,8 @@ formativeModel3_syntax <- '
608608
609609
# Calculate the unstandardized weights to form the formative latent variable
610610
611-
w1 := (-l32 + l22*l33 + l34*l42 - l22*l34*l43)/(
612-
1 - l11*l32 - l21*l33 + l11*l22*l33 - l34*l41 + l11*l34*l42 +
611+
w1 := (-l32 + l22*l33 + l34*l42 - l22*l34*l43)/(1 -
612+
l11*l32 - l21*l33 + l11*l22*l33 - l34*l41 + l11*l34*l42 +
613613
l21* l34* l43 - l11* l22* l34* l43)
614614
w2 := (-l33 + l34*l43)/(1 - l11*l32 - l21*l33 +
615615
l11*l22*l33 - l34*l41 + l11*l34*l42 + l21*l34*l43 - l11*l22*l34*l43)

0 commit comments

Comments
 (0)