Skip to content

Commit

Permalink
20231117 - fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
isaactpetersen committed Nov 17, 2023
1 parent 1af8596 commit 0aa2b14
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion 08-Structural-Equation-Modeling.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -691,7 +691,7 @@ formativeModel4_syntax <- '
w4 := -((l12)*((l23)*((l34)))) / ((l11)*((1)*((1)*((1)))) + -(l21)*((l12)*((1)*((1)))) + (1)*((l12)*((l23)*((1)))) + -(l41)*((l12)*((l23)*((l34)))))
# Calculate the variances
varv1 := ((1) * (varformative)) * (1) + ((l11) * (varnu1)) * (l11)
varv1 := ((l11) * (varformative)) * (l11) + ((l12) * (varnu1)) * (l12)
varv2 := ((l21) * (varformative)) * (l21) + ((1) * (varnu1) + (l23) * (cov12)) * (1) + ((1) * (cov12) + (l23) * (varnu2)) * (l23)
varv3 := ((1) * (varformative)) * (1) + ((1) * (varnu2) + (l34) * (cov23)) * (1) + ((1) * (cov23) + (l34) * (varnu3)) * (l34)
varv4 := ((l41) * (varformative)) * (l41) + ((1) * (varnu3)) * (1)
Expand Down

0 comments on commit 0aa2b14

Please sign in to comment.