Skip to content

Commit

Permalink
20240929 - fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
isaactpetersen committed Sep 30, 2024
1 parent f6ebfd0 commit bfdd1b5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions 08-Structural-Equation-Modeling.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ formativeModel3_syntax <- '
formative =~ NA*v1 + l11*v1+ l21*v2 + 1*v3 + l41*v4
# Label the variance of the formative composite
# Label the variance of the formative composite
formative ~~ varformative*formative
Expand Down Expand Up @@ -608,8 +608,8 @@ formativeModel3_syntax <- '
# Calculate the unstandardized weights to form the formative latent variable
w1 := (-l32 + l22*l33 + l34*l42 - l22*l34*l43)/(
1 - l11*l32 - l21*l33 + l11*l22*l33 - l34*l41 + l11*l34*l42 +
w1 := (-l32 + l22*l33 + l34*l42 - l22*l34*l43)/(1 -
l11*l32 - l21*l33 + l11*l22*l33 - l34*l41 + l11*l34*l42 +
l21* l34* l43 - l11* l22* l34* l43)
w2 := (-l33 + l34*l43)/(1 - l11*l32 - l21*l33 +
l11*l22*l33 - l34*l41 + l11*l34*l42 + l21*l34*l43 - l11*l22*l34*l43)
Expand Down

0 comments on commit bfdd1b5

Please sign in to comment.